Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LeonardoCardoso/gsrd
GitHub Starred Repos Downloader
https://github.com/LeonardoCardoso/gsrd
downloader github repository repository-tools ruby ruby-gem
Last synced: 3 months ago
JSON representation
GitHub Starred Repos Downloader
- Host: GitHub
- URL: https://github.com/LeonardoCardoso/gsrd
- Owner: LeonardoCardoso
- License: mit
- Created: 2016-07-14T14:13:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-30T16:06:31.000Z (about 4 years ago)
- Last Synced: 2024-07-19T06:12:04.620Z (4 months ago)
- Topics: downloader, github, repository, repository-tools, ruby, ruby-gem
- Language: Ruby
- Homepage: https://leocardz.com/github-starred-repos-downloader-66a5013275b0
- Size: 453 KB
- Stars: 26
- Watchers: 1
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Open-Source-Ruby-and-Rails-Apps - gsrd - GitHub Starred Repos Downloader 🔥 (Happy Exploring 🤘)
- jimsghstars - LeonardoCardoso/gsrd - GitHub Starred Repos Downloader (Ruby)
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.