litefork
v0.1.5
Published
Branch, sync, and anonymize local SQLite databases from the command line.
Maintainers
Readme
LiteFork CLI
Branch, sync, and anonymize local SQLite databases from the command line.
Installation
# Install globally
npm install -g litefork
# Or run directly with npx
npx liteforkUsage
Create a branch
Fork a SQLite database and automatically anonymize PII:
litefork branch --source ./production.db --name feature-auth
# Or using the shorthand alias:
litefork fork ./production.db feature-authOutput:
✓ Branch created successfully
source /path/to/production.db
branch feature-auth
output /path/to/production_feature-auth.db
⚿ anonymized 42 rows in users
✓ Branch 'feature-auth' created and automatically anonymized. (42 rows scrubbed)List branches
View all SQLite files in a directory:
litefork list
litefork list --dir ./dataOutput:
📁 SQLite files in /path/to/dir
[source] production.db 120.5 KB modified Mar 11, 2026
[branch] production_auth.db 121.2 KB modified Mar 10, 2026Diff a branch
Compare a branch's schema against its source:
litefork diff --branch ./production_auth.db
litefork diff --branch ./production_auth.db --source ./production.dbOutput:
Schema Diff
source production.db
branch production_auth.db
+ TABLE sessions
+ id
+ user_id
+ token
~ TABLE users
+ last_loginVersion
litefork --versionWeb Dashboard
For a visual interface with cloud branches, schema evolution tracking, and team audit logs, see the LiteFork Dashboard.
License
MIT
