Git Product home page Git Product logo

forked's Introduction

forked

Fork all of the things.

# What is this? Couldn't sleep, saw a tweet:

@kentcdodds Now wouldn't it be cool, if you could go into a repo in your node_modules and run `npm fork` and it would fork it on github.

โ€” Merrick Christensen (@iammerrick) April 5, 2016
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

Made it so.

But why?

If you have ever needed to debug a node module you're using in your project it's a no brainer. If you find a bug in someone's project you might want to fix it and made a fork of it so you can then open a pull request.

Getting Started

First, you need an access token from github so forked can log in. You can find instructions for that here

Then add it to your .bashrc file, or whatever you use to manage your env variables:

export FORKED_TOKEN='PUT_YOUR_ACCESS_TOKEN_HERE'

Then install the module:

$ npm i -g forked

Dive into some random node module:

$ cd node_modules/react

Run the command:

$ fork

If it worked, you should be able to see the fork on GitHub.

Currently doesn't work on some repositories. Had some weird redirect issues and such, but about 80% of the repos I tried worked, so that's nice. If you find a bug please document it in the issues. :)

forked's People

Contributors

agarzola avatar eanplatter avatar iwritethings avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.