Skip to content
dedalus-labsPublic

About

A CoW VFS for Git trees and fast incremental builds.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

nodh

A copy-on-write virtual filesystem for Git trees and incremental builds. Compile everything instantly.

A traveler at branching paths outside a garden, overlooking a mountain valley at dawn.

וַיֵּצֵא קַיִן, מִלִּפְנֵי יְהוָה; וַיֵּשֶׁב בְּאֶרֶץ-נוֹד, קִדְמַת-עֵדֶן.

And Cain went out from the presence of the LORD, and dwelt in the land of Nod, on the east of Eden.

Genesis 4:16 (KJV)

Setup

It's super easy to get started. Just pull and build with nodh, commit and push with git.

1. Pull your repository.

nodh pull https://github.com/acme/monorepo
cd monorepo

2. Make your changes, then build and test.

Nodh reuses compatible results from previous builds, including CI.

nodh build
nodh test

3. Commit and push with Git.

git add path/to/changed-file.rs
git commit -m "fix: handle empty input"
git push

4. Pull updates when you need them.

nodh pull

5. Use the same commands in CI.

Select the exact commit supplied by GitHub Actions.

nodh pull "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" --rev "$GITHUB_SHA"
cd "${GITHUB_REPOSITORY##*/}"
nodh build
nodh test

Performance

Open a warm tree and build: 0.68 s, versus 3.61 s with mbx.

Median creation plus build time: empty target 12.45 seconds, warm mbx compiler cache 3.61 seconds, copy-on-write warm target 0.68 seconds.

Four warm trees: 2.01 MiB of additional storage, versus 691.5 MiB for full copies.

Additional physical storage for four trees: full copies 691.5 MiB, copy-on-write clones 2.01 MiB.

September 20, 2026. mbx 1.14.0 (1acd603). Three APFS trials of Cowtree with Cargo, the storage experiment behind this design. Seed preparation excluded. mbx target views and compiler incrementality disabled. Method and samples.

mbx, by Jeff Dickey, creator of mise, shares Cargo artifacts across projects and manages their disk use. It is our practical baseline while Cargo's cross-workspace cache develops.

API Reference

open resolves the Git ref once, then calls the source-tree service. BSMR holds an immutable snapshot for each build while you continue editing.

Request Result
POST /v1/trees Open an exact Git commit or retained snapshot on a selected host.
POST /v1/trees/{id}/snapshots Capture a tree with local or remote durability.
GET /v1/trees/{id} Read its source, placement, and operation status.
DELETE /v1/trees/{id} Close the tree while retaining active build inputs.

License

Apache 2.0. See LICENSE for more.

Acknowledgements

Nodh takes its name and inspiration from the land of Nod, just east of Eden.

About

A CoW VFS for Git trees and fast incremental builds.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors