mylibsql is a personal take on libsql, built for full control over SQLite replication—without a dedicated server. It uses libsql’s virtual WAL to support a primary-replica model where applications handle their own checkpointing and WAL log storage.
- No server required – Replication is fully managed by the embedding application.
- Async durability – Writes only resolve when safely checkpointed.
- Checkpoint-based replication – WAL logs are durably stored and applied to replicas as needed.
- Built on libsql – Compatible with SQLite, leveraging libsql virtual WAL for replication.
- A Primary database is opened for reads and writes.
- Periodic Checkpoints generate WAL logs.
- These logs are stored durably (e.g., in an object store like S3).
- Replicas fetch and apply logs locally to stay in sync.
This project is licensed under the MIT License. See the LICENSE file for details.