#convert #url #extract #highlight #transform

bin+lib uurl

A transformer and manipulator for Urls. Can be used via CLI or as a library.

3 releases

Uses new Rust 2024

0.1.2 Oct 13, 2025
0.1.1 Aug 25, 2025
0.1.0 Aug 25, 2025

#2658 in Command line utilities

Download history 177/week @ 2025-08-21 40/week @ 2025-08-28 7/week @ 2025-09-04 2/week @ 2025-09-25 8/week @ 2025-10-02 160/week @ 2025-10-09 23/week @ 2025-10-16 2/week @ 2025-10-23

185 downloads per month

BSD-3-Clause

20KB
171 lines

Uurl

Universal url: a transformer and manipulator for Urls.

Inspiration

Features

  • Find links in text using linkify
    • Bare links
    • Git SSH links
    • Markdown links
  • Color links via ANSI codes
  • Make links clickable via OSC8 codes
  • Convert bare links to Markdown links with titles
  • Extract various URL components
  • Rewrite/modify various URL components
  • Replace URLs based on template expressions
  • Sort and otherwise normalize query strings
  • Normalize and Clean URLs
    • This will require a URL classifier as different URL components are different based on their domain
    • Remove tracking parameters
    • Remove unnecessary parameters
    • Limit characters to valid characters
    • Git URLs
      • HTTP vs SSH
      • Be able to switch between various git providers
      • Truncate a github url to it's basic path i.e. ORG_OR_USER/REPO
  • Switch between lib.rs and crates.io
  • Add whitespace and unicode normalization for link metadata
  • Add custom formatting options for markdown links
  • Figure out how to grab the right title when Anubis or other anti-scripting measures are in place

Dependencies

~16–35MB
~534K SLoC