A URL shorterning service.
This is a very simple URL shortening service. All URLs are saved into a Gzipped JSON backend, urls.json.gz
. Try it out at urls.schollz.com.
If you have Go installed, just do
go get -u -v github.com/schollz/urlss
Otherwise, use the releases and download urlss.
Once installed you can run the URL shortening service
urlss -p 8009
and open a web browser to http://localhost:8009 to view it (or use a reverse proxy to attach it to a domain name).
Make sure you have go-bindata
installed so that templates are updated:
go get -u github.com/jteeuwen/go-bindata/...
Then use the following to build a new version of the server (with builtin templates):
go-bindata.exe templates/... && go build && ./urlss
MIT