Skip to content

Instantly share code, notes, and snippets.

@jajoosam
Created October 10, 2017 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jajoosam/a18da9b813123a79fd61a7b095d1646d to your computer and use it in GitHub Desktop.
Save jajoosam/a18da9b813123a79fd61a7b095d1646d to your computer and use it in GitHub Desktop.

Chhota

Means small, in Hindi

Chhota is a front end url shortener without the need for a Database.\

It runs a sort of mirror on http://goo.gl, and uses the # to keep the process completely on the front end.

Install it on your site with just one line in your index.html -

<script src="http://chhota.ga/chhota.js"></script>

Now you can shorten URLs at http://chhota.ga - Get the code, and append it to your domain.

Explainer Example

  1. I add chhota to http://jajoosam.tech - with one line in by index.html.
  2. I get the chhota code for google.com here - http://chhota.ga/#create=google.com - It is #$mR2d
  3. I go to http://jajoosam.tech/#$mR2d - and boom I'm on Google!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment