[sh] make github short links from the terminal - Programming On Unix

Users browsing this thread: 2 Guest(s)
xero
Long time nixers
http://git.io/gitio.sh

create short / vanity github urls with this simple script.

usage: gitio http://github.com/something [-v mini]

options:
-v shortlink
-h display help

examples:

gitio https://github.com/syntax-samurai
- http://git.io/xoSi

gitio https://github.com/xero -v xero
- http://git.io/xero

gitio -v xr https://github.com/xero?tab=repositories
- http://git.io/xr

gitio https://github.com/xero?tab=activity -v xeros_activity
- http://git.io/xeros_activity
DotDev
Long time nixers
This very useful, nice xero
xero
Long time nixers
thanx dotdev!
hades
Long time nixers
Will be using this for sure. Thanks!
cjm
Long time nixers
Thanks Xero looks great.
----
blog: c-jm.github.io
twitter: https://www.twitter.com/_c_jm
My ambition in life is to be a graybeard by the time I am 65.
----