Gsxui – Shadcn-style components for Go

43 points - today at 5:59 PM

Source

Comments

sosodev today at 8:45 PM
GSX seems interesting but I don’t understand why it depends on the node ecosystem. I just want to use Go for everything.
nzoschke today at 9:00 PM
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.

gen3 today at 8:37 PM
Looks good. I normally package a webui up with vite and serve that but I'll keep this in mind