via - A URL Resolver
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
main.go

README.md

via - URL Resolver

  • Expands shortened URLs
  • Get final URL in a link with redirects
  • etc

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)