{"id":21995563,"url":"https://github.com/chriscummins/gh-archiver","last_synced_at":"2026-04-17T15:34:01.341Z","repository":{"id":57434177,"uuid":"92616319","full_name":"ChrisCummins/gh-archiver","owner":"ChrisCummins","description":"💾 Clone and update a GitHub user's repos","archived":false,"fork":false,"pushed_at":"2020-05-06T23:19:59.000Z","size":1324,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T10:45:16.165Z","etag":null,"topics":["backup-script","github"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChrisCummins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-27T18:22:05.000Z","updated_at":"2020-05-06T23:20:58.000Z","dependencies_parsed_at":"2022-08-27T22:32:01.996Z","dependency_job_id":null,"html_url":"https://github.com/ChrisCummins/gh-archiver","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/ChrisCummins%2Fgh-archiver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisCummins%2Fgh-archiver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisCummins%2Fgh-archiver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisCummins%2Fgh-archiver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChrisCummins","download_url":"https://codeload.github.com/ChrisCummins/gh-archiver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245053634,"owners_count":20553365,"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-script","github"],"created_at":"2024-11-29T21:16:50.189Z","updated_at":"2026-04-17T15:34:01.312Z","avatar_url":"https://github.com/ChrisCummins.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\n  gh-archiver\n  \u003c/a\u003e \u003ca href=\"https://tldrlegal.com/license/mit-license\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg?style=flat\"\u003e\n  \u003c/a\u003e\n\u003c/h1\u003e\n\nMirror a GitHub user's repos locally.\n\nThis program fetches a GitHub user's repositories and mirrors them to a local\ndirectory. New repositories are cloned, existing repositories are fetched from\nremote.\n\n## Setup\n\nCreate a Github [personal access token](https://github.com/settings/tokens/new).\nIf you intend to mirror your own private repositories, select \"repo\" from the\nlist of available scopes. To mirror only your public repositories or those\nanother user, no scopes are required.\n\nCreate a ~/.github/access_tokens/gh_archiver.txt file containing your\nthe personal access token you just created:\n\n```sh\n$ mkdir -p ~/.github/access_tokens\n$ cat \u003c\u003cEOF \u003e ~/.github/access_tokens/gh_archiver.txt\nYourAccessToken\nEOF\n$ chmod 0600 ~/.github/access_tokens/gh_archiver.txt\n```\n\nThen build and install the `gh_archiver` program using:\n\n```sh\n$ basel run -c opt //datasets/github/gh_archiver:install\n```\n\nRequires Python \u003e= 3.6.\n\n## Usage\n\nMirror a Github user's repositories to a directory using:\n\n```sh\n$ gh_archiver --user \u003cgithub_username\u003e --outdir \u003cpath\u003e\n```\n\n\n## License\n\nMade with ❤️ by [Chris Cummins](http://chriscummins.cc).\nReleased under [MIT License](https://tldrlegal.com/license/mit-license).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchriscummins%2Fgh-archiver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchriscummins%2Fgh-archiver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchriscummins%2Fgh-archiver/lists"}