{"slug": "show-hn-grind-my-opendocument-native-office-suite-built-in-rust", "title": "Show HN: Grind, my OpenDocument native office suite built in Rust", "summary": "A developer released Grind, an OpenDocument-native office suite written entirely in Rust and 100% authored by AI agents, with clients for Linux, Windows, Mac, the browser via WebAssembly, a TUI and a CLI. Grind deliberately avoids any cross-platform toolkit, existing as a proof that \"AI Agents enable a new way of building software, native for each platform,\" and offers a plain-text projection of its OpenDocument format so spreadsheet cells and formulas can be reviewed and audited in git. The project has been in development for a few months and its author says it is used regularly and is \"quite mature at this point in time.", "body_md": "grind is an office suite written from scratch. It is 100% written using AI agents. Uses OpenDocument (odf) as its native format.\n\nI'm a software developer and a long-time Linux user. I love and appreciate the free and open source software ecosystem, and I've made an effort not to be trapped in non-free file formats for a long time.\n\nBut I've also gotten frustrated with the LibreOffice user experience. Don't get me wrong, the project has done so much for the free desktop, and it is great software that solves real problems. But the UX shows its age, and the community overall seems not to welcome change. I can never remember how to make Excel-like tables in Calc, and that is not my fault, this is a common operation that should be simple, but Calc makes it hard for some reason.\n\nI know, many people will close this repo once they discover it is 'slop'. I don't want to argue if AI agents can possibly be used in ethical ways, but this human written readme should tell you something: This is a passion project. I would not have the time and energy to do this in any different way, an office suite is just way too complex for that.\n\nThis project has been in development for a few months now and the author is using it on a regular basis. I consider it quite mature at this point in time. I'd love to hear some feedback.\n\nDownload the [latest release from github](https://github.com/fwilhe2/grind/releases/latest).\n\nThis project has clients for Linux, Windows, Mac, the Browser (using WebAssembly), a TUI and a CLI. It does purposefully not use any cross-platform toolkit, it exists as a proof of an idea: AI Agents enable a new way of building software, native for each platform. This was possible before but almost no one did it for economic reasons. Not enough benefit for the cost. With AI Agents, this calculation changes.\n\nThis readme is fully human written. Source code, docs in the `docs` directory and all other content are AI authored.\n\nIn spreadsheets, it is often not obvious which cells contain data and which contain code (formulas). Authors may decide to use styles to signal this, but that is not more than a convention. Grind has a plain-text projection of its OpenDocument format which make it simple to review and audit spreadsheets.\n\nHere is an example:\n\n```\ngrind spreadsheet\n\n// A spreadsheet written by hand — the starter `grind init --template sheet` writes.\n//\n// This file *is* the spreadsheet, in the form that lives in git: every cell is a line, so a\n// change is a line of diff. Open it in grind's window, or turn it into a file LibreOffice opens.\n\n// A name makes a formula say what it means. Names are the document's, so they sit outside\n// every sheet.\nname monthly \"[$Costs.$B$2:.$B$4]\"\n\nsheet Costs {\n    col 1 width=\"4cm\"\n\n    // `at` says where a grid of plain values starts; each `row` is one line of the sheet.\n    at A1 {\n        row Item       Monthly  Yearly\n        row Rent       1450     #null\n        row Utilities  180.5    #null\n        row Internet   49.99    #null\n    }\n\n    // A `cell` is one cell that carries more than a value — here a formula, and no answer.\n    cell C2 \"=[.B2]*12\"\n    cell C3 \"=[.B3]*12\"\n    cell C4 \"=[.B4]*12\"\n    cell A5 Total\n    cell B5 \"=SUM(monthly)\"\n    cell C5 \"=SUM([.C2:.C4])\"\n\n    style A1:C1 bold=#true background=silver\n    style A5:C5 bold=#true\n    format B2:C5 currency decimals=2 symbol=\"$\"\n}\n```\n\nGrind can show spreadsheet formulas in a way that is more self documenting compared to other spreadsheet software.\n\nSo, instead of `=FV(Loan.B7/12;10*12;-Loan.B6)`\n\ngrind will show you this:\n\n```\nFuture Value(\n  Rate: Loan.B7/12,\n  Number Of Periods: 10*12,\n  Payment: -Loan.B6\n)\n```\n\nBased on [rhai](https://rhai.rs/), an embedded scripting language you can generate spreadsheets based on dynamic data without the need for a Turing complete language. Grind does not have any macro support and never will, but many macro use-cases might be replaced with rhai scripts.\n\nExample:\n\n```\n// A script is a sequence of statements, and **its value is the value of its last expression**.\n// That value has to be a document, which is why the last line is a bare `s`: returning a sheet\n// means a one-sheet spreadsheet.\n\nlet s = sheet(\"Sales\");\n\n// A header is a row that is bold. `push` takes a bare array or a `row(…)`; the second is what\n// you want when the row needs an adjective.\ns.push(row([\"Region\", \"Q1\", \"Q2\"]).bold());\n\ns.push([\"North\", 4200, 4800]);\ns.push([\"South\", 3100, 3300]);\n\n// `sum_above()` is told nothing: it sums the contiguous run of numbers directly above wherever\n// it lands, which is an AutoSum's rule and the only one that does not reach up into a header.\ns.push(row([\"Total\", sum_above(), sum_above()]).bold());\n\ns\n```\n\nFor the times where you start with a 'calculator' app first, but notice a spreadsheet would have been easier to work with later. Define variables, use familiar functions, edit your calculations, promote them to a *real* spreadsheet later.\n\nThe cli is a first class citizen, no matter if it is used by a human, in shell scripts or by AI Agents.\n\nDiscover what it can do using `grind --help`\n\nCheck out the (ai authored) [user guide for more features](https://github.com/fwilhe2/grind/blob/main/doc/user-guide.md).\n\nThe application is licensed under GNU Affero General Public License v3 or later. Full text in [LICENSES](https://github.com/fwilhe2/grind/blob/main/LICENSES).\n\nSample code is licensed under MIT.\n\nDocs are licensed under CC-BY-4.0.\n\nEach file carries a corresponding header.\n\nProduct names and trademarks mentioned in this README belong to their respective owners. This project is not affiliated with or endorsed by them.", "url": "https://wpnews.pro/news/show-hn-grind-my-opendocument-native-office-suite-built-in-rust", "canonical_source": "https://github.com/fwilhe2/grind", "published_at": "2026-11-26 18:20:41+00:00", "updated_at": "2026-11-26 18:43:02.382706+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-tools"], "entities": ["Grind", "Rust", "OpenDocument", "LibreOffice", "WebAssembly", "rhai", "GitHub"], "also_reported_by": [], "takeaway": "Grind stores spreadsheets as a plain-text OpenDocument projection where every cell is a line of diff, and replaces macros with rhai scripts for generating sheets from dynamic data.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-grind-my-opendocument-native-office-suite-built-in-rust", "markdown": "https://wpnews.pro/news/show-hn-grind-my-opendocument-native-office-suite-built-in-rust.md", "text": "https://wpnews.pro/news/show-hn-grind-my-opendocument-native-office-suite-built-in-rust.txt", "jsonld": "https://wpnews.pro/news/show-hn-grind-my-opendocument-native-office-suite-built-in-rust.jsonld"}}