├── README.md └── index.html /README.md: -------------------------------------------------------------------------------- 1 | PSA This repo exploits a bug in git.io service, which has now been fixed and hence this repo code no longer works as described. 2 | 3 | # Git.io Shortener Hack 4 | Shorten any url to git.io http://sauravtom.com/gitiohack 5 | 6 | 7 | Git.io is a service by github.com to shorten only github.com urls. 8 | This repo extends that service to any url. 9 | 10 | #### [How it works !](https://github.com/sauravtom/gitiohack/issues/1#issuecomment-82668813) 11 | 12 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Git.io Hack 5 | 6 | 7 | 35 | 36 | 37 | 38 | 39 |

Git.io Url Shortener Hack

40 |

41 | Git.io is a url shortening service from Github. 42 |
But this service is limited to only github.com URLs.
Not anymore
I found a little hack to extend this service to any url. 43 |

44 | 45 |
46 |
47 | 48 | 49 |
50 |
51 | 52 | 53 |
54 |

55 |
56 | 57 |
58 | 59 | 60 | 61 | Vote on Hacker News 62 | 63 | 64 | 65 | 66 | @SauravTom 70 | 71 | 72 | 73 | 74 |
75 | 76 | 77 | 78 | 79 | 80 | 81 | 83 | 84 | 148 | 149 | --------------------------------------------------------------------------------