---
title: "💭 benbjohnson/litestream: Streaming replication for SQLite."
description: "!https://github.com/benbjohnson/litestream"
date: 2023-10-01
published: true
tags:
  - sqlite
  - data
  - database
  - 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/301830590/24499800-6ac0-11eb-9dea-30c5cfa8cae0" 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
```

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
