View on GitHub

via

via - a URL Expander. Resolve shortened URLs or redirects for final link

via - URL Resolver

Usage

Installing

go get -u github.com/peteretelej/via

Resolving a URL from the command line

via goo.gl/OZGX9M

Running your own instance of the web server

via -server 
# launches at localhost:8080

via -server -log
# launcher server and logs all resolution requests  (debug)

You can then reverse proxy the above instance with your favourite web server. (nginx, caddy..)

Or run it live

via -server -listen :8080
# launches on 0.0.0.0:8080 (public)

License: MIT