Skip to content

Backup all the issues and pull requests of a Github repo, including the comments, events, and labels, as JSON and as HTML

Notifications You must be signed in to change notification settings

maxlath/backup-github-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Backup all the issues and pull requests of a Github repo, including the comments, events, and labels, as JSON and as HTML

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published