{"repo":"grindlemire/gothem-stack","free":true,"listed":false,"github":"https://github.com/grindlemire/gothem-stack","clone":"git clone https://github.com/grindlemire/gothem-stack.git","description":"An end to end htmx and go-templ template using echo for the web server and mage for deployment.","language":"Go","stars":53,"topics":["go","htmx","template"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"&nbsp;&nbsp; gothem-stack An end to end htmx and go-templ template using echo for the web server and mage for deployment. Other than that this is unopinionated so bring all your other favorite technologies :) Go \\ T empl\\ H TMX\\ E cho\\ M age For the frontend libraries it uses tailwindcss and daisyUI for styling. You can easily integrate alpine-js or hyperscript if you desire. The example integrates with both. This template uses my graft dependency injection library to bootstrap up the server. If you would prefer a non bootstrapped version checkout the v1 branch or tag. Quickstart 1. Install npm in your path brew install node; brew install npm 1. Install mage in your path brew install mage . See https://magefile.org/ for other installation instructions 1. Run mage install 1. Run mage run 1. Open (the server is listening on :4433 but templ injects a watcher with an autoreload script) When you make changes to your templ files or any of your go code everything will regenerate and then autoreload your web page Basic Commands mage run - Run an interactive development environment that will automatically reload on any file change. Listens on port :4433 and has an autoreload page on :7331 mage install - Install all the dependencies mage templ - Do a one time regeneration of your templ files mage build - Do a one time build of the go files mage tidy - Run go mod tidy Versions - v2.x (current main ) Uses my graft library for managing the node dependencies - v1.x ( v1 branch / v1.0.0 tag","default_branch":null,"files":null,"tree":[],"storefront":"/r/grindlemire","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/grindlemire/gothem-stack/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."}