This would entail:
- Pulling in the ClearUrls rules as a git submodule.
- Reading / transforming the json there into Rust structs.
- Creating a Rust crate that runs a
.clean(input_url) -> String
Lemmy issue: https://github.com/LemmyNet/lemmy/issues/4905
This would entail:
.clean(input_url) -> String
Lemmy issue: https://github.com/LemmyNet/lemmy/issues/4905
@dessalines Did something similar last night. Might take a look into using ClearURLs instead: https://github.com/diogotcorreia/alt-urls-discord-bot
Nice! Ya that could be made very multi-purpose.