An open API service indexing awesome lists of open source software.

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

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
```