|
Download README.md from smlflg/PromptGarage: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/smlflg/PromptGarage/resolve/main/README.md
- Command line
-
hf download hf://smlflg/PromptGarage/README.md
-
curl -L -o README.md https://huggingface.co/smlflg/PromptGarage/resolve/main/README.md
1.21 kB
| # PromptGarage | |
| CLI tool for collecting, curating, and searching prompts. SQLite-backed with full-text search. | |
| ## Install | |
| ```bash | |
| pip install -r requirements.txt | |
| ``` | |
| ## Usage | |
| ```bash | |
| python garage.py --help | |
| # Add a prompt | |
| python garage.py add "My prompt title" -c "Prompt content here" -t "tag1,tag2" | |
| # List prompts | |
| python garage.py list | |
| python garage.py list --starred --tag coding | |
| # Search | |
| python garage.py search "refactor python" | |
| # Show / edit / delete | |
| python garage.py show 42 | |
| python garage.py edit 42 | |
| python garage.py delete 42 | |
| # Rate and star | |
| python garage.py rate 42 5 | |
| python garage.py star 42 | |
| # Import from exports | |
| python garage.py import-chatgpt /path/to/conversations.json | |
| python garage.py import-gemini /path/to/export.json | |
| python garage.py import-codex ~/.codex/history.jsonl | |
| python garage.py import-hermes ~/.hermes/state.db | |
| # Stats and export | |
| python garage.py stats | |
| python garage.py export --format md | |
| python garage.py export --starred --format json | |
| ``` | |
| ## 14 Commands | |
| `add`, `list`, `search`, `show`, `edit`, `delete`, `star`, `rate`, `import-chatgpt`, `import-gemini`, `import-codex`, `import-hermes`, `stats`, `export` | |
| ## Stack | |
| Python + Click + SQLite (FTS5 for full-text search) | |