damascene/repos-downloader

This package is abandoned and no longer maintained. No replacement package was suggested.

A small CLI application to download ALL public git repo for specific user on github

v0.1.2 2020-05-06 11:24 UTC

This package is auto-updated.

Last update: 2022-08-28 06:23:21 UTC


README

a fun project to download a full list of all the public repos for a github user

This project has only one main idea is to download all the public repos for specific github user.

Requirements

  1. PHP 7.2
  2. Composer
  3. Git

Installation

  1. Clone the repository
$ git clone https://github.com/linuxjuggler/github-repos-downloader.git
  1. Run Composer
$ composer install

Global Installation

If you want you can install the package globally using composer

$ composer global require damascene/repos-downloader

Using PHAR file

You have to download the phar file from the releases tab

Usage cases

  1. Run the clone command

First you need to decide which user's repositories you want to clone Second run the command (if you have clone it you should run the command from within the directory):

$ repos run <user> -d <directory> -p <pageNumber> -e <excluded_repo1>.<excluded_repo2>

Replace the user with the user name and directory with the directoy you want to have all your data, for example the following command will clone all the public repositories for illuminate on my desktop on a directory called testing-global if this directory is not exists, it will be auto created.

$ repos run illuminate -d ~/Desktop/testing-global

[Command line Running]

Why

To be honest I just built this so that I can download all the public repos without going over each and every one to clone them one by one. So this is only built for educational purpose, for example, in the next few months am planning to dive more into Illuminate packages, so this will help me to download them all not one by one.

TODO

Add the ability to pull the new updates instead of reclone them again.