https://motherfuckingwebsite.com/

Required reading for devs. It be like this, tho.

nostr:nevent1qqstjsuzp9nlv9s9kqzergd2kp53x67a39ewy5ut47454c6p9pju4pqpzfmhxue69uhkummnw3eryvfwvdhk6tczypglcusfyqd3g98hy8pa954ngvrfnv0xx9m3d3gc9nqa09zswt34sqcyqqqqqqgwsql7h

Reply to this note

Please Login to reply.

Discussion

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?

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.

This is why I detest js frameworks. Go works and my site is like... Just north of 200kb of code. But it's not even optimized maximally. Compiled binary is just shy of 11.5 mb