{"id":18611053,"url":"https://github.com/beangreen247/clone-all-github-repos-script","last_synced_at":"2025-08-21T15:37:55.604Z","repository":{"id":153757060,"uuid":"207385609","full_name":"BeanGreen247/Clone-all-Github-repos-script","owner":"BeanGreen247","description":"A script for cloning multiple/all repos from a user on github","archived":false,"fork":false,"pushed_at":"2020-01-27T21:33:41.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T03:59:28.542Z","etag":null,"topics":["bash","beangreen247","clone","git","github","repo","script","ssh-agent","ssh-key"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/BeanGreen247.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":"2019-09-09T19:12:48.000Z","updated_at":"2020-01-27T21:33:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a3b78af-1027-4628-b70c-bafa29e9dd8e","html_url":"https://github.com/BeanGreen247/Clone-all-Github-repos-script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BeanGreen247/Clone-all-Github-repos-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeanGreen247%2FClone-all-Github-repos-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeanGreen247%2FClone-all-Github-repos-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeanGreen247%2FClone-all-Github-repos-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeanGreen247%2FClone-all-Github-repos-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BeanGreen247","download_url":"https://codeload.github.com/BeanGreen247/Clone-all-Github-repos-script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeanGreen247%2FClone-all-Github-repos-script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271500812,"owners_count":24770492,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bash","beangreen247","clone","git","github","repo","script","ssh-agent","ssh-key"],"created_at":"2024-11-07T03:12:29.959Z","updated_at":"2025-08-21T15:37:55.561Z","avatar_url":"https://github.com/BeanGreen247.png","language":"Shell","readme":"# Clone all Github repos script\n**NOTE: If you want to clone somebody else's repos they have to give you their RSA key.**\n\nInstall these packages\n```\nsudo apt install git curl xclip -y\n```\nSetup git for your account\n```\ngit config user.name \"username\"\ngit config user.password \"password\"\n```\nNext generate ssh key\n```\nssh-keygen -t rsa -b 4096 -C \"your_email@example.com\"\n```\nStart the ssh-agent in the backgound\n```\neval \"$(ssh-agent -s)\"\n\u003e Agent pid 59566\n```\nAdd the generated ssh key to the ssh-agent\n```\nssh-add ~/.ssh/id_rsa\n```\nCopy the generated ssh key to your clipboard using xclip\n```\nxclip -sel clip \u003c ~/.ssh/id_rsa.pub\n```\nIn the upper-right corner of any page, click your profile photo, then click Settings.\n\nIn the user settings sidebar, click SSH and GPG keys.\n\nClick New SSH key or Add SSH key.\n\nIn the \"Title\" field, add \"BeanGreen247's Github repo clone script\"\n\nPaste your key into the \"Key\" field.\n\nClick Add SSH key.\n\nIf prompted, confirm your GitHub password.\n\nMake script executable\n```\nchmod +x Github-Clone-All-Repo-Script.sh\n```\n## Script usage\nThe syntax\n```\nsh ./Github-Clone-All-Repo-Script.sh \u003cusername\u003e \u003camount of repos to clone\u003e\n```\nExample\n```\nsh ./Github-Clone-All-Repo-Script.sh BeanGreen247 1\n```\nThis example will clone just 1 of my repos in alphabetical order.\n\nThis script makes a folder in the home directory called Github-$USER where $USER is the username.\n\nThat's it, enjoy cloning.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeangreen247%2Fclone-all-github-repos-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeangreen247%2Fclone-all-github-repos-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeangreen247%2Fclone-all-github-repos-script/lists"}