Install

LiveTemplate is a Go framework. The minimum to get a reactive page running is one go get.

Add the framework

go get github.com/livetemplate/livetemplate

That's it for the server side. The TypeScript client (loaded from CDN by default) wires up the browser side automatically — you'll add a single <script> tag in your template; no npm step needed for getting started.

Optional: install the lvt CLI

The lvt CLI generates LiveTemplate apps with database scaffolding, auth, and a router pre-wired. Optional — you can write apps directly in Go without it.

go install github.com/livetemplate/lvt/cmd/lvt@latest
lvt new myapp
cd myapp && lvt serve

See the CLI guide for the full command reference.

What next?