# aspen-cloud/triplit

A full-stack, syncing database that runs on both server and client. Pluggable storage (indexeddb, sqlite, durable objects), syncs over websockets, and works with your favorite framework (React, Solid, Vue, Svelte).

Repository: https://github.com/aspen-cloud/triplit
Canonical: https://ross.abutalabs.com/products/triplit
Homepage: https://triplit.dev
Language: TypeScript
License: AGPL-3.0
License Family: copyleft
Topics: crdt, database, firestore, fullstack, multiplayer, supabase, bun, cloudflare-workers, deno, durable-objects, firebase, indexeddb, leveldb, nextjs, pwa, react, sqlite, websockets, rxdb
Last push: 2026-01-19T12:33:40+00:00

## Health v2 (maintenance only)
Score: 55/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 63, release rhythm 29, longevity 81
- inputs: {"age_days": 1140, "days_push": 226, "days_rel": 399, "gap_med": 0.0, "n_releases_24m": 1775}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3106, forks 102 (observed 2026-08-28T04:07:43.785575+00:00)

## What it is
Triplit is an open-source full-stack syncing database that runs on both server and client, syncing data in real time over websockets with conflict resolution. It provides pluggable storage (IndexedDB, SQLite, LevelDB, memory), schemas with TypeScript autocompletion, offline support, and framework bindings for React, Svelte, Vue, and Solid.

## Use cases
- build offline-first apps with automatic sync
- add real-time multiplayer collaboration to a web app
- replace Firebase or Supabase with an open-source syncing database
- cache and query data locally in the browser with IndexedDB
- build a local-first PWA with optimistic updates
- sync state between server and client over websockets

## When to choose
- you need local-first or offline-capable apps with automatic reconnection
- you want real-time collaborative features powered by CRDTs
- you want a TypeScript-native database with schema safety and framework bindings
- you need pluggable client-side storage backends

## When to avoid
- you need a battle-tested production database with mature ecosystem support
- you require heavy analytical or SQL workloads
- you cannot run a sync server and need a fully serverless solution
- AGPL-3.0 licensing is incompatible with your project

## Facets
- artifact type: library
- maturity: active
- function: database, websocket, state-management, orm, authorization, caching
- domain: databases, web-development, frontend, backend
- platform: browser, bun, cloud, cross-platform
- tags: local-first, crdt, offline-first, sync-engine, fullstack, indexeddb, sqlite, multiplayer, optimistic-updates, real-time-sync, real-time, nodejs, deno, typescript

## Member repositories
- aspen-cloud/triplit (main) score 55

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:43.785575+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-29T18:46:00.510531+00:00, confidence not recorded.
  - readme: https://github.com/aspen-cloud/triplit (fetched 2026-08-28T04:07:43.785575+00:00, sha 4c153f497a8d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
