Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/peteretelej/via
- Owner: peteretelej
- License: mit
- Created: 2017-05-04T12:21:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-10-06T08:36:48.000Z (almost 2 years ago)
- Last Synced: 2024-07-27T01:38:50.521Z (about 2 months ago)
- Topics: go, golang, redirect-urls, url-expand, url-expander, url-resolve, via
- Language: Go
- Homepage: https://peteretelej.github.io/via/
- Size: 27.3 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 --servervia --server --log
# launcher server and logs all resolution requests (debug)
```
Server launches at http://localhost:8080 with a Web UI for expanding URLsYou 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**