Your code snippets,
one command away.
A tiny, dependency-free command-line vault for the code you keep re-Googling. Save it once, search it forever — all offline, all local.
Windows · macOS · Linux · no runtime required
Why Snippet Vault
Small tool. No lock-in.
Everything runs locally, ships in a single file, and gets out of your way.
Zero dependencies
Pure Python standard library. Nothing to audit, nothing to break. The whole tool is a few hundred lines.
Local-first storage
Every snippet lives in a single JSON file in your home directory. No account, no server, no telemetry.
Full-text search
Search matches titles, languages, tags, and the code itself — case-insensitive, instant, offline.
Tags & languages
Label snippets by language and freeform tags so the one command you need is always a keyword away.
Pipe-friendly
`show` prints raw code and nothing else, so it flows straight into your clipboard or the next command.
Agent-ready repo
Ships AGENTS.md, portable skills, and a test subagent — built to be extended by AI coding tools.
The whole workflow
Five commands. That's it.
Save what you learn, find it when you need it, pipe it back out.
added snippet 1: recursive delete
id title language tags ---------------------------------------------------- 1 recursive delete powershell files
id title language tags ---------------------------------------------------- 1 recursive delete powershell files
Remove-Item -Recurse -Force path
Install
Up and running in seconds
Pick your platform. Paste one line, or grab the binary directly — no package manager, no dependencies.
One-line install
$irm https://raw.githubusercontent.com/skate28/snipvault/main/install.ps1 | iexDirect download
snipvault-windows-x64.exe
Already have Python? Install from source with pip:
$pip install git+https://github.com/skate28/snipvault.git