---
title: "benbjohnson/litestream: Streaming replication for SQLite."
description: "!https://github.com/benbjohnson/litestream"
date: 2023-10-01
published: true
tags:
  - data
  - database
  - python
  - sqlite
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://github.com/benbjohnson/litestream" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://repository-images.githubusercontent.com/github-production-repository-image-32fea6/301830590/24499800-6ac0-11eb-9dea-30c5cfa8cae0?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20260804%2Fus-east-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20260804T230231Z&amp;X-Amz-Expires=300&amp;X-Amz-Signature=6d5f6d75017ed70f2c1dc21011ed9317de07cdf251815ac0a43a8d43c0a972ed&amp;X-Amz-SignedHeaders=host&amp;jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoiaHR0cHM6Ly9yZXBvc2l0b3J5LWltYWdlcy5naXRodWJ1c2VyY29udGVudC5jb20vIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4NTg4NDg1MSwibmJmIjoxNzg1ODg0NTUxLCJwYXRoIjoicmVwb3NpdG9yeS1pbWFnZXMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIn0.gdXK-9PaUjgq_JhJxWCvhAg-Hs-dtHwwBD3B2Eojzs8" alt="GitHub - benbjohnson/litestream: Streaming replication for SQLite. — Streaming replication for SQLite. Contribute to benbjohnson/litestream development by creating an account on GitHub." loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">GitHub - benbjohnson/litestream: Streaming replication for SQLite.</div>
      <div class="embed-card-description">Streaming replication for SQLite. Contribute to benbjohnson/litestream development by creating an account on GitHub.</div>
      <div class="embed-card-meta">GitHub &middot; github.com</div>
    </div>
  </a>
</div>


        `litestream` is a sick cli tool for steaming replicas of sqlite.  It automatically does daily snapshots, and streams all of the writes to the replica live.


## install

Install is fast using installer, no compilation, just copy the binary and run.

``` bash
curl https://i.wayl.one/benbjohnson/litestream
```
