/via

via - a URL Expander. Resolve shortened URLs, follow redirects and return final URL

Primary LanguageGoMIT LicenseMIT

via - URL Resolver / URL Expander

  • Expands shortened URLs
  • Get final URL from a link with redirects (or shortened link)

Installation

Download the binary for your OS from Releases:

Or install using Go

go install github.com/peteretelej/via@latest

Usage

Resolving a URL from the command line

via bit.ly/3jHZKEC

Running a web server with a UI for resolving URLs

via --server 

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

Server launches at http://localhost:8080 with a Web UI for expanding URLs

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)

Web UI for the launched -server

License: MIT