docxy 1.0 · Windows · Linux · macOS · MIT

An office suite for Word documents, Excel workbooks, project schedules and PDFs.

A desktop app, terminal apps and editor extensions, built on small engines with no third-party dependencies. The editors save losslessly: what one doesn't model is written back byte for byte.

Download docxy 1.0 Source on GitHub

The docxy suite with a Word document open, beside a workbook and a project schedule in tabs

The desktop suite

The docxy suite is one window with a tab per open file: .docx, .xlsx, Microsoft Project schedules and .pdf side by side, with a ribbon, a File backstage and light and dark themes, on Windows, Linux and macOS. Each tab gets the ribbon its kind needs.

Word documents

Home, Insert, Design, Layout, Mailings, Review and View. Text, styles, lists, tables, pictures, headers and footers, sections and columns, fields, comments and tracked changes (accept, reject, Compare). Mail merge from a CSV list, Print Layout and Web Layout, and Word's dark mode for the page.

Workbooks

Home, Insert, Page Layout, Formulas, Data, Review and View, over gridcore's recalculation engine: dynamic arrays and LAMBDA, pivot tables, charts, conditional formats, data validation, sort and filter, and sheet protection.

Projects

Microsoft Project's Task, Resource, Report, Project and View tabs, over a Gantt chart that reschedules on every edit: Critical Path Method, resource leveling, baselines. Task Information and the timescale and zoom dialogs work as in Project.

PDFs

The pages as they look. Follow links, read comments and fill in forms, then save, print or export them. Convert to editable document turns a PDF into a Word document, keeping the layout.

A workbook in the docxy suite
A workbook
A project schedule with its Gantt chart in the docxy suite
A project schedule and its Gantt chart

Every tab

A File backstage (New, Open, Info, Save As, Export, Account, Options); a PDF tab has that ribbon tab only. Document, workbook and project tabs also have a Help tab (F1, also on a hovered ribbon command), undo and redo, find, and copy and paste in the formats other apps use (RTF and HTML). A tab can be torn off into a window of its own. The theme is light, dark or follows the system.

File formats

  • Documents open .docx .docm .dotx .dotm, .doc, .rtf, .md, .html and .mht; they save .docx, .md, .html, .rtf, .txt and export to PDF.
  • Workbooks: .xlsx .xlsm .xltx .xltm, and export to PDF.
  • Projects: .yppx, MSPDI .xml, .mpx, and .mpp as a read-only import.
  • PDFs: form values saved as an incremental update, pages as PNG.

Terminal apps

The terminal apps run where a desktop doesn't: over SSH, in tmux, in an editor's shell. Each has the same ribbon and File backstage drawn in characters, mouse support, a light and a dark theme, and a Help tab (F1).

Terminal docxy editing a Word document

docxy

Word documents and Markdown

Edits .docx and Markdown in a character grid: a faithful, readable view of the document, saved losslessly. Styles, lists, tables with merged cells, headers and footers, sections, a page view, find and replace; tracked-change review, Compare and mail merge. Markdown's $…$ math becomes Word equations and mermaid blocks become Word drawings, and both convert back. Pictures are real pixels in terminals with the kitty, iTerm2 or Sixel protocol. PDFs open read-only, drawn by docxy-pdf. Right-to-left text is laid out in visual order. Vim mode: --vim.

docxy report.docx               # open a Word document (or .md, .pdf)
docxy                           # start screen: a new .docx/.md, or open one
docxy in.docx --pdf  out.pdf    # headless: export to PDF (embeds system fonts)
docxy in.docx --md   out.md     # convert Word → Markdown
docxy in.md   --docx out.docx   # convert Markdown → Word
docxy in.docx --html in.docx.html                 # editable HTML
docxy compare orig.docx rev.docx -o diff.docx     # tracked-changes comparison
docxy merge main.docx list.csv -o letters.docx    # mail merge, one copy per row

Every key, and the design: ARCHITECTURE.md.

xlsxy

spreadsheets

Edits .xlsx workbooks over gridcore: a dependency graph over about 170 Excel functions with Excel's semantics; defined names, structured table references and 3D references; dynamic arrays that spill, and LAMBDA; pivot-table refresh and editing, and a data model with relationships. Inserting and deleting rows rewrites every formula and chart reference. .xls opens in Compatibility Mode and saves back; .xlsb and .ods are imported.

