Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including gitio-cli with all npm packages installed. Try it out:

var gitioCli = require("gitio-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gitio-cli v0.0.3

A simple CLI to get your own custom git.io domain

gitIO Build Status

A simple CLI to get your own custom git.io domain

Getting Started

Install the module with: npm install -g gitio-cli

To create a new git.io URL:

$ gitio 'http://github.com/your-project-url' 'your-short-url-path'

Examples

If I wanted to make http://git.io/krish redirect to http://github.com/krrishd:

$ gitio 'http://github.com/krrishd' 'krish'

License

Copyright (c) 2014 Krish Dholakiya. Licensed under the MIT license.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free