{"id":13689242,"url":"https://github.com/maxlath/backup-github-repo","last_synced_at":"2025-03-02T16:31:49.181Z","repository":{"id":67787815,"uuid":"134755309","full_name":"maxlath/backup-github-repo","owner":"maxlath","description":"Backup all the issues and pull requests of a Github repo, including the comments, events, and labels, as JSON and as HTML","archived":false,"fork":false,"pushed_at":"2024-07-17T15:53:02.000Z","size":811,"stargazers_count":40,"open_issues_count":1,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-12T13:38:44.774Z","etag":null,"topics":["backup","files","github","html","issues","json","pr","pull-requests"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxlath.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"liberapay":"Association_Inventaire"}},"created_at":"2018-05-24T18:40:21.000Z","updated_at":"2024-10-05T18:09:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4c576f8-cd96-4f58-a442-504bcbbff5bc","html_url":"https://github.com/maxlath/backup-github-repo","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fbackup-github-repo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fbackup-github-repo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fbackup-github-repo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fbackup-github-repo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxlath","download_url":"https://codeload.github.com/maxlath/backup-github-repo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241537378,"owners_count":19978521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","files","github","html","issues","json","pr","pull-requests"],"created_at":"2024-08-02T15:01:39.690Z","updated_at":"2025-03-02T16:31:49.087Z","avatar_url":"https://github.com/maxlath.png","language":"JavaScript","readme":"# backup-github-repo\n\nBackup all the issues and pull requests of a Github repo, including the comments, events, and labels, as JSON and as HTML.\n\n[![NPM](https://nodei.co/npm/backup-github-repo.png?stars\u0026downloads\u0026downloadRank)](https://npmjs.com/package/backup-github-repo/)\n\n**Features**\n* generate a JSON file with all the issues and pull requests, including comments ([demo](https://github.com/maxlath/backup-github-repo/blob/master/demo/data.json))\n* generate one HTML file per issue or pull request ([demo](https://github.com/maxlath/backup-github-repo/tree/master/demo/html))\n* download CSS files and images locally to allow offline browsing ([demo](https://github.com/maxlath/backup-github-repo/tree/master/demo/html/assets))\n\n**Known limitations**\n* **Private repos**: while JSON download works, the tool will fail to download HTML versions (see [issue](https://github.com/maxlath/backup-github-repo/issues/2))\n\n## Dependencies\n* [NodeJS](https://nodejs.org) \u003e= 7.6\n* [curl](https://curl.se/)\n* [jq](https://stedolan.github.io/jq/)\n\n## Install\n```sh\nnpm install -g backup-github-repo\n```\n\n## Run\n\n### Local repository\n```sh\ncd /path/to/my/repo/to/backup\n# First run will give you instructions to set a Github API token\nbackup-github-repo\n```\n\n### Specify repository by URL\n```sh\nbackup-github-repo https://github.com/maxlath/backup-github-repo\n```\n\n## License\nMIT\n","funding_links":["https://liberapay.com/Association_Inventaire"],"categories":["github"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxlath%2Fbackup-github-repo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxlath%2Fbackup-github-repo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxlath%2Fbackup-github-repo/lists"}