1.2.0 • Published 3 years ago

backup-github-repo v1.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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.

NPM

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