This is the LeapKit template for building web applications with Go, HTMX and Tailwind CSS.
To get going make sure you have Go 1.24 installed. Once you have Go installed, you can download the required dependencies:
go mod downloadTo run the application while in development please use the following command:
go tool devThis will use the dev tool to read the Procfile at the root of the project and start the application. It will automatically restart the app process when changes are detected in the .go files. The rest of the processes defined in the file will be running in parallel.
Once the application is running, you can access it at http://localhost:3000.
One important part of the build process is to build the TailwindCSS styles. The tailo tool will take care of this.
go tool tailo -i internal/system/assets/tailwind.css -o internal/system/assets/application.cssThen building the application can be done with the following command:
go build -o bin/app ./cmd/appThat will create a binary file named app in the bin folder at the root of the project.