Skip to content

A repository downloader for GitHub that can download specific paths inside the repository, preventing the need to download the complete GitHub repo if not required.

Notifications You must be signed in to change notification settings

YashSaxena9/github-selective-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Sometimes github repositories can be really big and take excess space, while the content actually needed can be quite small.
  • Still to get that deeply nested content we need to completely download/clone the repository and then access the content.
  • That content can be a file(text, image, code, etc) or a folder.
  • so to minimise this hasstle this script can be used to download only the required content from github repository.
  • The script focuses on efficiency and optimisation along with no data loss, all the files available in github repo can be downloaded easily.

how to use

  • Use the command in the flllowing way
    $> node index.js "repo link or nested folder(/file) link inside repo" "path/to/download"
    
    • or
    $> node index.js "repo link or nested folder(/file) link inside repo" 
    // in this case current working directory is used
    
  • to use globally use npm link to link this project to global npm package list.

About

A repository downloader for GitHub that can download specific paths inside the repository, preventing the need to download the complete GitHub repo if not required.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published