@risottobias

Datastar is single file on the front-end driven from the backend i.e. from golang. The php code you asked about contains construction of a full html page. I did not analyse the code why that's there, just saw it.

I mentioned the maintainer uses SQLite and NATS to bootstrap, but you don't need that. You can have a single golang file in your project, do the json serializing and any html if that is needed.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://social.coop/users/smallcircles/statuses/114431284134116708 on your instance and quote it. (Note that quoting is not supported in Mastodon.)