/gh-downloader

:arrow_heading_down: Download files from GitHub given search criteria

Primary LanguageJavaScript

gh-downloader

Download GitHub repositories as zipballs given search criteria

Quick start

  1. git clone https://github.com/kyrcha/gh-downloader.git
  2. Change directory into gh-downloader, cd gh-downloader
  3. Create an .env file with the following environment variables:
  • GITHUB_TOKEN=
  • PROGRAMMING_LANGUAGE=, i.e. PROGRAMMING_LANGUAGE=java
  • STARS_QUERY=, i.e. STARS_QUERY='>=100'
  • REPOS=, i.e. REPOS=100
  • OUTPUT_DIR=, i.e. OUTPUT_DIR=./output
  1. Run npm install
  2. Run node index