backup-github-repo
v1.2.2
Published
Backup all the issues and pull requests of a Github repo, including the comments, events, and labels, as JSON and as HTML
Downloads
30
Maintainers
Readme
backup-github-repo
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)
Dependencies
Install
npm install -g backup-github-repo
Run
Local repository
cd /path/to/my/repo/to/backup
# First run will give you instructions to set a Github API token
backup-github-repo
Specify repository by URL
backup-github-repo https://github.com/maxlath/backup-github-repo
License
MIT