Deploy on your local machine
The application can be deployed locally as a compute-local forwarder, similar to the GoLinks project. To do this:
-
Build the application
-
Move it to a suitable directory
-
Write some URLs to a place that the application can read
-
Enable the binary to bind ports lower than 1024 without needing root privileges (Linux Only)
-
Create a systemd unit to manage the application
-
Reload systemd
-
Start, and enable (at boot) the service
-
Add an entry in the "/etc/hosts" file pointing at localhost, with an appropriate prefix
-
Navigate to
http://x40
in your browser. It'll probably warn you about HTTPS, but you can click through that.