Cool little project! I did a similar thing recently, I wrote a pastebin that puts the file contents in the URL with brotli. [0]
It works quite well, but I'll need to update the syntax highlighting soon as at least Gleam is out of date (boy that language moves fast), and sometimes brotli-wasm throws a memory allocation error for some reason. I guess that's one cool thing that WASM brought to the table, memory handling issues.