Store is a local-first storage SDK with pluggable backends, automatic sync, and P2P encryption. One API for records, events, blobs, and key-value data.
import { createStore } from "@cuitty/store";
const store = createStore("notes", { adapter: "sqlite",
sync: { remote: "postgres",
strategy: "last-write-wins" },
encrypt: true,
});
await store.records.put("note-1", { title: "Hello from Store",
body: "Syncs everywhere.",
}); npm install @cuitty/storeOne SDK. Pluggable backends. Automatic sync. No vendor lock-in.
SQLite, Postgres, S3, P2P — swap backends without changing your code.
Learn more →Conflict-free replication with configurable strategies: LWW, merge, or manual.
Learn more →Records, events, blobs, and key-value — one unified API for all data shapes.
Learn more →Portable archives. Export everything. Import anywhere. Your data is always yours.
Learn more →
Application code stays on @cuitty/store.
Profiles decide whether data lands in local stores, your own infrastructure, or managed cloud services.
await createStore({
module: "capswan",
profile: "production",
}); SQLite/libSQL, Append log, Content-addressed files, SQLite vector index, Local graph store +1 more
Postgres family, Postgres event partitions, libSQL remote endpoint, S3-compatible object storage, Mounted volume substrate +6 more
AWS, GCP, Azure, Cuitty Cloud, Solana behind profiles
| Target | Available | Planned | Coverage |
|---|---|---|---|
| Local | In-memory test store, SQLite/libSQL, Append log, Content-addressed files, SQLite vector index +2 more | Cataloged, not implemented | SQL, document, KV, wide-column, time-series +15 more GA |
| Self-hosted | Postgres family, Postgres event partitions, libSQL remote endpoint, S3-compatible object storage, Mounted volume substrate +6 more | Cataloged, not implemented | SQL, document, KV, time-series, event log +15 more alpha |
| AWS | RDS and Aurora, DynamoDB and Keyspaces, Timestream and stream services, S3 and storage substrates, OpenSearch and Neptune +1 more | Cataloged, not implemented | SQL, document, time-series, event log, queue +14 more alpha |
| GCP | Cloud SQL, AlloyDB, and Spanner, Firestore and Bigtable, Pub/Sub and Memorystore, Cloud Storage and Filestore, Vertex Search and BigQuery +1 more | Cataloged, not implemented | SQL, document, time-series, event log, queue +14 more alpha |
| Azure | PostgreSQL, MySQL, and SQL Database, Cosmos DB APIs and Table, Service Bus, Event Hubs, and Valkey-compatible cache, Blob, Data Lake, Files, and Disks, AI Search, Data Explorer, and Synapse +1 more | Cataloged, not implemented | SQL, document, time-series, event log, queue +14 more alpha |
| Cuitty Cloud | Managed Store bridge, Peer replication | Cataloged, not implemented | SQL, document, KV, wide-column, time-series +15 more alpha |
| Solana | Local Solana validator, Solana RPC program, Shadow Drive local emulator, Shadow Drive object storage | Cataloged, not implemented | document, KV, event log, stream, archive +4 more alpha |
Get up and running in under 5 minutes. One install, one API, every backend.