Take a look at jouble’s modifications later, and absorb some optimizations. 🫡
I liked this so much that I wanted to host it directly as the homepage of a khatru relay.
So I started trying to extract the electron stuff that was hardcoded into it and ended up rewriting all the Nostr-related logic and some of the other parts too and ended up with https://git.fiatjaf.com/jouble
It's hosted at https://jouble.surge.sh as a standalone web client, and embedded in https://pyramid.fiatjaf.com/browse for browsing just that relay (although it will load metadata, replies, reactions and parent posts from elsewhere when you click).
Discussion
Hopefully they are actual optimizations and not me just destroying everything.
Please beware of other tons of unnecessary changes I did like with import paths and other stuff just because I am a disturbed person.