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

Julia

JavaScript

Node.js

hapi

Python

Django

FastAPI

Flask

Lua

py4web

Java

Javalin

Spring Boot

Quarkus

ColdFusion (CFML - a JVM Language)

CFWheels Framework

C#

ASP.NET Core

Blazor

Prolog

Lisp

Clojure

Ruby

Rails

Sinatra

Rust

Scala

http4s

zio-http

Kotlin

Ktor

https://github.com/Rattlyy/htmx-ktor

Http4k

Julia

OCaml

PHP

CodeIgniter 4

Laravel

Symfony

Elixir

Phoenix

Bandit with Plug Application

F#

Giraffe

Feliz.ViewEngine.Htmx

Falco.Htmx

Suave (with Feliz)

Go

templ

elem-go

htmgo

Delphi

DelphiMVCFramework

FreePascal with Pas2JS