{"id":13906055,"url":"https://github.com/steinfletcher/github-org-clone","last_synced_at":"2025-04-09T18:08:45.597Z","repository":{"id":43858813,"uuid":"114566908","full_name":"steinfletcher/github-org-clone","owner":"steinfletcher","description":":octocat: Clone repositories managed by a github organisation or team","archived":false,"fork":false,"pushed_at":"2022-02-15T20:34:37.000Z","size":36,"stargazers_count":35,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T20:04:39.031Z","etag":null,"topics":["clone","github","organisations","teams"],"latest_commit_sha":null,"homepage":"","language":"Go","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/steinfletcher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-17T20:37:40.000Z","updated_at":"2023-11-06T16:24:41.000Z","dependencies_parsed_at":"2022-08-27T18:51:50.456Z","dependency_job_id":null,"html_url":"https://github.com/steinfletcher/github-org-clone","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fgithub-org-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fgithub-org-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fgithub-org-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinfletcher%2Fgithub-org-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steinfletcher","download_url":"https://codeload.github.com/steinfletcher/github-org-clone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248084355,"owners_count":21045125,"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":["clone","github","organisations","teams"],"created_at":"2024-08-06T23:01:28.651Z","updated_at":"2025-04-09T18:08:45.571Z","avatar_url":"https://github.com/steinfletcher.png","language":"Go","readme":"# github-org-clone\n\n[![Build Status](https://travis-ci.org/steinfletcher/github-org-clone.svg?branch=master)](https://travis-ci.org/steinfletcher/github-org-clone)\n\nA simple cli app to clone all repos managed by a github organisation or team.\nRequires that you pass a github api key (personal access token) and github username to the script or set the `GITHUB_TOKEN` and `GITHUB_USER` environment variable. See the help output below.\n\n## Install\n\nThe following script will install a binary from a tagged release \n\n```bash\ncurl https://raw.githubusercontent.com/steinfletcher/github-org-clone/master/download.sh | sh\nmv github-org-clone /usr/local/bin\n```\n\nOr install from master using go\n\n```bash\ngo get github.com/steinfletcher/github-org-clone\n```\n\n## Use\n\nExport env vars in `~/.bashrc` or equivalent\n\n```bash\nexport GITHUB_USER=\u003cyour github username\u003e\nexport GITHUB_TOKEN=\u003ca github personal access token with clone repo privileges\u003e\n```\n\n(Alternatively supply these as flags to the command `--username` and `--token`).\n\nClone team repos\n\n```bash\ngithub-org-clone --org MyOrg --team MyTeam\n```\n\nClone organisation repos\n\n```bash\ngithub-org-clone -o MyOrg\n```\n\nOverride the default location\n\n```bash\ngithub-org-clone -o MyOrg -d ~/projects/work\n```\n\nOverride the github api url\n\n```bash\ngithub-org-clone -o MyOrg -a https://mycustomdomain.com\n```\n\nFor enterprise installations include the full path to the github api\n\n```bash\ngithub-org-clone -o MyOrg -a https://mycustomdomain.com/api/v3\n```\n\nView docs\n\n```bash\ngithub-org-clone -h\n```\n","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteinfletcher%2Fgithub-org-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteinfletcher%2Fgithub-org-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteinfletcher%2Fgithub-org-clone/lists"}