Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github-multi-clone

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-multi-clone

Allows to clone multiple repositories based on github repository search-term.

  • 1.2.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 28 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc