* Charts: series drawn and saved by their own kind; XLSX groups per drawn kind Chart::series_kind is the one rule for the kind each series is drawn as: in a combo its own kind (the first a column and the rest lines by default; bars stand upright as columns), elsewhere the chart's kind, keeping a line's own markers or a scatter's own lines (same_family). The renderer, legend, data table and trendline eligibility all ask it; chart.set drops the series kinds a new type doesn't draw. The XLSX writer writes one group per drawn kind on each axis (areas, stacked columns kept), axes of the kind those groups need, a one-kind chart's secondary series on their own axes, and a stock group only for 3 or 4 series. The reader keeps each series' markers and lines, treats groups of one family as one chart, takes the primary axes from the value axis on the left or bottom, and orders series by c:order. * XLSX charts: one pie group, one group per type per axis pair, scatter markers kept Review fixes for the per-kind chart groups: - Pies and doughnuts have no axes: series marked secondary stay in the one group, so a combo turned into a doughnut no longer writes two doughnuts. - One group per type on a pair of axes, as Excel keeps them: clustered and stacked columns (lines and stacked lines, areas and stacked areas) share the first one's grouping instead of writing two groups on the same axes. - A markers-only scatter (or bubble) series drawn among lines keeps its markers. - chart-parity.md: the revision row moves under Revision history. * Charts: one grouping per type and axis pair, drawn as saved; combo pies as columns Second review round for the per-kind chart groups: - Chart::series_kind gives the series of one type (columns, lines, areas) on one pair of axes in a combo the first one's grouping, as the XLSX writer saves them, so a stacked column beside clustered ones no longer un-stacks after save and reopen. Chart::series_kinds computes them in one pass. - A combo's pies and doughnuts are drawn as columns (as the renderer does); only a chart without axes ignores secondary flags, so a combo with a secondary pie keeps its primary axes and writes the pie where it is drawn, and a pie + doughnut combo is one column group. - Groups that fit the axes come before groups moved onto them, and each group writes its series in their own order. - The unreachable bubble arm in series_xml is gone. * Charts: combos drawn and saved on category axes; data tables by series_kinds Third review round for the per-kind chart groups: - A combination chart is drawn on category axes, so Chart::series_kind gives its scatter and radar series as lines (a markers-only scatter with markers) and its bubbles as columns, as the renderer draws them; the XLSX writer uses category axes for every combo, so a scatter or bubble series first no longer turns the other series into scatter series. - supports_data_table uses series_kinds (one pass, it runs every frame). - A same-family kind left in an older JSON workbook is drawn, tested and documented rather than migrated: it can't be told from a file's own. * Charts: combo chartex series as columns; empty charts survive XLSX; a new type applies to every series - `combo_series_kind` draws a combo's histogram, waterfall, funnel, treemap, sunburst and box & whisker series as clustered columns, as the XLSX writer already saved them: their grouping, combo-ness and data-table support no longer change on reopening. - The XLSX writer writes one empty group of the chart's kind (a line group for stock) when a chart has no series, so the chart is read back rather than dropped. - The XLSX reader looks the value axes' positions up in a map built once; a file with many chart groups took quadratic time to read. - `chart.set` with a new type (other than a combo) clears every series' own kind, so choosing a type applies it to every series again (a file's markers no longer outlive a type change); setting the type a chart already has drops only the kinds it does not draw. - docs/chart-parity.md: combo scatter series are lines with markers, and only stock series beside stacked lines are still saved stacked but drawn unstacked. * Charts: one model rule reads per-series kinds back; empty charts keep their kind in XLSX - `Chart::set_drawn_kinds` sets a chart's kind and its series' own kinds from the kinds a file draws each series as (one family: the first's kind, a series keeping its own only where it differs; otherwise a combo). The XLSX reader now uses it, so an ODS reader can share the rule instead of copying it. - An empty line group writes `c:marker val="0"` when the chart has no markers, and an empty scatter group `scatterStyle val="marker"`: an empty Line chart no longer reopens with markers, an empty Scatter chart no longer with lines, an empty stock chart as a Line chart. The test now checks the kind read back; the previous commit's test listed Waterfall, which goes through the column writer there and proved nothing (empty chartex charts are still not kept, as before this branch; documented). - `drop_foreign_series_kinds` is removed: since the previous commit, `chart.set` clears every series' kind on a change of type, and the helper only ran when the same type was set again, where `series_kind` already ignores kinds outside the chart's family. - `series_kind`'s doc states the combo conversions and the same-family rule; the combo row in docs/chart-parity.md lists every conversion. * XLSX charts: an empty group sets neither the chart's kind nor its axes The reader took the chart's first kind and its primary axes from the first group even when that group held no series, so a file with an empty bar group before a scatter group read as a scatter chart whose only series was secondary, with the bar group's axis titles. Empty groups are now left out when any group has series, and the axis titles come from the primary pair's axes (found by id, in any order), else the first axis of their kind as before. * XLSX charts: axis titles from shown axes, by the primary pair's kind Corrects the previous commit's axis lookup. When a file's only series sit on a pair whose category axis is deleted, beside an empty group on shown, titled axes, the x title came from the deleted axis (none) instead of the shown one: a shown axis of a kind is now taken before a deleted one. And whether the axes are a scatter's two value axes is now decided by the group on the primary pair, not the first group with series, so a secondary line group listed before a primary scatter no longer gives the y axis the scatter's x title. * Charts: the stacked hairline-bar budget test draws stacked columns Resolved series carry the kind they are drawn as (Chart::series_kind), and the test's data defaulted every series to clustered columns, so after the merge with main it no longer drew a stacked chart and passed without testing stacked spans. Its series are now stacked columns. * Charts: SeriesData::kind says render draws every series by it * XLSX charts: the many-groups test reaches the axis lookup and is timed * chart.addElement: trendlines for every series check their kinds in one pass A combo series' kind looks back for the first series of its group, so asking it per series was quadratic in a chart with many series. The all-series path now uses Chart::series_kinds() once. Test: trendlines_for_every_series_are_checked_in_linear_time (120,000 series: 0.06 s with the fix, 17.8 s without in a debug build). * xlsx: a lone stock series joins the line group on its axes, keeping its grouping A stock series too few for a stock group falls back to a line. It used to be kept in order with the other groups, so when it came first its plain line group took in the stacked lines after it and saved them unstacked. The fallback now joins after the other groups, so an existing line group keeps its grouping; with none, it is still a plain line. Test: a_lone_stock_series_does_not_unstack_the_lines_beside_it. * model: set_drawn_kinds stores each combo series's kind as it is drawn Series of one type on one pair of axes share the first one's grouping (series_kinds draws and every format saves them so), but set_drawn_kinds stored the file's kinds as given: a stacked column after a clustered one on the same axes was kept as stacked while drawn and saved clustered. It now stores the drawn kind; on the other axes a series keeps its own. Test: drawn_kinds_of_one_type_share_a_grouping_per_pair_of_axes. * tests: linear-time chart checks count their work at two sizes instead of timing it `many_groups_are_read_in_linear_time` and `trendlines_for_every_series_are_checked_in_linear_time` asserted a four-second wall-clock bound, which fails on a busy machine and doesn't show how cost grows. Each now counts the steps its code takes, with a counter that exists only in tests, at n and 8n, and asserts the larger run did less than 16 times the smaller one's work (linear is about 8 times, quadratic about 64). The output checks stay. - xlsx: a cfg(test) counter of value axes visited while finding the primary axes. - model: a `work` counter of series a combo chart's kind lookups visit, behind a new `test-support` feature (as gridcraft-xlsx has) so engine tests can read it; engine's dev-dependency enables it. Shipped builds don't have it. Against the quadratic versions (value axes scanned per group; series_kind asked per series) the tests fail with 2,886,000 visits against 45,750 and 2,566,398 against 40,798. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
GridCraft
Spreadsheets and data; an open-source, high-performance modern spreadsheet application, built in pure Rust.
A fast, open-source, clean-room take on modern spreadsheet workflows. It runs natively on macOS,
Windows, Linux and BSD, and in the browser via WebAssembly.
By the ArtCraft team.
GridCraft on getartcraft.com · ArtCraft · All Crafting Apps
Quarterly Sales Dashboard: a table with a totals row, conditional formatting, sparklines and two live charts — built entirely from GridCraft commands (File → New → Sample).
Note
ArtCraft is a community of artists from all walks of life. Painters, photographers, filmmakers, illustrators, designers, animators, hobbyists, and people who picked up a pencil last week. If you make things, you're one of us. Come say hi on Discord.
A look around · Why GridCraft · Quick start · For agents · Architecture · Roadmap · The Crafting Apps · License and credits
A look around
Why GridCraft
- Familiar. Ribbon, formula bar, Name Box, sheet tabs, keyboard shortcuts, fill handle, point-mode formula entry with coloured references, Format Cells, Paste Special, conditional formatting, tables, charts and more. Everything is right where you expect it.
- Compatible. XLSX is the native format: styles, themes, formulas (including dynamic arrays),
tables, conditional formats, validation, comments, hyperlinks, charts, pictures, sparklines,
pivot tables and print settings round-trip. CSV and TSV too.
Legacy 97-2003
.xlsworkbooks open with their values, formulas and number formats (formatting and objects not yet). XLSB worksheet data can be imported, using saved values instead of formulas. ODS worksheet data can be imported, using saved values instead of formulas. Static pictures can live inside cells, fitting their size and moving with the data. - Capable. A dependency-graph calculation engine with dynamic arrays and spilling, 500+ worksheet functions plus LET, LAMBDA, MAP, REDUCE, SCAN, BYROW, BYCOL and MAKEARRAY, structured table references, a comprehensive number-format language, sort and AutoFilter, Flash Fill, data validation, outlining and subtotals.
- Fast. Copy-on-write workbooks (undo snapshots are nearly free), incremental recalculation, and a virtualised grid that only lays out what's on screen.
- Agent-native. Every ribbon button, menu item, dialog, keystroke and mouse gesture is a command that agents can run over a JSON control channel, an MCP server, or the CLI.
- Everywhere. One Rust codebase for desktop and the web. No subscription, no licence server, no telemetry.
Quick start
cargo run --release -p gridcraft # desktop app
cargo run --release -p gridcraft -- --sample sales # open a sample (sales, budget, grades)
cargo run --release -p gridcraft -- book.xlsx # open a workbook
cargo run --release -p gridcraft -- --sample sales --control 7979 # + JSON control channel
cargo xtask ci # fmt, clippy, tests, assets, layering, wasm
Choose Español under View → Interface language for Spanish formula names, decimal commas, and semicolon arguments. Workbooks, clipboard exchange, and programmatic APIs retain canonical English syntax.
Web
cd apps/gridcraft-web && trunk build --release # → dist/web (serve it with any static server)
cd apps/gridcraft-web && trunk serve --release # http://127.0.0.1:8771 (?sample=sales opens a sample)
You need trunk and the wasm32-unknown-unknown target. Open uses the
browser's file picker (dropping files works too) and Save downloads the workbook.
Ribbon access keys
Press and release left Alt on Windows/Linux/BSD, or press F10 on any platform, then type a sequence below one key at a time. Keytips appear on the supported Home controls and menu items. On macOS, use F10 (Fn+F10 if required by your keyboard); Option remains available for entering accented characters.
| Sequence after Alt/F10 | Action |
|---|---|
H A L / H A C / H A R |
Align left / center / right |
H V S or legacy E S |
Open Paste Special |
H O I or legacy O C A |
AutoFit selected columns |
In Paste Special, T/V/F/C select formats/values/formulas/comments, and E toggles Transpose. Enter applies the selected options; Escape cancels the dialog. These letters also work with Alt held on Windows/Linux/BSD.
Escape backs out one keytip level; Alt/F10 again exits keytips. Clicking, scrolling, or switching windows cancels navigation. Access keys do not start while editing text or using another dialog. This is initial support for these Home and legacy paths; other ribbon commands and full mouse-free navigation remain to be implemented. Browsers or desktop environments may reserve Alt/F10 for their own menus.
Logs
The desktop app writes its log to standard error and to gridcraft.log in the logs folder
next to its settings: ~/.config/gridcraft/logs on Linux and BSD ($XDG_CONFIG_HOME/gridcraft/logs
when set), ~/Library/Application Support/GridCraft/logs on macOS and
%APPDATA%\GridCraft\logs on Windows. Each start moves the previous log to gridcraft.1.log and
that one to gridcraft.2.log, so the log of a run that crashed survives the next start; attach
them to a bug report. A log file stops growing at 16 MiB. By default GridCraft's own crates log
at info and everything else at warn; RUST_LOG replaces that with env_logger-style
directives, e.g. RUST_LOG=debug or RUST_LOG=warn,gridcraft_engine=debug (a trailing *
matches a prefix: gridcraft*=debug). Runs with GRIDCRAFT_NO_PREFS set (no saved settings)
log to standard error only.
For agents: MCP, CLI and the control channel
claude mcp add gridcraft -- gridcraft-cli mcp # headless MCP server
gridcraft-cli mcp --connect 7979 # MCP bridged to a running window
gridcraft-cli eval '=XLOOKUP("b",{"a","b"},{1,2})' # → 2
gridcraft-cli run --sample budget --cmd 'home.bold={"range":"B4:F4"}' --out budget.xlsx
gridcraft-cli cat budget.xlsx --range B4:F15 # aligned text table
gridcraft-cli commands --search chart # every command and its params
The MCP server offers tools such as read_range, write_range, set_cell, evaluate_formula,
format_range, insert_chart, create_table, sort_range, filter and execute_command
(which reaches every one of GridCraft's commands). The desktop app's control channel adds real
pointer and keyboard input, dialogs and screenshots. See docs/mcp.md,
docs/cli.md and docs/control-protocol.md.
Architecture
GridCraft is an engine-first Cargo workspace with enforced layering (cargo xtask layers). The
egui frontend is a separate crate, so the UI can be swapped without touching the engine.
| Layer | Crates |
|---|---|
| L0 | core (addresses, values, errors, dates, input parsing) · numfmt (number format codes) |
| L1 | formula (lexer, parser, printer, reference adjustment) · functions (worksheet function library) |
| L2 | model (workbook, sheets, copy-on-write cells, styles, tables, charts…) · calc (dependency graph, evaluator, dynamic arrays) · xlsx (XLSX, CSV, plus XLSB and ODS data import) |
| L3 | chart (toolkit-free chart layout and rendering) |
| L5 | engine (session, commands, history, clipboard, fill, sort, filter, file I/O) |
| L6 | ui-egui (spreadsheet UI, control channel) · mcp (MCP server) |
| L7 | apps/gridcraft, apps/gridcraft-cli, apps/gridcraft-web |
- Contributor and agent rules (clean-room, asset policy, never-crash, quality gates):
AGENTS.md - Bundled assets: each one is listed with its licence in
ATTRIBUTION.md - Releases: signed macOS, Windows, Linux, BSD and web builds; see
docs/releasing.md
Roadmap
GridCraft is in alpha: the core workflow works end to end, but depth, fidelity and file
compatibility are still rough. It covers 89% of standard ribbon commands in our catalog
(docs/parity-checklist.md) and 514 standard worksheet functions
(docs/function-parity.md); this is a parity inventory, not a count of working implementations. Weighted by what spreadsheet users rely on, we
estimate it is about 50% ready for real work. Next up: XLSX fidelity on real-world files, very large
workbooks and multi-threaded recalc, chart depth, text in every script, and .xls import. Stage,
numbers and estimates are in ROADMAP.md; the ranked work list is docs/gaps.md.
Downloads
Download GridCraft from GitHub: the latest release has every build listed below, and all releases has earlier versions and their notes. <ver> in the file names is the version number, and SHA256SUMS.txt lists a checksum for every file.
Windows
| Build | Installer | Portable |
|---|---|---|
| x64 (64-bit Intel/AMD) | gridcraft-<ver>-windows-x64.msi |
gridcraft-<ver>-windows-x64-portable.zip |
| arm64 (Snapdragon and other ARM PCs) | gridcraft-<ver>-windows-arm64.msi |
gridcraft-<ver>-windows-arm64-portable.zip |
| x86 (32-bit) | gridcraft-<ver>-windows-x86.msi |
gridcraft-<ver>-windows-x86-portable.zip |
Installers and executables are code-signed. The MSI installer offers an optional desktop shortcut (unchecked on a new installation).
If the app doesn't open on Windows: the desktop app initializes only DirectX 12 by default.
Letting wgpu also create an OpenGL instance can crash some graphics drivers (AMD's
atio6axx.dll) before the window appears, so the app would flash in Task Manager and quit.
WGPU_BACKEND overrides the default for troubleshooting (for example dx12 or vulkan). In
PowerShell, from the folder containing the executable:
$env:WGPU_BACKEND = "vulkan"
& .\gridcraft.exe
Remove-Item Env:WGPU_BACKEND # restore the default for later launches
An explicit gl override can bring the driver crash back on affected systems, and vulkan can
bring back a crash in some Intel UHD Graphics drivers (igvk64.dll, #120). The macOS, Linux and
web backend defaults are unchanged.
If the app is slow on an older Windows PC, or DirectX 12 can't start: when DirectX 12 finds no
graphics card with a driver for it, it only offers the Windows-provided software renderer, which draws every
frame on the processor. In that case GridCraft uses OpenGL instead, without setting anything; if
the first renderer fails to start, it tries the other one once. The log file records the choice
(lines starting with graphics:). WGPU_BACKEND still overrides it (and then nothing else is
tried), e.g. $env:WGPU_BACKEND = "gl" or "dx12".
DirectX 12 shaders are compiled with FXC, which is part of Windows, so no dxcompiler.dll or
dxil.dll is needed, and a copy another program put on PATH can no longer stop the app at start
("Parent device is lost", #339). $env:WGPU_DX12_COMPILER = "dxc" (or "auto") selects wgpu's DXC
handling again for troubleshooting.
macOS
| Build | File | Notes |
|---|---|---|
| App, universal (Apple silicon + Intel) | gridcraft-<ver>-macos-universal.dmg |
Signed and notarized |
| Command-line tool, universal | gridcraft-cli-<ver>-macos-universal.zip |
Signed and notarized |
Linux
| Format | x86_64 | aarch64 (ARM64) | Notes |
|---|---|---|---|
| AppImage | gridcraft-<ver>-linux-x86_64.AppImage |
gridcraft-<ver>-linux-aarch64.AppImage |
Runs anywhere; updates itself with AppImageUpdate (.zsync files) |
| Flatpak | gridcraft-<ver>-linux-x86_64.flatpak |
gridcraft-<ver>-linux-aarch64.flatpak |
Sandboxed; flatpak install --user <file> |
| Debian/Ubuntu | gridcraft-<ver>-linux-x86_64.deb |
gridcraft-<ver>-linux-aarch64.deb |
|
| Fedora/RHEL/openSUSE | gridcraft-<ver>-linux-x86_64.rpm |
gridcraft-<ver>-linux-aarch64.rpm |
|
| Tarball | gridcraft-<ver>-linux-x86_64.tar.gz |
gridcraft-<ver>-linux-aarch64.tar.gz |
Unpack anywhere |
FreeBSD
| Build | File |
|---|---|
| x86_64 | gridcraft-<ver>-freebsd-x86_64.tar.gz |
Web (WebAssembly)
| Build | File | Notes |
|---|---|---|
| Static site | gridcraft-web-<ver>.zip |
Runs in a modern browser; host it on any static server |
The Crafting Apps
GridCraft is one of the Crafting Apps: free, open-source creative tools from the ArtCraft team, each written from scratch in Rust and each able to stand on its own.
| App | What it's for | Code | Learn more | |
|---|---|---|---|---|
| PhotoCraft | Image editing: layers, masks, type and real PSD files | GitHub | Website | |
| VectorCraft | Vector illustration | GitHub | Website | |
| FilmCraft | Video editing, color and sound | GitHub | Website | |
| LightCraft | Photo library and raw development | GitHub | Website | |
| PdfCraft | Reading, organizing and protecting PDFs | GitHub | Website | |
| EffectCraft | Motion graphics and visual effects | GitHub | Website | |
| DesignCraft | Page layout and publishing | GitHub | Website | |
| FigCraft | Interface design and prototyping | GitHub | Website | |
| WordCraft | Word processing and documents | GitHub | Website | |
| SoundCraft | Audio recording and editing | GitHub | Website | |
| DeckCraft | Presentations and slide decks | GitHub | Website | |
| CADCraft | Computer-aided design | GitHub | Website | |
| GridCraft | Spreadsheets and data | GitHub | Website | |
| TextureCraft | 3D texture painting | GitHub | Website | |
| Craft Anything | See how any software works, then build your own | GitHub | Website | |
| SolidCraft | Parametric 3D CAD by Tangency Labs (community app) | GitHub |
And ArtCraft itself, our AI image and video studio for artists who want real control.
Come make things with us
Our Discord is where artists of every kind hang out: people who paint, shoot, draw, cut film, set type, and people still figuring out what they like to make. Share what you're working on, ask for help, tell us what's broken, or tell us what you wish these tools could do. Whatever your medium and however long you've been at it, you're welcome here.
discord.gg/artcraft · getartcraft.com · The Crafting Apps · GridCraft
License and credits
GridCraft is dual-licensed under MIT or Apache-2.0, at your option. Copyright (c) 2026 ArtCraft Team and the GridCraft contributors. Required notices are in NOTICE.
Bundled fonts, icons, images and other assets keep their own open licenses; each one is listed with its author, source and license in ATTRIBUTION.md.
All UI icons are drawn in code and are original; the sample workbooks and every screenshot in this README were made with GridCraft itself. GridCraft bundles no fonts: it uses the fonts installed on your system.
The ArtCraft name, wordmark and logos in docs/brand/ are trademarks of the
ArtCraft Team and are not covered by this license. They may be used only unmodified, and only as
part of this repository and GridCraft, under docs/brand/LICENSE-brand.txt.
Forks and modified versions must remove them.
Made by the ArtCraft team and community.





