All projects
Document storageprerelease

Carrot.

Store documents. Undo edits. Recover work.

Carrot handles records, edit history, saving, and crash recovery so you can focus on building your editor.

At a glance
Language
Rust
Focus
Document storage
Source
Codeberg
Status
prerelease

macOS · Linux · Windows

Your document’s history
Undo an edit or return to a later revision. The document keeps its history.

01 / The problem

Why it exists.

Drawing tools, diagram editors, and map editors all need reliable storage and a way to undo changes. Carrot provides that foundation so each application does not have to build it again.

02 / The approach

How it works.

Carrot gives records stable IDs and checks transactions before applying them. History shares unchanged data, and saved files use verified revisions and named checkpoints. Large assets can stream through a block store.

Optional crates add cached queries and geometry operations. Carrot is a prerelease for macOS, Linux, and Windows. Windows file saving is tested on Windows 11 ARM64 with local NTFS, including x64 apps under emulation.

documentseditorcrash-recovery

03 / Contribute

Help improve Carrot.

Try Carrot, report a bug, or suggest a change in the repository.

Next project

Drawer/ Code search for agents