This directory contains the implementation plan for ghbb, a Python/SQLite browser and search tool for backups produced by python-github-backup.
- Project root:
C:\CodeBlocks\github-backup-browser - Test backup root:
C:\CodeBlocks\ggml-org-backup\backup - Test backup root from Git Bash/WSL-style shells:
/c/CodeBlocks/ggml-org-backup/backup - Backup script that produced the test data:
C:\CodeBlocks\ggml-org-backup\backup.py - Backup tool source, if needed for format details:
C:\CodeBlocks\python-github-backup
- Use Python managed by
uv. - Use SQLite with FTS5 for search.
- Default DB path is
GHBB_DBif set, otherwise./ghbb.dbin the current working directory. - Do not expose a
--dboption in the MVP. - Do not expose an
--orgoption in the MVP. - Derive
owner/repofrom URLs inside the JSON files. - Do not store raw JSON in SQLite.
- Always import attachment metadata.
- Never import attachment file contents/BLOBs into SQLite.
- It is acceptable for MVP import to rebuild the database contents from scratch.
cd C:\CodeBlocks\github-backup-browser
uv run ghbb import C:\CodeBlocks\ggml-org-backup\backup
uv run ghbb stats
uv run ghbb search "KV cache"
uv run ghbb show llama.cpp issue 1
uv run ghbb serveWith DB override:
set GHBB_DB=C:\tmp\ggml-ghbb.db
uv run ghbb import C:\CodeBlocks\ggml-org-backup\backupPowerShell:
$env:GHBB_DB = "C:\tmp\ggml-ghbb.db"
uv run ghbb search "cuda graph"Git Bash:
GHBB_DB=/c/tmp/ggml-ghbb.db uv run ghbb search "cuda graph"- implementation-plan.md - high-level implementation phases and acceptance criteria.
- schema.md - SQLite schema and FTS design.
- importer.md - details for reading
python-github-backupoutput. - cli-web-api.md - CLI, web UI, and JSON API behavior.
- testing.md - test data, expected counts, and smoke tests.