2023-08-29 22:41:56 +00:00
|
|
|
# Hyperlink-Redirect
|
|
|
|
|
2023-09-23 04:44:32 +00:00
|
|
|
A "useful" tool for turning hyperlinks into redirects in the name of shortening hyperlinks! 🧠 🧑🔬
|
|
|
|
|
2023-09-23 05:03:27 +00:00
|
|
|
## Run locally
|
|
|
|
|
|
|
|
### Install dependencies
|
|
|
|
|
2023-10-08 06:08:20 +00:00
|
|
|
zef -v install --deps-only .
|
2023-09-23 05:03:27 +00:00
|
|
|
|
|
|
|
### Run the guy
|
|
|
|
|
2023-10-08 01:10:33 +00:00
|
|
|
./bin/hyperlink-redirect
|
2023-09-23 05:03:27 +00:00
|
|
|
|
2023-10-08 04:06:08 +00:00
|
|
|
## 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
|
|
|
|
|
2023-09-23 04:44:32 +00:00
|
|
|
## TODO
|
|
|
|
|
2023-11-01 05:57:27 +00:00
|
|
|
1. Validate submitted URLs
|