Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bjjb/urleen
A tiny URL generator web application
https://github.com/bjjb/urleen
css3 es6 go html5 pwa redis service-worker
Last synced: 3 months ago
JSON representation
A tiny URL generator web application
- Host: GitHub
- URL: https://github.com/bjjb/urleen
- Owner: bjjb
- License: mit
- Created: 2011-02-12T14:47:52.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2021-01-07T19:31:56.000Z (about 4 years ago)
- Last Synced: 2024-06-19T11:37:35.610Z (8 months ago)
- Topics: css3, es6, go, html5, pwa, redis, service-worker
- Language: Go
- Homepage: https://uri.gy
- Size: 537 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
URLín
=====A little URL squisher, backed by Redis, a very small Go server, and with a
teensy clean HTML5 front-end. Run it on your secure short domain, and spam
the internets with pretty little URLs.Here's a screenshot:
![A squished
URL](https://lh3.googleusercontent.com/WPoxS8zEYhP1gD48mchJm1G2GVa7uCzYpsyrMaH3w007wr6vvnH8TTZUTz3mmkgpCcW1NqcMGO5hvJHXYoCPjkkX1TUt_hZoHSyfxV5eZbZ9zjWmzNZTJsWvVvqebCEPFoy-mIXChDoLmMjsEBYlUmzXHsI4pD3o3yJZcok5XWD4JQHo4kaDkKAOf9nAtSsuGtwZeN7RhCvNj6hxud4HFvDZKswC1HkULDrPcfT8Ot-cwC5sJMXuym4ipcPKnLxWxY5yIykNrHSO6NaGIntin8bfTKf2lXQWCLrBc9AQsvJSjrzDAV3JJ2ZzawMAA-nu-1nR9xQt6-wxk8fzWhiyw3TvpyAoCVuz3atuiNPWVKEU9vHJgwJW1Fyx-CEVKn8ilRtZEPaDb9WxI3V05Cj3jvjJ_gT1X4zU0236XVXid47x3BpSdjsnLoCzkRIz7zXcThRovGDRQlvWbUzyYq1-_UaFImkTy9NID5oASZBjvnfD-rwMVxCCQZNTVVxGzuuvR5GO6kbyG__QqmZ_ugj55aU9pvsvNwVvLI2-Q_945WG7XlJqDQqB9qcyOkYCHze64jmUkl3EoFh71yOESins9A--qV4H8JIGxHqibOqFeuKgnwsmi1jzgFwJteqMXY4xcQoVMtJDZhyca9jPnbfe6oEsGXQ3npuYj2AOFdG9PTk=w385-h684-no "Isn't it pretty?")Build it with `go build` and install it with `go install`. Get help with
`urleen -h`.The front-end ships with 2k .woff containing the three icons, a service worker
(so it'll load fast on modern mobile browsers) and a manifest.json so it'll
work like an offline app, even though there's little point in a URL squisher
working offline.If you don't like the front-end, use a different one, and either let urleen
serve it (with the `-w` flag) or put it behind a server; urleen will respond
to `GET /` with a redirect, and `POST /` by remembering the (JSON)
contents of the request body, provided it's a valid URL. The tiny IDs are
sequential base 62 numbers.It was built to replace an old Rails 3 app, and to polish my Go chops and to
experiment with some HTML5 features that seem to be gaining browser support.Feel free to fork and improve, or to criticise with issues.