https://github.com/codemonauts/github-downloader
Tool to clone all repositories of a user or organisation
https://github.com/codemonauts/github-downloader
hacktoberfest
Last synced: 12 months ago
JSON representation
Tool to clone all repositories of a user or organisation
- Host: GitHub
- URL: https://github.com/codemonauts/github-downloader
- Owner: codemonauts
- Created: 2020-02-13T16:25:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-27T11:31:12.000Z (about 6 years ago)
- Last Synced: 2025-01-18T07:12:02.996Z (about 1 year ago)
- Topics: hacktoberfest
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# github-downloader
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.
## Github Token
Go to your [Github Settings](https://github.com/settings/tokens) and create a
new token with the permissions "read:org, repo"
## Standalone usage
```
export GITHUB_TOKEN=
export GITHUB_NAME="users/fleaz"
./download.sh /path/to/backupfolder
```
## Usage with Docker
```
docker run --rm -v /path/to/backupfolder:/storage -e GITHUB_TOKEN= -e GITHUB_NAME="orgs/codemonauts" codemonauts/github-downloader
```