When you want to clone all repositories of multiple people immediately.
- Python 3.12.3
pip install -r requirements.txt(python-dotenv is optional)- git
- Go to https://github.com/settings/personal-access-tokens/new
- Select required "Repository Access"
- "Contents" permission is required with read access
- Generate token, confirm it, copy it
- Duplicate the file
sample.envinto.env - Edit the file
.envand replace "" with what you just copied
- Run github-api-testing.py if you want to test your API credentials
- Run github-main.py to start the process
- Enter list of usernames you wan't to mass clone from
- Enter the target directory you wan't to save cloned repos (dir names starting with "clone_output" are gitignored in this repo)
- Enter git clone depth (
Noneif you want full history or1for faster cloning) - Wait until it is Done.