MCPcopy
hub / github.com/benbjohnson/litestream

github.com/benbjohnson/litestream @v0.5.13 sqlite

repository ↗ · DeepWiki ↗ · release v0.5.13 ↗
1,910 symbols 10,853 edges 144 files 877 documented · 46%
README

Litestream GitHub release (latest by date) Status GitHub Docker Pulls ==========

Litestream is a standalone disaster recovery tool for SQLite. It runs as a background process and safely replicates changes incrementally to another file or S3. Litestream only communicates with SQLite through the SQLite API so it will not corrupt your database.

If you need support or have ideas for improving Litestream, please visit GitHub Issues. Please visit the Litestream web site for installation instructions and documentation.

If you find this project interesting, please consider starring the project on GitHub.

Contributing

We welcome bug reports, fixes, and patches! Please see our Contributing Guide for details on how to contribute.

Acknowledgements

I want to give special thanks to individuals who invest much of their time and energy into the project to help make it better:

Huge thanks to fly.io for their support and for contributing credits for testing and development!

Extension points exported contracts — how you extend this code

ReplicaClient (Interface)
ReplicaClient represents client to connect to a Replica. [12 implementers]
replica_client.go
LTXFileOpener (Interface)
(no doc) [23 implementers]
internal/resumable_reader.go
ReplicaClientV3 (Interface)
ReplicaClientV3 reads v0.3.x backup data. ReplicaClient implementations that support v0.3.x restore should implement thi [2 …
v3.go
ReplicaClientFactory (FuncType)
ReplicaClientFactory is a function that creates a ReplicaClient from URL components. The userinfo parameter contains cre
replica_url.go
S3API (Interface)
S3API is the interface for S3 operations needed by Leaser.
s3/leaser.go
Leaser (Interface)
(no doc) [1 implementers]
leaser.go

Core symbols most depended-on inside this repo

Run
called by 580
cmd/litestream/main.go
Close
called by 331
db.go
Unlock
called by 211
vfs.go
Lock
called by 200
vfs.go
Sync
called by 197
db.go
NewReplicaClient
called by 181
file/replica_client.go
String
called by 174
v3.go
Error
called by 170
litestream.go

Shape

Function 1,039
Method 686
Struct 170
TypeAlias 9
Interface 5
FuncType 1

Languages

Go100%
Python1%
TypeScript1%

Modules by API surface

vfs.go127 symbols
db.go85 symbols
cmd/litestream-vfs/main_test.go68 symbols
cmd/litestream/main.go65 symbols
vfs_test.go64 symbols
vfs_write_test.go57 symbols
cmd/litestream/main_test.go49 symbols
replica.go46 symbols
db_internal_test.go43 symbols
s3/replica_client.go39 symbols
s3/replica_client_test.go38 symbols
server.go35 symbols

Dependencies from manifests, versioned

cloud.google.com/gov0.112.0 · 1×
cloud.google.com/go/compute/metadatav0.9.0 · 1×
cloud.google.com/go/pubsubv1.34.0 · 1×
cloud.google.com/go/storagev1.36.0 · 1×
github.com/Azure/azure-sdk-for-go/sdk/azcorev1.18.2 · 1×
github.com/Azure/azure-sdk-for-go/sdk/azidentityv1.11.0 · 1×
github.com/Azure/azure-sdk-for-go/sdk/internalv1.11.2 · 1×
github.com/Azure/azure-sdk-for-go/sdk/storage/azblobv1.6.2 · 1×
github.com/AzureAD/microsoft-authentication-library-for-gov1.4.2 · 1×
github.com/MadAppGang/httplogv1.3.0 · 1×
github.com/TylerBrock/colorjsonv0.0.0-2020070600362 · 1×

Datastores touched

postgresDatabase · 1 repos

For agents

$ claude mcp add litestream \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact