Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

devalv/repo-cloner

Repository files navigation

Liked repos cloner

Script takes user public liked repos and clone it to a local folder.

Installation

Install git (if it`s not installed).

git clone https://github.com/devalv/repo-cloner && cd repo-cloner
python3 -m venv venv
venv/bin/pip3 install -r requirements.txt

How to run

Simple example

venv/bin/python3 main.py -u devalv -d . -w 4 2>&1 | tee repo-cloner.log

Arguments

-u, --user      - the name of the user whose starred repository needs to be cloned
-d, --dir       - directory where cloned repos should be stored
-w, --workers   - workers count
-c, --compress  - compress directory with cloned repos to zip archive
-t, --token     - GitHub personal access token