Skip to content
/ go-templ-htmx Public template

Simple template of a server-side rendered Go web application using the templ library for HTML templating and the htmx javascript library.

License

Notifications You must be signed in to change notification settings

Guillembonet/go-templ-htmx

Repository files navigation

go-templ-htmx

This is a simple template of a server-side rendered Go web application using the templ library for HTML templating and the htmx Javascript library.

It also contains the Alpine.js library for some component interactivity and the toastify JS library for toast support.

Usage

To run the application with live reload, install air and use the air command.

Instead, you can also run the application with the go run cmd/main.go command and use go generate ./... to re-generate the templ files and tailwind css file.

Contributing

Feel free to contribute to this project by creating a pull request. An idea for improvement is adding middlewares for authentication.

You can also contribute ideas by creating new issues.

About

Simple template of a server-side rendered Go web application using the templ library for HTML templating and the htmx javascript library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published