Actually, this was my first plan when I proposed to fiatjaf the idea of a static gateway, but my pet nostr lib written in ruby was too limited; Go's one instead is rock solid, and njump doesn't need many interactions. I'm happy to have learned something new, golang is really nice, even if the template stuff sometimes is pure craziness :)
Discussion
This is supposedly the good thing: https://github.com/a-h/templ
But I tried and it was super cumbersome to set up and then it wasn't that great.
I'll try again in another project, then maybe someday we can switch.