Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 744 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 744 Bytes

9m – Unicode-aware URL Shortener

9m Unicode URL Shortener. Generates a shortcut from http://9m.no using two unicode characters, e.g. http://9m.no/പ湛.

The server will choose two characters at random from the all the printable characters and then cross its fingers and hope you use a great font.

(This is a horrible idea in many ways and was a quick hack for fun.)

To install/run:

  1. Install stack
  2. stack build
  3. stack exec 9m
  4. open 'http://localhost:7000'

Available options:

  • --api-key ARG: A SafeBrowsing API Key
  • -b/--banned ARG: A banned domain (mutiple -b switches can be used to ban multiple domains)