Gsxui – Shadcn-style components for Go
39 points by jackielii 4 hours ago | 3 comments

nzoschke 2 minutes ago
How does this compare to templ and templui? I see from the docs that gsx is templ compatible.

And why does this depend on node / npx? Something to do with the JSX syntax and parsing?

I wish go std templates were more ergonomic for components.

Past that I wish projects like templ or GSX have a simple go generate pipeline, and support html and text/markdown output including whitespace.

Until then I have a Frankenstein of a bunch of templating.

reply
sosodev 17 minutes ago
GSX seems interesting but I don’t understand why it depends on the node ecosystem. I just want to use Go for everything.
reply
gen3 25 minutes ago
Looks good. I normally package a webui up with vite and serve that but I'll keep this in mind
reply