Skip to content
A package to implement a link-forwarding and scheduling system
Go HTML Dockerfile
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


What is link-of-the-day?

Link of the day, well, does what it says on the tin. It redirects a user to a different link every day. I built this for QuantumBlack, with the plan to generate a QR code that encodes (where my version of this is hosted) and build the QR code with post-it notes. People can walk by and scan the QR code and get a different link everyday, where links are crowdsources from employees. We'll see if it catches on...

Why couldn't you come up with a better name?

I'm a software engineer and a mathematician, that should answer your question...

How do I run it?

git clone the repository, make sure you have Docker 🐳 installed, then docker-compose up should do it.

How does it work?

It's a simple Go HTTP server, connected to a Postgres database and backed by the links package that retrieves the URL scheduled for the current date, updates the visit count and saves new URLs. I deploy it on Heroku and manage the domain via Netlify.

A GET request will be met with a 301 temporary redirect, to the days scheduled link and a POST or PUT request, appropriate formatted with Content-Type application/x-www-form-urlencoded with data url=<YOUR-URL> will save the URL and automatically schedule it for the next available slot, so it's very much first come, first serve.

You can’t perform that action at this time.