#Firefox has this great feature called https://color.firefox.com, which allows to create custom themes and serialize them to URLs like “https://color.firefox.com?theme=
So I thought it would be a piece of cake to generate such a URL from my #emacs theme, right? Well…
Turns out Firefox (deferring to some obscure npm library) uses the following sequence:
- msgpack v5
- lzma
- url-safe modification of base64
just to encode the JSON represenation of theme.
Overengineering? Probably…