Self-hosted code snippet manager — CLI-first, single binary, zero config
Find a file
2026-04-29 02:32:42 +00:00
.gitea/workflows ci: add Gitea Actions CI workflow 2026-04-29 02:32:34 +00:00
src feat: search history tracking 2026-04-24 05:06:32 +00:00
tests feat: search history tracking 2026-04-24 05:06:32 +00:00
.gitignore feat: snippet CRUD with tagging, search, and CLI 2026-04-18 07:23:53 +00:00
cli.js chore: remove emoji from source code 2026-04-20 17:49:04 +00:00
package-lock.json feat: snippet CRUD with tagging, search, and CLI 2026-04-18 07:23:53 +00:00
package.json feat: snippet CRUD with tagging, search, and CLI 2026-04-18 07:23:53 +00:00
README.md feat: snippet CRUD with tagging, search, and CLI 2026-04-18 07:23:53 +00:00

📦 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 🇯🇲🐧