Live data from Hacker News

Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

swag.htmx.org

41–50 of 216 posts

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#41

HTMX is awesome. I've replaced several OSS web apps on my home server with HTMX + Go + PostgreSQL replacements. The results are lightweight, responsive, work great on desktop and mobile alike, all with the absolute minimum complexity required. The codebases are easy to understand and modify, and so far I'm going months between updates (mostly just minor bugfixes for my applications). I fully expec my mature apps will…

Are any of these open source? I've gone down the go/htmx/pg path lightly a few times and I haven't loved the feel of it, but maybe I'm doing it wrong. I think just server side templating just starts feeling icky in go so maybe I'm just missing a good pattern or library.

I don't want to ID my account but they basically look like:

- OpenAPI API spec and using https://github.com/oapi-codegen/oapi-codegen/ to generate the types, server interface, and client library

- Standard library http package for the API server implementation

- Standard library template/html package for generating the dynamic parts of the webpage content

- Static web content is embedded within the Go binary (https://pkg.go.dev/embed) and served through server routes

- api served from /api route, htmx webpage served from /

- no ORM, mostly using standard library database/sql package for DB transactions, maybe reaching for a query builder library for more complex queries like complex search functionality

- Local S3 compatible object store for dynamic binary data like user-uploaded images and video. Local filesystem can be fine for small scale stuff.

For my home server I have authn/authz happening at the OS/infra layer, but if you need multitenancy you can pretty easily integrate an OAuth/OpenID authn/authz middleware for login with Google or whatever.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#44

hello all, we are releasing htmx 4.0 on the Game Boy and Gameboy Color (thank you rcy for submitting) it is a real, honest-to-goodness mario-bros inspired GameBoy game with four levels over three biomes ending in a slop factory where you battle final boss warren buffering (an online character I beef with, we are friends) if you beat him it unlocks the source code for htmx 4.0 game was written by Stephen Mitchell (aka…

Oh hey, I made GB Studio, really cool to see it being used for this :) I've got some nice features in progress for the next version https://www.youtube.com/watch?v=q8UKwV1gJAI

Sweet - thanks for your work on GB Studio, Chris. The music, sprite and palette tools were invaluable during development.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#45
post #34

Earlier quoted context omitted.

Wait but where do we get a gameboy?

modretro has new ones https://modretro.com/products/chromatic-tetris-bundle you can find cheaper ones on amazon/temu too

The Chromatic is an awesome experience to play. The HTMX 4 game has an auto-loader which immediately drops you into the game at your last checkpoint. Since the Chromatic has no boot screen, you're back in play within a second of powering on the system.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#50

hello all, we are releasing htmx 4.0 on the Game Boy and Gameboy Color (thank you rcy for submitting) it is a real, honest-to-goodness mario-bros inspired GameBoy game with four levels over three biomes ending in a slop factory where you battle final boss warren buffering (an online character I beef with, we are friends) if you beat him it unlocks the source code for htmx 4.0 game was written by Stephen Mitchell (aka…

Did you use the built in GB studio sound engine? If so that's my code :) Always enjoyable when it pops up in places like this. Looks like a fun project.

Yes, we did. It was a blast using that to make the sounds and music.

Got really good at using it by the end of the project. You can listen to the trailer music here. Let me know what you think.

https://www.youtube.com/live/9ubSJGyB21Q?si=sz-8pxPs6zxVYMfY...

Post reply on HN