1.2.3 • Published 1 year ago

github-multi-clone v1.2.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

github-multi-clone

Clone multiple github repositories at-once using a repository search-term.

Alternative Repository

https://git.thessaloniki.link/alex/github-multi-clone

Motivation

Clone (secure or backup) open-source projects in which your work might be dependent on, you never know....

Requirements

  • unix
  • git
  • node-lts

Install

$ npm install -g github-multi-clone

Help

$ github-multi-clone -h

Simple Examples:

$ github-multi-clone 'react stars:>250 language:javascript' --sort stars
Cloning into '/home/alex/github-archive/freeCodeCamp/freeCodeCamp'...
Cloning into '/home/alex/github-archive/facebook/react'...
Cloning into '/home/alex/github-archive/facebook/react-native'...
Cloning into '/home/alex/github-archive/facebook/create-react-app'...
....

the following command clones all repositories written in javascript, having the term react in it and having more stars than 250.

More about the search term: https://docs.github.com/en/search-github/searching-on-github/searching-for-repositories

Note: If your search-term results in xy number of repository all will be downloaded, paginated.

Suggestion

if for example you are a python / django developer you could use the following command to backup highly-dependent open-source repositories:

$ github-multi-clone 'django stars:>250 language:python' --sort stars

Options

Depth --depth - define the git clone --depth attribute to save some disk-space, history isn't always important, DEFAULT IS: 50

for more check --help | -h

1.2.0

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago