# orbitinghail/graft

Graft is an open-source transactional storage engine optimized for lazy, partial, and strongly consistent replication—perfect for edge, offline-first, and distributed applications.

Repository: https://github.com/orbitinghail/graft
Canonical: https://ross.abutalabs.com/products/orbitinghail-graft
Homepage: https://graft.rs
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: edge, replication, storage, storage-engine, database, sqlite
Last push: 2026-08-26T19:36:40+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 59, longevity 51
- inputs: {"age_days": 720, "days_push": 7, "days_rel": 273, "gap_med": 6, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1532, forks 34 (observed 2026-08-28T04:04:59.551231+00:00)

## What it is
Graft is an open-source transactional storage engine written in Rust that turns object storage into a transactional system with lazy, partial, strongly consistent replication. It ships as a SQLite extension (VFS) with bindings for Python, JavaScript, Ruby, and Swift, plus an embeddable Rust crate.

## Use cases
- sync sqlite databases across devices offline-first
- build edge applications with partial data replication
- run stateless read replicas on object storage
- replicate only the data a mobile client needs
- add strong consistency to distributed sqlite deployments
- turn s3-compatible storage into a transactional database backend

## When to choose
- you need offline-first or edge apps with on-demand, partial replication of SQLite data
- you want instant read replicas backed by object storage without replay or recovery
- you need serializable snapshot isolation across distributed clients
- you want a lightweight storage client for mobile, embedded, or serverless environments

## When to avoid
- you need battle-tested production software - Graft is explicitly alpha quality
- you need a full standalone database server rather than a storage engine/SQLite extension
- your workload requires multi-master conflict resolution rather than strongly consistent replication
- you need rich query features beyond what SQLite provides

## Facets
- artifact type: library
- maturity: experimental
- function: database, database-driver, caching, serialization, concurrency
- domain: databases, microservices, mobile-development, self-hosted, developer-tools
- platform: rust, python, cross-platform, windows, embedded
- tags: storage-engine, sqlite-extension, edge-replication, offline-first, object-storage, snapshot-isolation, read-replicas, sync, nodejs, swift, linux, macos, mobile

## Member repositories
- orbitinghail/graft (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:59.551231+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:20.168782+00:00, confidence not recorded.
  - readme: https://github.com/orbitinghail/graft (fetched 2026-08-28T04:04:59.551231+00:00, sha 32c7bffc4e55)
  - homepage: https://graft.rs (fetched 2026-08-29T11:33:35.311354+00:00, sha c3aa21a5d45b)
  - site_page: https://graft.rs/docs/about (fetched 2026-08-29T11:33:35.320663+00:00, sha 52a0d8cb4210)
  - site_page: https://graft.rs/docs/sqlite/usage/python (fetched 2026-08-29T11:33:35.322572+00:00, sha 63f581b07ec3)
  - site_page: https://graft.rs/docs/sqlite/usage/javascript (fetched 2026-08-29T11:33:35.324437+00:00, sha 2f9fa56d0711)
  - site_page: https://graft.rs/docs/sqlite/usage/ruby (fetched 2026-08-29T11:33:35.326139+00:00, sha 4ea8811d0b08)
  - site_page: https://graft.rs/docs/sqlite/usage/swift (fetched 2026-08-29T11:33:35.327699+00:00, sha fc306316e704)
  - site_page: https://graft.rs/docs/sqlite/usage/direct (fetched 2026-08-29T11:33:35.329373+00:00, sha 30c9c35df6b3)
  - registry_crates: https://crates.io/api/v1/crates/graft (fetched 2026-08-29T11:33:35.330905+00:00, sha 347372474d48)
- Data as of 2026-08-30T08:39:29.467469+00:00.
