GitHub Starred Repos Downloader

Thursday, 14 July 2016

gsrd downloads your public starred repos. Just in case you want to keep a backup of them from time to time.

Configuration

Getting your credential

In order to keep your privacy, create your personal token on Github.

GitHub token setup 1

If you just need to allow access to public repos, select the option public_repo as shown below:

GitHub token setup 2

Installation


$ gem install gsrd

Run

Run the code passing your access token as argument:


$ gsrd "put-your-forty-character-generated-token-here"

This is what you gonna get from every repo to download:


======= DOWNLOADING facebook-sdk-swift =======
URL: https://github.com/facebook/facebook-sdk-swift
Download URL: https://github.com/facebook/facebook-sdk-swift/archive/master.zip
started: 28/09/2016 14:46:41
/…/gsrd-downloads-2016-09-28/facebook…master.zip 100%[====>] 1023K 248KB/s in 4.1s
finished: 28/09/2016 14:46:49

Requirement

License

The MIT License


This code is also available on my GitHub profile.

Git: Actual Guide With Actual Examples »