benbjohnson/litestream

Streaming replication for SQLite.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 51 minutes ago
Added to GitGenius on September 4th, 2026
Created on October 6th, 2020
Open Issues & Pull Requests: 145 (+0)
GitHub issues: Enabled
Number of forks: 410
Total Stargazers: 14,357 (+0)
Total Subscribers: 87 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 43.8 hours
Mean response time: 54.8 days
90th percentile: 101.5 days
Tracked items: 391

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 52% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Work labelled "Soon" is answered fastest, typically in about 8 hours, while "stability" waits about 11 days. Almost all tracked open issues have seen activity in the last three months. Only 8% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 87
New in 7 days: 10
Closed in 7 days: 5
Avg open age: 53 days
Stale 30+ days: 33
Stale 90+ days: 0

Recent activity

Opened in 7 days: 8
Closed in 7 days: 0
Comments in 7 days: 1
Events in 7 days: 3

Top labels

  • bug (132)
  • enhancement (86)
  • stale (60)
  • stability (24)
  • documentation (16)
  • Soon (12)
  • duplicate (7)
  • security (5)

Detailed Description

Litestream is a standalone disaster recovery tool for SQLite that replicates database changes to another file or S3.

Litestream solves the problem of protecting SQLite databases against data loss by running as a background process that safely replicates changes incrementally to backup destinations. It works by communicating exclusively through the SQLite API, which prevents database corruption. The tool coordinates replication around write-ahead log checkpoints by creating an internal lock table in the source database, using SQLite's native locking mechanism to ensure safe synchronization.

Litestream suits applications that rely on SQLite for persistence and need disaster recovery without the complexity of traditional database replication systems. It works well for single-machine deployments, edge applications, and scenarios where S3 or file-based backups are acceptable recovery targets. The tool is appropriate for developers who want incremental, streaming backups without modifying their application code significantly, though they should be aware that the source database schema will change due to the internal lock table, making byte-for-byte comparison impossible after Litestream is enabled.

The project maintains a security policy that directs vulnerability reports through private channels rather than public issues. The maintainers welcome bug reports, fixes, and patches through a documented contributing guide. The project acknowledges individuals who invest significant time and energy into improving it.