dkhamsing / forker

:fork_and_knife: Fork GitHub repos found on a page

Repository from Github https://github.comdkhamsing/forkerRepository from Github https://github.comdkhamsing/forker

forker

Fork GitHub repos found on a page

CircleCI

Installation

$ git clone https://github.com/dkhamsing/forker.git
$ cd forker/
$ rake install

Usage

forker --config <config file>

Example

YAML config file:

username: ..
password: ..
always_fork: false # false will skip existing fork
                   # true will delete existing fork and fork again
url:
  - https://github.com/dkhamsing/open-source-ios-apps
  - https://github.com/vsouza/awesome-ios
skip:
  - mac-apps
  - awesome-ios
$ forker --config config.yml
loading config: config.yml ...
getting content from https://github.com/dkhamsing/open-source-ios-apps
getting links
getting repos
#...
 artsy/Emergence
 azzoor/WWDCTV
#...
proceed (y/n)? y
#...
211/237 forking soffes/words
{:id=>46074803,
 :name=>"words",
 :full_name=>"opensourceios/words",
 :owner=>
  {:login=>"opensourceios",
   :id=>4372882,
   :avatar_url=>"https://avatars.githubusercontent.com/u/4372882?v=3",
   :gravatar_id=>"",
   :url=>"https://api.github.com/users/opensourceios",
# ...
212/237 forking artsy/Emergence
  fork opensourceios/Emergence already exists
# ...

forker is being used by opensourceios :octocat:

Contact

License

This project is available under the MIT license. See the LICENSE file for more info.

About

:fork_and_knife: Fork GitHub repos found on a page

License:MIT License


Languages

Language:Ruby 100.0%