Skip to content

evanlurvey/go-htmx-poc

Repository files navigation

Objective

I just wanted to learn go templating and htmx. Ended up exploring some other ideas including:

  • automatic browser reload
  • layouts / templates
  • components which are just functions
  • automatic csrf
  • automatic forms
  • validations

TODO

  • menu bar based on login state
  • header with name
  • edit name menu
Infrastructure

k3s provisioned [with](flux https://fluxcd.io/flux/get-started/)

Running
# Build with rancher desktop / nerdctl
nerdctl -n k8s.io build -t ghcr.io/evanlurvey/htmx-poc .
Tailwind
# watch
tailwindcss -o app/static/style.css -w
# prod / ci
tailwindcss -o app/static/style.css -m

About

A scratch pad of go + htmx ideas.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages