This tool will clone all private and public repositories from a user or from a organisation, so you have a backup if GitHub goes offline someday.
Go to your Github Settings and create a new token with the permissions "read:org, repo"
export GITHUB_TOKEN=<github-token>
export GITHUB_NAME="users/fleaz"
./download.sh /path/to/backupfolder
docker run --rm -v /path/to/backupfolder:/storage -e GITHUB_TOKEN=<secret-github-token> -e GITHUB_NAME="orgs/codemonauts" codemonauts/github-downloader
Content type
Image
Digest
Size
80.5 MB
Last updated
about 5 years ago
docker pull codemonauts/github-downloader