I built a cloud-based custom link shortener service for my short domain name, fayer.me.
The link shortener uses AWS Lambda and API Gateway to handle redirects and CRUD operations on the links table – adding new links and updating, reading, and deleting existing ones. The database is a DynamoDB table mapping from paths (such as “/lt”) to destination URLs.
The command line interface (CLI) was written in Go using the Cobra and Viper packages. It enables easy, on-the-fly modifications to the service and changes are published and available instantly.