# benbjohnson/litestream

Streaming replication for SQLite.

Repository: https://github.com/benbjohnson/litestream
Canonical: https://ross.abutalabs.com/products/litestream
Homepage: https://litestream.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: sqlite, replication, s3
Last push: 2026-08-26T23:09:05+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 96, longevity 100
- inputs: {"age_days": 2157, "days_push": 7, "days_rel": 28, "gap_med": 13, "n_releases_24m": 18}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14306, forks 402 (observed 2026-08-28T04:11:06.702971+00:00)

## What it is
Litestream is a standalone disaster recovery tool for SQLite that runs as a background process and continuously streams database changes to S3-compatible object storage or local files. It communicates only through the SQLite API, enabling point-in-time recovery without code changes to existing applications.

## Use cases
- continuously back up a SQLite database to S3
- restore a SQLite database after a server crash
- run a single-server app with replicated SQLite storage
- replicate SQLite changes to MinIO or other S3-compatible storage
- achieve point-in-time recovery for SQLite without code changes
- cheap offsite disaster recovery for small databases

## When to choose
- you run SQLite on a single server and need no-worry backups
- you want low-cost replication using cheap object storage
- you need disaster recovery without modifying your application code

## When to avoid
- you need multi-master or active-active replication across servers
- you require a full relational database server with concurrent writers
- your database is too large or write-heavy for SQLite

## Facets
- artifact type: cli-tool
- maturity: active
- function: database, backup, streaming, developer-tools
- domain: databases, self-hosted, developer-tools, backend
- platform: windows, go, cli, self-hosted
- tags: sqlite, disaster-recovery, replication, s3, object-storage, point-in-time-recovery, linux, macos, docker

## Member repositories
- benbjohnson/litestream (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:06.702971+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-29T17:12:39.589843+00:00, confidence not recorded.
  - readme: https://github.com/benbjohnson/litestream (fetched 2026-08-28T04:11:06.702971+00:00, sha be4deb279d62)
  - homepage: https://litestream.io (fetched 2026-08-29T08:06:13.094879+00:00, sha 08cede036807)
  - site_page: https://litestream.io/install (fetched 2026-08-29T08:06:13.104157+00:00, sha 40e89f6ff561)
  - site_page: https://litestream.io/getting-started (fetched 2026-08-29T08:06:13.106263+00:00, sha 2d9b753d18ac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
