Me, every time I have to deal with motherfucking Svelte.
WHY CAN'T WE JUST WRITE HTML?
Me, every time I have to deal with motherfucking Svelte.
WHY CAN'T WE JUST WRITE HTML?
You can, join us :go: and HTMX
HTMX for the win. I love the GOTH stack: Go, Templ, and HTMX.
and unasked, I give this: embedded sqlite is a blast too
SQLite is awesome. But I've been really liking mongo document databases too.
Read your bio. Did you know I made a tool in go that converts RSS Feeds to nostr profiles?
I did not, but I am aware now.
https://github.com/0ceanSlim/go-nostrss
I am going to look closely. I am working on project to do just that.
nostr:nprofile1qydhwumn8ghj7mn0wd68ytngv9c8q7t5v9mx2unw9e3k7tcpzdmhxue69uhk7enxvd5xz6tw9ec82c30qqspdudqzqx5ellme3prp68qus5se3vynsddcexkv5la5p7qxxcswjcjxsxhl you might enjoy using the #go nostr library that nostr:nprofile1qyghwumn8ghj7vf5xqhxvdm69e5k7tcpzpmhxue69uhkummnw3ezumt0d5hsqgpm7rrrljungc6q0tuh5hj7ue863q73qlheu4vywtzwhx42a7j9n5gapjsj started: https://github.com/nbd-wtf/go-nostr
That's the way it should be done. Static HTML. Generate HTML on the server if needed, minimal javascript if needed (I use "Field Exit" to signal server when user tabs out of field). Did it since the 90s. Decent corporate sites do it that way (AT&T, although I have checked recently).
Google had a system where Java classes were "compiled" to javascript and downloaded to browser on demand, with software optimizing bandwidth and user memory tradeoffs. I believe Google Maps still uses this.
I notice a number of the Nostr offerings download JS code, which then generates the HTML. I don't like this, but I haven't contributed anything better.