# shrt Shrt is a url shortner writen in Go and by (Polr)[https://polr.me/index.php]. ## Features * [x] No duplicated URL * [x] Simple UI * [x] DB simple json file * [x] Count URL views * [] Statistiks * [] Delete URL * [] Login ## Restful API Short an URL ``` GET: http://example.com/api/action/shorten?key=API_KEY_HERE&url=http://example.de/shortening/main?q=5x Response: { "action": "shorten", "result": "https://example.com/5kq" } ``` Lookup for existing URL ``` GET: http://example.com/api/action/lookup?key=API_KEY_HERE&url_ending=5kq Response: { "action":"lookup", "result": { "long_url": "http://example.de/shortening/main?q=5x", "created_at": "2017-05-12 22:48:40.997520107 +0200 CEST", "clicks":"0" } } ```