Backup all the issues and pull requests of a Github repo, including the comments, events, and labels, as JSON and as HTML.
Features
- generate a JSON file with all the issues and pull requests, including comments (demo)
- generate one HTML file per issue or pull request (demo)
- download CSS files and images locally to allow offline browsing (demo)
Known limitations
- Private repos: while JSON download works, the tool will fail to download HTML versions (see issue)
npm install -g backup-github-repo
cd /path/to/my/repo/to/backup
# First run will give you instructions to set a Github API token
backup-github-repo
backup-github-repo https://github.com/maxlath/backup-github-repo
MIT