Skip to content
dk
← All projects

sheetcraft

v0.3.0

An open-source spreadsheet editor written from scratch in pure Rust. Offline, instant, free forever.

Rust10 forks0 open issues & PRsMITupdated
csvdesktop-appexcelofflineopensourceprivacyrustspreadsheet
Stars
1
Forks
0
Created
Oct 31, 2026
Last push
Nov 2, 2026
Last commit
Nov 2, 2026
Latest release
v0.3.0

README

dsk-dev-ai/sheetcraft

SheetCraft: the spreadsheet editor rebuilt in pure Rust

SheetCraft

Latest release

An open-source spreadsheet editor written from scratch in pure Rust.

Fast. Offline. Private. One binary. No account, no subscription, no telemetry.

SheetCraft aims to be the spreadsheet people reach for when they want Excel-class editing without a cloud account or a 500 MB office suite: native performance, instant startup, full local ownership of every file.

Why this exists

  • Spreadsheet work is still dominated by cloud-first tools that require accounts and upload private financial data.
  • Existing desktop suites are large, slow to start, and carry decades of legacy.
  • The "clean-room, pure Rust" approach already proved it can win attention for photo, PDF, video, and word editors. A spreadsheet is the largest remaining gap.

Status

Early core engine. The repository currently ships:

  • A cell model with typed values (number, text, boolean, error)
  • A formula parser and evaluator with arithmetic, cell refs, ranges, and SUM / AVERAGE / MIN / MAX
  • Cycle detection for circular references
  • CSV import and export with quoted fields, commas, and embedded newlines
  • XLSX import of all worksheets and their names, preserving supported formulas
  • XLSX export of multiple sheets with formulas, numbers, booleans, text, and cell formatting
  • A native desktop app with a virtualized grid, formula bar with reference highlighting, range selection, keyboard navigation, copy and paste, and undo and redo
  • Number formats, bold text, text colors, cell fills, and cell borders in the desktop app, exported to XLSX
  • Resizable columns and rows in the desktop app, exported to XLSX
  • Multiple sheets with tabs to add, switch, and delete sheets
  • Row sorting and text filtering in the desktop app; filters hide rows without changing saved data
  • Bar and line charts from a selected range, with view-only chart windows
  • Frozen rows and columns in the desktop app, exported to XLSX
  • A small CLI for evaluating formulas, previewing workbooks, and converting CSV to XLSX
  • Unit tests for parsing, evaluation, and file round trips

XLSX import preserves values, sheet names, and supported formulas; visual formatting and freeze panes are applied in the app and included when exporting to XLSX, but are not restored when importing. Charts and filters are view-only and are not exported.

Download

Prebuilt CLI and desktop binaries for Linux, macOS, and Windows are on the releases page. Unpack the archive and run sheetcraft for the CLI or sheetcraft-gui for the desktop app.

Quick start

cargo run --features gui --bin sheetcraft-gui

cargo run -- demo
cargo run -- eval '=SUM(A1:A3) * 2'
cargo run -- csv examples/budget.csv
cargo run -- xlsx path/to/workbook.xlsx
cargo run -- convert examples/budget.csv /tmp/budget.xlsx
cargo test

The GUI opens with a small sample sheet. Type a path in the file field and use Open or Save to load and store CSV or XLSX workbooks. Start typing to edit a cell, or use double-click or F2 to edit the current value. Arrow keys move the selection, Shift+arrows or Shift+click selects a range, Enter applies and moves down, Escape cancels, Delete clears the selection, and Ctrl/Cmd+C, V, Z, and Shift+Z copy, paste, undo, and redo. The formatting bar applies bold, text and fill colors, borders, and number formats to the current selection; Ctrl/Cmd+B toggles bold. Drag a column or row header edge to resize it. Use the Data bar to sort by the active column, filter rows by text, create a chart from the selection, or freeze rows above and columns left of the active cell; single-cell selections chart the used range. Filters and charts are view-only. Use the sheet tabs above the status bar to switch sheets, or add and delete sheets with the + and Delete buttons.

SheetCraft desktop app

Roadmap

See ROADMAP.md.

  • v0.1 Core engine and CLI (done)
  • v0.2 CSV and XLSX import/export (done)
  • v0.3 Native GUI with a virtualized grid (done)
  • v0.4 Formatting, charts, and multi-sheet workbooks
  • v1.0 Stable release and launch

Design principles

  1. Local-first. Files stay on disk. No network calls in the default build.
  2. Instant. Release-build cold start under 300 ms, even on large workbooks.
  3. Correct. Formula results are tested against reference spreadsheets.
  4. Small. A single self-contained binary, no runtime install.
  5. Open. MIT licensed, no open-core bait-and-switch.

License

MIT

Related projects

Ultra-lightweight multi-tab browser recorder. Record multiple browser tabs simultaneously and save each tab separately in 1080p 30–60 FPS with low RAM usage.

browserdesktop-appelectron
Rust

Turn any codebase into beautiful architecture diagrams — one command, no AI, no server, runs on any laptop. Zero dependencies, pure Python, agent-friendly (Cursor, Claude Code, Codex, OpenCode).

ai-agentsarchitecture-diagramcli
Pythonv1.0.0

381 merged pull requests across 30 repositories · data generated Dec 1, 2026