A lightweight, local-first code snippet manager for developers. Store, organize, and retrieve your code snippets with powerful search and tagging capabilities.
- Local Storage: All snippets stored locally in SQLite—no cloud, no tracking.
- Tagging System: Organize snippets with custom tags for easy categorization.
- Syntax Highlighting: Beautiful terminal display with syntax highlighting for multiple languages.
- Fast Search: Search by title, content, or tags.
- Export: Export all snippets to JSON for backup or sharing.
- Rich Terminal UI: Clean, intuitive command-line interface.
- Clone the repository:
git clone https://github.com/your-username/snippet-vault.git cd snippet-vault - Install dependencies:
pip install -r requirements.txt
- Make it executable:
chmod +x main.py
python main.py add --title "Python List Comprehension" --language python --tags "python,tips"python main.py search --query "list"
python main.py search --tag "python"python main.py view 1python main.py delete 1python main.py exportSnippets are stored at: ~/.snippet_vault/snippets.db
MIT License