Self-hosted code snippet manager — CLI-first, single binary, zero config
  • JavaScript 100%
Find a file
2026-06-12 10:10:19 +00:00
.gitea/workflows ci: add Gitea Actions CI workflow 2026-04-29 02:32:34 +00:00
src feat(#2): GitHub Gists and GitLab Snippets sync 2026-06-12 10:10:00 +00:00
tests feat(#2): GitHub Gists and GitLab Snippets sync 2026-06-12 10:10:00 +00:00
.gitignore feat: snippet CRUD with tagging, search, and CLI 2026-04-18 07:23:53 +00:00
cli.js feat(#3): syntax highlighting & preview for snippets 2026-06-12 02:11:11 +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 🇯🇲🐧