{"id":16226262,"url":"https://github.com/antony/github-backup","last_synced_at":"2025-03-19T13:30:34.476Z","repository":{"id":66169545,"uuid":"136956866","full_name":"antony/github-backup","owner":"antony","description":"Backup github organisations with a single command","archived":false,"fork":false,"pushed_at":"2018-06-12T07:51:20.000Z","size":42,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T18:47:25.318Z","etag":null,"topics":["backup","backup-cli","git","github","github-api","github-backup","github-client"],"latest_commit_sha":null,"homepage":null,"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/antony.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2018-06-11T17:07:04.000Z","updated_at":"2023-12-05T15:22:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb0e8c4b-96c3-4052-9fc3-ca3320c06840","html_url":"https://github.com/antony/github-backup","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antony%2Fgithub-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antony%2Fgithub-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antony%2Fgithub-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antony%2Fgithub-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antony","download_url":"https://codeload.github.com/antony/github-backup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243989576,"owners_count":20379647,"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","backup-cli","git","github","github-api","github-backup","github-client"],"created_at":"2024-10-10T12:48:36.927Z","updated_at":"2025-03-19T13:30:34.470Z","avatar_url":"https://github.com/antony.png","language":"JavaScript","readme":"## Github Backup\n\nA tool to backup all of your organisation's github repositories.\n\n[![CircleCI](https://circleci.com/gh/antony/github-backup.svg?style=shield)](https://circleci.com/gh/antony/github-backup) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n![gh-backup](https://user-images.githubusercontent.com/218949/41276919-9dfc3768-6e1d-11e8-9ba0-15f6c9fda601.gif)\n\n### Features\n\n* Private repositories\n* Paginates an entire github organisation, not just the first page!\n* Parallel clone (10 streams)\n* Intuitive CLI to show progress\n* Uses github API v3\n\n### Why?\n\nThere are a lot of tools out in the wild for the same purpose, but not a single one of them works reliably or paginates a large organisation, so you get the first 50-100 repositories and then you have to edit the code to get more...\n\n### Pre-requisites\n\nYou [need a github token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) if you want to backup private repositories. it needs repo permissions.\n\n### Usage\n\nJust install the package locally and run the binary it provides:\n\n```bash\nnpm i -g @antony/github-backup\ngithub-backup --token \u003cyour-token-from-above\u003e --organisation \u003corganisation\u003e --workingDir=./some/path\n```\n\nWhere:\n\n* `token` is your github token (optional)\n* `organisation` is your organisation name\n* `workingDir` is where you want the repositories cloned to. If it does not exist it will be created.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantony%2Fgithub-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantony%2Fgithub-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantony%2Fgithub-backup/lists"}