Hyperlink-Redirect/README.md

49 lines
1,023 B
Markdown

# 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. Make button to do a [meta element redirect]
(https://www.w3docs.com/snippets/html/how-to-redirect-a-web-page-in-html.html)
1. Why does Libarchive choke on strings like
`https://youtube.com/watch?v=xvFZjo5PgG0`??