| Crates.io | forkstack |
| lib.rs | forkstack |
| version | 0.1.0 |
| created_at | 2025-12-06 20:33:15.885972+00 |
| updated_at | 2025-12-06 20:33:15.885972+00 |
| description | forkstack - instant, isolated development environments using zero-copy database and storage forks |
| homepage | https://forkstack.xyz |
| repository | https://github.com/russellromney/forkstack |
| max_upload_size | |
| id | 1970724 |
| size | 104,295 |
Instant, isolated development environments using zero-copy database and storage forks.
forkstack is a CLI tool for creating fully isolated development environments in seconds. Each developer gets their own copy of your entire stack—database and object storage—without duplicating data or slowing down.
# Recommended: install script
curl -LsSf https://forkstack.xyz/install.sh | sh
# Or with pip/uv
pip install forkstack
uv pip install forkstack
# Or with cargo
cargo install forkstack --bin forks
Traditional development environments share databases or require expensive duplication:
forkstack gives you the best of all worlds:
Create .forkstack.toml in your project:
[database]
provider = "turso"
organization = "your-org"
production = "my-app-prod"
[storage.uploads]
provider = "tigris"
bucket = "my-app-uploads"
endpoint = "https://fly.storage.tigris.dev"
export TURSO_API_TOKEN="your-token"
export AWS_ACCESS_KEY_ID="your-key"
export AWS_SECRET_ACCESS_KEY="your-secret"
$ forks create -n alice
Created fork: alice
Database: libsql://alice-your-org.turso.io
Storage: uploads: s3://my-app-uploads/forks/alice/
Point your app at the fork URLs, work in isolation, then clean up:
$ forks delete alice
Deleted fork: alice
forks create # Create fork with random name
forks create -n alice # Create fork with specific name
forks list # List all forks
forks delete alice # Delete a fork
forks create
│
├── Turso API: Create database branch
│ └── Zero-copy fork from production DB
│
└── S3 API: Copy objects to fork prefix
└── Full copy (or use Tigris bucket forks)
Database branching uses Turso's native branching—instant, zero-copy regardless of database size.
Storage forking copies objects to a fork-specific prefix. For zero-copy storage, use Tigris bucket forks.
Databases (pick one):
Object Storage (pick one):
Full documentation at forkstack.xyz
Contributions welcome! Submit issues and PRs at github.com/russellromney/forkstack
Apache 2.0 - Use it however you want.