Self-hosted code snippet manager — CLI-first, single binary, zero config
- JavaScript 100%
|
|
||
|---|---|---|
| .gitea/workflows | ||
| src | ||
| tests | ||
| .gitignore | ||
| cli.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
📦 Snippet Vault
Self-hosted code snippet manager with tagging and search. Zero infrastructure — just a JSON file.
Install
npm install -g .
Usage
vault init # Initialize
vault add helper.js utils api # Add from file with tags
vault list # List all
vault list --lang python # Filter by language
vault show <id> # Show snippet
vault search "fetch" # Search title/code/tags
vault tag api # Filter by tag
vault stats # Statistics
vault delete <id> # Delete
Storage
Snippets stored in snippets.json in the vault directory.
Tests
npm test
Built by Ti-Paul 🇯🇲🐧