Skip to content
serverless
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
cmd
 
 
 
 
 
 
 
 
 
 

4pr.es

A URL shortener in Go

Build Status

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.

API mapping

  • GET / returns the home page
  • GET /s?URLENCODEDLINKTOSHORTEN get you a HTTP200 with the HTML containing the short URL
  • GET /ANYURL get you a HTTP301 redirecting to the original lonh URL or a HTTP404.

About

A URL shortener in Go

Resources

License

Packages

No packages published

Languages