July 19th, 2024

Show HN: Gothem stack – An Htmx and templ template

The "gothem-stack" GitHub project is a flexible template using Go, Templ, HTMX, Echo, and Mage. It supports TailwindCSS, DaisyUI, and Alpine.js, aiding quick setup and various functionalities. Persistence relies on Postgres and sqlc.

Read original articleLink Icon
Show HN: Gothem stack – An Htmx and templ template

The GitHub project "gothem-stack" is an end-to-end template utilizing htmx and go-templ with Echo for the web server and Mage for deployment. It is designed to be flexible, allowing the incorporation of other preferred technologies. The project employs technologies like Go, Templ, HTMX, Echo, and Mage, along with frontend libraries such as TailwindCSS, DaisyUI, and optional Alpine.js. Users can quickly start by installing npm and Mage, then running the provided commands. The project supports functionalities like an interactive development environment, dependency installation, templ file regeneration, Go file building, and module tidying. Persistence is typically managed using Postgres and sqlc, with potential for additional support based on demand. Interestingly, the project is named "gothem" for ease of pronunciation and interaction. More information can be found on the GitHub repository.

Related

Stamp: A Mini-Language for Templates

Stamp: A Mini-Language for Templates

Stamp is a concise mini-language for project templates, enabling easy creation and management of files and directories for various programming languages. Created by Breck Yunits and Guillaume Papin, it requires Scroll for installation and offers a simple alternative to tools like cookiecutter.

An Htmx Success Story

An Htmx Success Story

Discussion on transitioning from Django+React to Django+HTMX stack. Challenges with Django and React highlighted, solved with HTMX and AlpineJS. Improved simplicity, productivity, and compatibility with older devices. Transition driven by developer productivity.

Show HN: Open-sourced Webflow for your own app

Show HN: Open-sourced Webflow for your own app

The "Onlook" project on GitHub is a browser-powered visual editor for React + TailwindCSS apps. It includes installation, usage, roadmap, contributing guidelines, contact info, acknowledgments, and licensing. Inquire for more details.

78MB Hugo binary is full of paths and URLs

78MB Hugo binary is full of paths and URLs

Hugo, a fast and flexible static site generator written in Go, offers advanced templating and quick site rendering. Installation options include prebuilt binaries, package managers, and repositories. The extended edition provides additional features. Documentation covers various aspects, and users are encouraged to seek support on the community forum. Contributions involve diverse tasks with detailed guidelines available.

Show HN: Gluestack-UI v2 is here

Show HN: Gluestack-UI v2 is here

Gluestack is a React and React Native UI library with copy-paste components using Tailwind CSS. It promotes positive thinking and offers updates for enhanced user experience, supporting Next.js and Expo projects.

Link Icon 2 comments
By @hactually - 3 months
I did a similar opinionated Go stack - almost like for like but with a neat Flask style notification addition... this was done as a proof of concept more than anything.

https://github.com/17twenty/timstack

By @TechDebtDevin - 3 months
You should host a demo :)