Hyperlink-Redirect/README.md

51 lines
1.1 KiB
Markdown
Raw Normal View History

2023-08-29 18:41:56 -04:00
# Hyperlink-Redirect
2023-09-23 00:44:32 -04:00
A "useful" tool for turning hyperlinks into redirects in the name of shortening hyperlinks! 🧠 🧑‍🔬
2023-09-23 01:03:27 -04:00
## Run locally
### Install dependencies
2023-10-08 02:08:20 -04:00
zef -v install --deps-only .
2023-09-23 01:03:27 -04:00
### Run the guy
./bin/hyperlink-redirect
2023-09-23 01:03:27 -04:00
2023-10-08 00:06:08 -04: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 00:44:32 -04:00
## TODO
2023-10-31 21:47:27 -04:00
1. Switch templates to
[Template::Mustache](https://github.com/softmoth/raku-Template-Mustache)
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`??