sourcevault-cli
v4.2.2
Published
SourceVault CLI — Git-like version control from your terminal
Downloads
1,182
Maintainers
Readme
SourceVault CLI
The ultimate Git-like, AI-powered version control system directly in your terminal. Backed by Google Drive and designed for Agentic AI workflows.
Installation
npm install -g sourcevault-cliSetup
The CLI connects to the SourceVault cloud API by default. If you are self-hosting SourceVault, configure your custom server URL:
sv config set serverUrl https://your-sourcevault-api.com -gThen, login to authenticate:
sv loginBasic Version Control
# Initialize a new repository
sv init my-project
# Stage files
sv add .
# Create a snapshot commit
sv commit -m "Initial commit"
# Push to your Google Drive vault
sv push
# Check branch and staging status
sv statusAI Assistant & Coder (BYOK)
SourceVault CLI features two powerful AI integrations:
- sv ai — Talks to your backend's default AI models (requires backend authentication).
- sv coder — A fully local agentic loop that uses your own API keys (Bring Your Own Key) to modify local files autonomously.
Using SV Coder
Set your API keys:
sv config set API_KEY_ANTHROPIC "sk-ant-..." -g
sv config set API_KEY_GEMINI "AIzaSy..." -gStart the interactive terminal session:
sv coderYou can now ask the AI to write code, debug issues, or explore the codebase. The AI will autonomously read files, list directories, and present diffs for your approval.
Documentation
For full documentation and to set up the Backend/Frontend, visit the SourceVault Repository.
