{"repo":"maragudk/gomponents-starter-kit","free":true,"listed":false,"github":"https://github.com/maragudk/gomponents-starter-kit","clone":"git clone https://github.com/maragudk/gomponents-starter-kit.git","description":"A starter kit for building a web app with gomponents, HTMX, and TailwindCSS in Go.","language":"Go","stars":104,"topics":["go","golang","gomponents","html","htmx","tailwindcss"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"gomponents-starter-kit A starter kit for building a web app with gomponents, HTMX, and TailwindCSS in Go. Made with ✨sparkles✨ by maragu: independent software consulting for cloud-native Go apps & AI engineering. Contact me at markus@maragu.dk for consulting work, or perhaps an invoice to support this project? Getting started The easiest way to get started is to Use this template to create a new repository. Or you could clone this repository the traditional way: After that, you can start the app with: If you make style changes, watch the CSS with: You can run tests and linting with: Enabling TailwindCSS auto-complete in your IDE TailwindCSS has auto-complete of classnames (and more) through IDE plugins. After you've installed the TailwindCSS plugin for your IDE, it needs some configuration to work with gomponents. Here's the config for VS Code and JetBrains IDEs: VSCode Edit vscode-settings.json and add the following: See the official plugin page for more info JetBrains/GoLand Go to Settings - Languages & Frameworks - Style Sheets - Tailwind CSS and add the following (don't delete the other config): See the official plugin page for more info Deploying The CD workflow automatically builds a multi-platform Docker image and pushes it to the Github container registry GHCR.io, tagged with the commit hash as well as latest . You can try building the image locally with: Note that you need the containerd image store enabled for this to work.","default_branch":null,"files":null,"tree":[],"storefront":"/r/maragudk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/maragudk/gomponents-starter-kit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}