Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/peteretelej/via

via - a URL Expander. Resolve shortened URLs, follow redirects and return final URL
https://github.com/peteretelej/via

go golang redirect-urls url-expand url-expander url-resolve via

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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:
- [**Releases page**](https://github.com/peteretelej/via/releases/latest)

Or install using Go
``` bash
go install github.com/peteretelej/via@latest
```

## Usage
Resolving a URL from the command line
``` bash
via bit.ly/3jHZKEC
```

Running a web server with a UI for resolving URLs
``` bash
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
``` bash
via --server --listen :8080
# launches on 0.0.0.0:8080 (public)
```

Web UI for the launched `-server`

License: **MIT**