A URL shortener in Go
4pres is yet another URL shortener, it will give you a short link for a long URL. Short links have no expiration, for now :D, you can get short URL via any browser or other HTTP client.
4pres is written in Go and leverages a serverless architecture powered by AWS and coded with eawsy. It uses Google SafeBrowsing to validate the request URL is not from a malicious domain, so to prevent malware spread.
GET /returns the home page
GET /s?URLENCODEDLINKTOSHORTENget you a HTTP200 with the HTML containing the short URL
GET /ANYURLget you a HTTP301 redirecting to the original lonh URL or a HTTP404.