xlsxy book.xlsx                   # open a workbook (also .xls, .xlsb, .ods, .csv)
xlsxy book.xlsx --read-only       # (-r) never write the file
xlsxy in.xlsx --recalc out.xlsx   # headless: recalculate everything and save
xlsxy in.xlsx --csv out.csv       # headless: the active sheet as CSV
xlsxy corpus/xlsx/*.xlsx --verify # conformance: recalculate and diff against the cached values

The engine and its conformance scoreboard: SPREADSHEET.md.

yppxy

project schedules

Edits Microsoft Project schedules (MSPDI .xml, the native .yppx package) as a task outline beside a terminal Gantt chart. It schedules with projcore's Critical Path Method engine (calendars, links with lag, constraints, slack and the critical path) and levels resources. Binary .mpp files are imported read-only.

yppxy plan.xml                                 # open MSPDI XML or a .yppx package
yppxy plan.yppx --gantt-md out.md              # headless: a Markdown/Mermaid Gantt chart
yppxy plan.xml  --report-md late-tasks out.md  # headless: a View Report
yppxy plan.xml  --save out.yppx                # headless: convert to .yppx

Its keys, the scheduling engine and the formats: PROJECT.md.

lookxy

Outlook and Exchange mail

A three-pane mail client (folders, message list, reading pane) for Exchange Online over Microsoft Graph: browser sign-in with PKCE, so no password reaches lookxy; a local store with full-text search; background sync, with every change written locally first so the screen never waits for the network; the calendar, attachments, and agent control.

lookxy

Sign-in, keys and the security model: LOOKXY.md.

IDE extensions

Both extensions offer their open tabs to agents on the same control surface as the terminal apps.

VS Code

.docx and .xlsx open in an editor tab, on the same engines compiled to WebAssembly. They follow the editor's font and colour theme, with VS Code's own undo, dirty state and hot exit. A .pdf opens read-only. See VSCODE.md.

JetBrains IDEs

IntelliJ platform 2024.2+. The same wasm engines run on the JVM through Chicory, with no webview: a .docx opens in a native editor and an .xlsx in a native grid. See offxy-jetbrains.

And more

Agents over MCP

The running suite serves its open tabs to an agent over MCP: the suite's executable with --mcp is the stdio server. A tool edits through the same code paths as the ribbon, so each edit shows at once and is one step on the tab's undo stack. File › Options › General › Allow control by agents turns it off. See docs/suite-control.md.

Editable HTML

docxy doc.docx --html doc.docx.html writes one HTML file that is a docxy editor offline in any browser, with the suite's ribbon and page view. It holds the original .docx and the engine, and makes no network requests. Save in the browser writes the edits back.

Office COM shims

Windows COM servers that answer as Word.Application and Excel.Application. Software that automates Office to write a .docx or .xlsx keeps working on a machine without Office. They register per user.

Zero-dependency engines

The engines are pure std Rust, with no third-party crates, so they can be audited, embedded and compiled to WebAssembly: opccore (ZIP, DEFLATE, XML, OLE2), docxcore, gridcore, projcore, mppread, htmlbundle, helpdocs and buildinfo.

Download docxy 1.0

Every file is on the v1.0.0 release (release notes). Each comes with a .sha256 checksum, except the two IDE extensions. The terminal apps' single files also have a keyless cosign signature from the release workflow (.sig and its certificate .pem) and a GitHub build-provenance attestation.

The installers are not yet code-signed. Verify a download as below, or as SIGNING.md describes.

Windows x86_64

Suite installer (.exe)

Linux x86_64

Suite (.tar.gz)

A desktop launcher and icon come from packaging/linux. Install the fonts below so documents break lines where Word does.

macOS (Apple silicon)

Suite (.dmg)

IDE extensions

VS Code (.vsix)

How to install them is below.

Verify a download

Check the checksum against the .sha256 beside the file, and for a terminal app's single file, its build-provenance attestation with the GitHub CLI:

sha256sum -c docxy-linux-x86_64.sha256                    # Linux
shasum -a 256 -c docxy-macos-aarch64.sha256               # macOS
Get-FileHash .\docxy-windows-x86_64.exe -Algorithm SHA256 # Windows: compare with the .sha256
gh attestation verify docxy-linux-x86_64 --repo yeroo/docxy

Install

Fonts on Linux

Install the fonts metric-compatible with Office's (Calibri, Cambria, Arial, Times New Roman, Courier New), so documents break lines where Word does:

sudo apt install fonts-crosextra-carlito fonts-crosextra-caladea fonts-liberation

IDE extensions

VS Code:

code --install-extension offxy-1.0.0.vsix

JetBrains IDEs: Settings › Plugins › Install Plugin from Disk, and pick offxy-jetbrains-1.0.0.zip.

From source with cargo

yppxy and lookxy ship as source only. Each terminal app installs from the repository:

cargo install --locked --git https://github.com/yeroo/docxy docxy
cargo install --locked --git https://github.com/yeroo/docxy xlsxy
cargo install --locked --git https://github.com/yeroo/docxy yppxy
cargo install --locked --git https://github.com/yeroo/docxy lookxy

This docxy has no docxy-pdf beside it, so it shows a PDF's text only: take docxy-pdf from the release and save it as docxy-pdf (docxy-pdf.exe on Windows) next to docxy or on your PATH, or point DOCXY_PDF at it, whatever its name. The suite can't be installed with cargo install; to build it, see Building from source.

An agent on the suite

Register the suite's executable as an MCP server, for example with Claude Code:

claude mcp add suite -- <suite executable> --mcp

The executable is suite.exe on Windows, docxy-suite/docxy-suite in the Linux tarball, docxy.app/Contents/MacOS/suite on macOS, and suite in a build from source.

Documentation