Cult I Mean Group
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Dessalines@lemmy.ml to Rust Programming@lemmy.ml · 1 year ago

Anyone looking for a fun small rust project? Create a crate for cleaning urls, based on the ClearUrls project

message-square
message-square
6
fedilink
27
message-square

Anyone looking for a fun small rust project? Create a crate for cleaning urls, based on the ClearUrls project

Dessalines@lemmy.ml to Rust Programming@lemmy.ml · 1 year ago
message-square
6
fedilink

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

  • Diogo Correia@masto.pt
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    @dessalines Did something similar last night. Might take a look into using ClearURLs instead: https://github.com/diogotcorreia/alt-urls-discord-bot

    • Dessalines@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Nice! Ya that could be made very multi-purpose.

Rust Programming@lemmy.ml

rust@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rust@lemmy.ml
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2 users / day
  • 4 users / week
  • 114 users / month
  • 552 users / 6 months
  • 1 local subscriber
  • 8.87K subscribers
  • 244 Posts
  • 752 Comments
  • Modlog
  • mods:
  • Nutomic@lemmy.ml
  • Joe@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org