An exploration of Go templates, HTMLX, and just a touch of hyperscript.
This is a functional prototype. It is not, nor does it pretend to be, production-ready code.
Huge hat tip to the Golang app skeleton provided by the folks at Ad Hoc that made the app server code so much more legible than my first pass, but still kept things dead simple and easy to develop against. It was a nice piece of kit for a simple exploration like this.
-
Clone this repo
-
Install the environment variables; this cannot be done from the install script because the script has no access to the operating shell environment (this trips me up more often than I'd like to admit)
cp .envrc.example .envrc && direnv allow .
-
Run the install script from the project root
bash ./install