Skip to content

jonfriesen/todo-templ-htmx-tailwind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todo-templ-htmx-tailwind

This is an ultra-simple example app I used to experiment with Go, HTMX, Templ, and Tailwind.

Templ provides a much better htmp component system than the html/template standard library which struggles with even the most primitive composition. Templ on the otherhand does a great job at providing composition as well as accessing functions within go without having to pass them into the template.

HTMX extends html functionality to replace chunks of html using traditional rest implementations. This removes the need for writing client side javascript in most situations while creating modern web applications.

TailwindCSS and Go are pretty self explanatory.

Some parts of this code was generated by ChatGPT and I think some of the http server structure was borrowed from a common template that's floating around but I can't find the original source.

example todo list

About

Example todo list app that uses templ, htmx, and tailwind

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published