webshorten
is the tool to shorten URL by sending POST reqs to a specified URL.
Install webshorten
from sources, by running:
git clone https://github.com/PhilLar/webshorten.git
cd webshorten
go install ./cmd/webshorten
You can shorten the URL:
webshorten
OR accompany with a flag
webshorten -port 5001
OR accompany with PORT env var specified
PORT=8080 webshorten
(default port value is ":5000")
- Issue Tracker: https://github.com/PhilLar/webshorten/issues
- Source Code: https://github.com/PhilLar/webshorten