Wesley Moore on Nostr: I made one of these last year too. Built in Rust and run on Deno Deploy. Takes a ...
I made one of these last year too. Built in Rust and run on Deno Deploy. Takes a similar approach where a text file is used to define the mappings. The text file is translated into Rust code at compile time to produce a static array that is binary searched when handling requests. https://github.com/wezm/mooretech-shortener