astwerk

1. Setup

A new module, and the two dependencies: astwerk itself, and templ — astwerk pages are templ components, and the CLI compiles .templ files to Go.

go
mkdir mysite && cd mysite
go mod init example.com/mysite
go get github.com/LukasDerBaum42/astwerk github.com/a-h/templ

That is the entire setup. There is no config file, no project scaffold, and no hidden convention scanner — the next step is writing the site.

What does the templ CLI do?

What does go get github.com/LukasDerBaum42/astwerk do?