GitHunt
RA

rabbit19981023/datastar-go

simple datastar example with go, chi, templ

Datastar example with Go

  1. install templ
go install github.com/a-h/templ/cmd/templ@latest
  1. generate the templates
templ generate
  1. start server:
go run .
  1. open browser and visit http://localhost:3000

Contributors

Created January 15, 2026
Updated January 15, 2026
rabbit19981023/datastar-go | GitHunt