No description
  • Go 57.7%
  • templ 40.7%
  • Makefile 1.1%
  • Dockerfile 0.4%
Find a file
unurled 6f711d163e
Some checks failed
Docker Build & Push / docker (push) Failing after 2s
Merge pull request 'Update alpine Docker tag to v3.24' (#22) from renovate/alpine-3.x into main
Reviewed-on: #22
2026-07-13 13:48:31 +02:00
.forgejo/workflows Update actions/checkout action to v7 2026-06-18 18:03:50 +00:00
cmd Add CSRF protection and bot defenses 2026-06-03 15:07:31 +02:00
ent Add Quiz entity, service, handlers and templates 2026-06-02 14:19:35 +02:00
internal Update service.go 2026-06-18 11:18:51 +02:00
web Add CSRF inputs to forms in templates 2026-06-22 15:19:57 +02:00
.air.toml init rewrite 2026-03-10 09:51:33 +01:00
.env.example Add last_login tracking and log level support 2026-03-24 11:32:52 +01:00
.gitignore init rewrite 2026-03-10 09:51:33 +01:00
docker-compose.yml Add last_login tracking and log level support 2026-03-24 11:32:52 +01:00
Dockerfile Update alpine Docker tag to v3.24 2026-06-10 00:02:49 +00:00
go.mod Add CSRF protection and bot defenses 2026-06-03 15:07:31 +02:00
go.sum Add CSRF protection and bot defenses 2026-06-03 15:07:31 +02:00
LICENSE.md Add LICENSE.md 2026-05-04 14:17:52 +02:00
Makefile Add Quiz entity, service, handlers and templates 2026-06-02 14:19:35 +02:00
README.md Drop bun bundler; use Tailwind CLI and CDN scripts 2026-06-02 13:06:48 +02:00
renovate.json Add renovate.json 2026-05-07 18:48:23 +00:00

cnampagnon-go

Server-rendered Go web app (chi · ent · templ · Tailwind v4) for class schedules, homework, short-URL redirects, and Discord reminders.

Develop

Requires Go 1.25+. Frontend JS (htmx + Alpine) is loaded from a CDN; CSS is built with the Tailwind standalone CLI (no Node or bun required — make css downloads it).

make build        # build CSS + templ + Go binaries
make run          # build and run the server
make dev          # live-reload (requires air)
make dev/css      # watch Tailwind CSS
make dev/templ    # watch and regenerate templ
make test         # run tests
make help         # list all targets

Configuration is via .env (see .env.example).