A "useful" tool for turning hyperlinks into redirects in the name of shortening hyperlinks! 🧠 🧑‍🔬
Go to file
2023-10-08 02:08:20 -04:00
bin Initial commit++ 2023-09-23 00:44:32 -04:00
lib Got the basic thing doing the thing 2023-10-07 22:48:48 -04:00
templates Some routes 2023-10-07 15:15:55 -04:00
.gitignore Initial commit 2023-08-29 18:41:56 -04:00
Dockerfile lol, lmao 2023-10-07 23:47:09 -04:00
LICENSE Initial commit 2023-08-29 18:41:56 -04:00
META6.json Added some dependencies for gzip/base64; need to switch computers for libarchive support... 2023-10-07 21:10:33 -04:00
README.md Make verbose 2023-10-08 02:08:20 -04:00

Hyperlink-Redirect

A "useful" tool for turning hyperlinks into redirects in the name of shortening hyperlinks! 🧠 🧑‍🔬

Run locally

Install dependencies

zef -v install --deps-only .

Run the guy

./bin/hyperlink-redirect

Container stuff

Build

podman build -t hyperlink-redirect .

Tag

podman tag hyperlink-redirect \
    git.minimally.online/swaggboi_priv/hyperlink-redirect

Push

podman push git.minimally.online/swaggboi_priv/hyperlink-redirect

Pull

podman pull git.minimally.online/swaggboi_priv/hyperlink-redirect

Run

podman run -dt --rm --name hyperlink-redirect -p 3003:3000 \
    hyperlink-redirect

Generate unit file

podman generate systemd --files --new --name hyperlink-redirect

TODO

  1. Why does 'hyperlink' linger even for subsequent GET requests from different clients??