Poor man's bit.ly. Given a map of urls in the config file, it will respond to a known (short) key with a redirect to the long URL.
It's pricacy-friendly. There is no tracking, no logging, and no stats.
$ GOOS=linux go build
The binary as present in the root directory of this project is copied to the target machine by the deployment code. Run it from deployment
with:
$ ansible-playbook playbook.yml -i foo.example.com,
-
Build and run with
$ go build && ./shorts`
- Create pipeline that deploys on changes / releases
- fswatch the config file and reload the URLs when changed (saves a restart when just the URLs are re-deployed)