backup-github-repo

1.2.0 • Public • Published

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

Package Sidebar

Install

npm i backup-github-repo

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

15.8 kB

Total Files

17

Last publish

Collaborators

  • maxlath