boxmoe_header_banner_img

Hello! 欢迎来到阿虪的开发世界~

加载中

文章导读

GridCraft:纯 Rust 写的开源电子表格,500+ 函数、Agent 也能直接操控


avatar
阿虪 31 10 月, 2026 382
gridcraft

中文版

GridCraft(GitHub:https://github.com/storytold/gridcraft ,2026-10-07 创建,今晨抓取时已 6,881★)是 ArtCraft 团队用纯 Rust 从零写的开源电子表格:界面、操作和文件格式都向 Excel 看齐,XLSX 就是它的原生格式,macOS、Windows、Linux、BSD 和浏览器(WebAssembly)都能跑,无订阅、无授权服务器、无遥测。

它有 500+ 工作表函数(含 LET、LAMBDA、动态数组和结构化表引用)、透视表、17 种图表、条件格式、迷你图和打印预览;老 .xls 文件能打开数值、公式和数字格式,XLSB、ODS 的数据也能导入。最有意思的一点是“Agent 原生”:每一个功能区按钮、菜单、对话框、按键和鼠标手势都是一条命令,Agent 可以通过 JSON 控制通道、MCP 服务器或命令行直接驱动它——比如 gridcraft-cli eval '=XLOOKUP("b",{"a","b"},{1,2})' 就能直接算出结果。项目目前自认处于 alpha 阶段,核心流程已跑通,但文件保真度和大工作簿性能还在打磨。

为什么值得了解

  • 对受够了订阅制办公软件的人来说,这是一个真正免费、离线可用、文件格式还和 Excel 互通的替代品,浏览器版打开就能用
  • 对开发者和 Agent 玩家更有意思:电子表格第一次变成“能被 Agent 编程操控”的对象,批量填表、做报表、跑公式都可以交给 Agent
  • 它是 storytold 那套“纯 Rust 重写经典软件”系列的新成员(之前有 Word、CAD),同一团队、同一路数,感兴趣可以顺着这个系列一起看

English Version

GridCraft (GitHub: https://github.com/storytold/gridcraft , created 2026-10-07, 6,881 stars at this morning’s fetch) is an open-source spreadsheet written in pure Rust from scratch by the ArtCraft team: the interface, operations and file format all follow Excel, XLSX is its native format, and it runs on macOS, Windows, Linux, BSD and in the browser (WebAssembly) — no subscription, no licence server, no telemetry.

It ships 500+ worksheet functions (including LET, LAMBDA, dynamic arrays and structured table references), pivot tables, 17 chart types, conditional formatting, sparklines and print preview; legacy .xls files open with values, formulas and number formats, and XLSB and ODS data can be imported. The most interesting part is that it is “agent-native”: every ribbon button, menu item, dialog, keystroke and mouse gesture is a command an agent can run over a JSON control channel, an MCP server or the CLI — for example, gridcraft-cli eval '=XLOOKUP("b",{"a","b"},{1,2})' evaluates straight to a result. The project calls itself alpha: the core workflow works end to end, but file fidelity and very large workbook performance are still being polished.

Why it’s worth knowing

  • For anyone tired of subscription office software, this is a genuinely free, offline-capable alternative whose file format still round-trips with Excel, with a web version you can open in the browser
  • For developers and agent enthusiasts it is more interesting still: a spreadsheet becomes something an agent can drive programmatically — filling tables, building reports and running formulas can all be handed to an agent
  • It is the newest member of storytold’s “classic software rewritten in pure Rust” series (Word and CAD came before it), from the same team and the same playbook, worth following as a series if it catches your eye


评论(0)

查看评论列表

暂无评论


发表评论

表情 颜文字

插入代码