Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/LeonardoCardoso/gsrd

GitHub Starred Repos Downloader
https://github.com/LeonardoCardoso/gsrd

downloader github repository repository-tools ruby ruby-gem

Last synced: about 1 month ago
JSON representation

GitHub Starred Repos Downloader

Awesome Lists containing this project

README

        

![gsrd](images/logo.png)

> **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](https://github.com/settings/tokens).

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

![public_repo](images/option.png)

If you want to download the private ones as well, select `repo`:

![repo](images/repo.png)

## Installation

If you don't have bundler installed, please do it first:

```ruby
$ gem install bundler
```

Then install gsrd.

```ruby
$ gem install gsrd
```

## Run
Run the code passing your access token as argument


$ gsrd "putyourfortycharactergeneratedstringhere"

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

```swift
======= 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
/Users/THE_PATH/gsrd-downloads-2016-09-28/facebook-facebook-sdk-swift-master.zip 100%[===>] 1023K 248KB/s in 4.1s
finished: 28/09/2016 14:46:49
```

## Requirement

* [wget](https://www.gnu.org/software/wget/)

## Information and Contact

Developed by [@LeonardoCardoso](https://github.com/LeonardoCardoso).

Contact me either by Twitter [@leocardz](https://twitter.com/leocardz) or emailing me to [[email protected]](mailto:[email protected]).

## License

The MIT License (MIT)

Copyright (c) 2016 Leonardo Cardoso

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.