Server-Side Examples
There are many examples of integrating htmx with server-side frameworks available on GitHub. Generally speaking, most server-side frameworks are already pretty well set up to integrate with htmx - after all, most of them were rendering HTML long before JSON became popular.
Different frameworks and platforms may offer alternative systems for installing htmx - for example, in the Java / JVM ecosystem, WebJars allows the use of npm packages with popular Java build tools such as Maven and Gradle.
These examples may make it a bit easier to get started using htmx with your platform of choice.
#General Resources
#JavaScript
#Node.js
- https://github.com/rajasegar/todomvc-htmx
- https://github.com/rajasegar/htmx-twitter-clone
- https://github.com/rajasegar/htmx-trello
#hapi
#Python
#Django
- https://github.com/adamchainz/django-htmx
- https://github.com/spookylukey/django-htmx-patterns/
- https://github.com/idlesign/django-siteajax
- https://github.com/guettli/django-htmx-fun/
- https://www.photondesigner.com/articles/submit-async-django-form-with-htmx
#FastAPI
- https://github.com/renceInbox/fastapi-todo
- https://github.com/AutomationPanda/bulldoggy-reminders-app
#Flask
- https://github.com/edmondchuc/flask-htmx
- https://github.com/cscortes/htmxflask
- https://github.com/Konfuzian/htmx-examples-with-flask/
#py4web
#Java
#Spring Boot
- https://github.com/wiverson/htmx-demo
- https://github.com/wimdeblauwe/blog-example-code/tree/master/todomvc-htmx
#Quarkus
#ColdFusion (CFML - a JVM Language)
#CFWheels Framework
- https://github.com/bpamiri/cfwheels-todomvc-htmx
- https://www.forgebox.io/view/cfwheels-htmx-plugin
- https://github.com/chapmandu/cfwheels-htmx-crud
#C#
#ASP.NET Core
- https://github.com/jerriepelser-blog/htmx-with-aspnet-core
- https://github.com/mryderie/aspnet-core-htmx-example
- https://github.com/khalidabuhakmeh/Htmx.Net
- https://github.com/khalidabuhakmeh/Htmx.Net#htmxtaghelpers
- https://github.com/hlaueriksson/Markupolation/tree/main/samples
#Prolog
#Lisp
- https://github.com/rajasegar/ccl-demo-raja
- https://github.com/rajasegar/cl-trello-clone
- https://github.com/rajasegar/cl-github-timeline
#Clojure
- https://github.com/whamtet/ctmx
- https://github.com/jcpsantiago/htmx-clj-dashboard
- https://github.com/prestancedesign/babashka-htmx-todoapp
- https://github.com/dharrigan/startrek
#Ruby
#Rails
#Sinatra
#Scala
#http4s
#Kotlin
#Ktor
https://github.com/Rattlyy/htmx-ktor
#Http4k
https://github.com/corlaez/todo-hda-kt
#Julia
#OCaml
#PHP
#CodeIgniter 4
#Laravel
#Symfony
#Elixir
#Phoenix
#Bandit with Plug Application
#F#
#Giraffe
#Go
#templ
#elem-go
- https://github.com/chasefleming/elem-go/tree/main/examples/htmx-fiber-counter
- https://github.com/chasefleming/elem-go/tree/main/examples/htmx-fiber-todo