Built using Golang, SQLite, HTMX, and TailwindCSS. Fully SSR.
Tailwind build tools are the only thing of JS ecosystem that is used in this project.
To install dependencies:
npm i
To start a Tailwind "compiler":
npm run tw
go run ./cmd/migration
go run ./cmd/app
Note: for auth cookie to work, go on your browser http://127.0.0.1:8080
EMAIL_HOST_ADDRESS
: Email (gmail) for sending locker-related email fromEMAIL_HOST_PASSWORD
: Above gmail's App password (if using Gmail, which is likely...)SUPPORT_EMAIL
: Email (any type) for questions to be directed toCIPHER_KEY
: Base64 encoding for a cipher key, rungo run ./cmd/keygen
to generate one.DOMAIN
: Hosting domainDATABASE_URL
: Turso database urlDATABASE_AUTH_TOKEN
: Tursor database auth tokenADMIN_USERNAME
: Admin usernameADMIN_PASSWORD
: Admin password