fewtarius/github-backup
A simple script to backup everything.
What's novel
A simple script to backup everything.
Code Analysis
12 files read · 5 roundsA comprehensive GitHub backup tool that creates bare git mirrors of repositories and gists while fetching metadata (issues, PRs, releases) to JSON files with multi-account support.
Strengths
Excellent separation of concerns between CLI, discovery, mirroring, and reporting modules. Robust error handling with atomic file writes, retry logic with exponential backoff, rate limit management, token redaction in logs, and resume capability via state tracking. Clean code organization with well-named functions.
Weaknesses
Test coverage is incomplete - integration tests directory appears empty or minimally populated despite the project's complexity. Some edge cases like concurrent runs could use additional locking mechanisms. The tool relies on external git binary which may not work in all environments.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
5
Contributors
1
Files
30
Active weeks
2
Repository
Language
Python
Stars
3
Forks
1
License
GPL-3.0