README ¶ go-pocketbase-htmx-templ-tailwind go pocketbase htmx templ tailwind template go docs pocketbase docs templ docs tailwind docs Prereqs install golang 1.21 install tailwind cli: https://tailwindcss.com/blog/standalone-cli install templ: go install github.com/a-h/templ/cmd/templ@latest install air: go install github.com/cosmtrek/air@latest run go get To Develop air // watches for file changes and generates template files and builds css changes To Build for Production templ generate && ./tailwindcss -i tailwind.css -o ./public/css/tailwind.css && go build -o ./main . copy public folder and main binary to a server expose port 8080 via systemd or reverse proxy (see pocketbase setup guide) run main serve --http=0.0.0.0:8080 To Build for Production (Docker) docker build . docker run -p 8080:8080 save these urls: https://git.sunshine.industries/efim/go-ssr-pocketbase-oauth-attempt https://www.reddit.com/r/pocketbase/comments/18lhedp/jwt_auth_with_htmx/ Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Directories ¶ Show internal Expand all Path Synopsis controller middleware model utils Click to show internal directories. Click to hide internal directories.