https://github.com/joacod/go-htmx-playground
Go + HTMX, playground.
https://github.com/joacod/go-htmx-playground
echo go htmx tailwindcss
Last synced: about 1 month ago
JSON representation
Go + HTMX, playground.
- Host: GitHub
- URL: https://github.com/joacod/go-htmx-playground
- Owner: joacod
- License: mit
- Created: 2023-12-18T23:43:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-21T23:21:14.000Z (over 2 years ago)
- Last Synced: 2025-07-30T22:39:28.057Z (10 months ago)
- Topics: echo, go, htmx, tailwindcss
- Language: Go
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go + HTMX, playground
[](https://github.com/joacod/go-htmx-playground/blob/main/LICENSE)
[](https://go.dev/)
[](https://tailwindcss.com/)
## 👋 Introduction
Project created using [Go](https://go.dev/), [Echo](https://echo.labstack.com/), [Templ](https://github.com/a-h/templ), [HTMX](https://htmx.org/) and [Tailwind CSS](https://tailwindcss.com/)
## 📋 Prerequisites
- Install [Go](https://go.dev/) and [Templ](https://templ.guide/quick-start/installation).
- Download [Tailwind CSS standalone cli](https://tailwindcss.com/blog/standalone-cli), and copy it in the root folder.
## 💻 Development
**Generate templates:**
If you modify any .templ file you need to generate the templates again.
```bash
templ generate
```
**Tailwind CSS:**
Start a watcher:
```bash
./tailwindcss -i css/input.css -o css/output.css --watch
```
Compile and minify your CSS for production:
```bash
./tailwindcss -i css/input.css -o css/output.css --minify
```
**Run the development server:**
```bash
go run /cmd/main.go
```
Open [http://localhost:8080](http://localhost:8080) with your browser to see the web.
## ☕️ Did you like the project?
You can colaborate with me giving a star ⭐️ to the project or
[](https://www.buymeacoffee.com/joacod)
Thanks! 😃