GithubHelp home page GithubHelp logo

awesome-htmx's Introduction

Awesome Htmx Awesome

An awesome list of resources about htmx such as articles, posts, videos, talks and more.

Hoping to keep this list updated as much as possible, any new links through PRs are appreciated.

Contents

Official

BlogPosts

Tools

  • Sprig - Craft CMS plugin.
  • simpleui - Clojure backend helpers for htmx.
  • django-htmx - Django integration.
  • django-js-lib-htmx - Django package containing the htmx scripts.
  • htmx-go - Go integration compatible with net/http, prioritizing type safety.
  • htmx-rails - Rails integration.
  • htmx.net - ASP.NET Core integration (Htmx Extension Methods, TagHelpers, Htmx.Config)
  • Giraffe.Htmx - Extensions for Giraffe to support development with htmx.
  • htmx-spring-boot - Spring Boot support library for htmx
  • IntelliJ htmx plugin
  • codeigniter-htmx - CodeIgniter 4 framework integration.
  • htmx-ext-shoelace - An extension to make Shoelace elements work seamlessly with HTMX.
  • laravel-htmx - Laravel integration for htmx.
  • Hwy - Remix-inspired TypeScript metaframework using HTMX instead of React.
  • DelphiMVCFramework - DelphiMVCFramework integration support for htmx (class helper in MVCFramework.HTMX)
  • elem-go - A Go library for building HTML with htmx.
  • Mojolicious::Plugin::HTMX - An HTMX plugin for Mojolicious (a Perl web Framework)
  • fasthx - HTMX utility with decorator syntax for FastAPI that works with any templating engine (Jinja included).
  • ludic - Lightweight framework for building dynamic HTML pages in pure Python with HTMX.
  • Bootify.io - Create Spring Boot apps with Thymeleaf and htmx in the browser.

Videos

Examples by Back-end

ASP.net

Clojure

Common Lisp

JavaScript

Typescript

  • TodoMVC App - TodoMVC App built with Typescript, JSX, express, htmx and _hyperscript deployed on vercel/netlify.

Express

Rust

  • TodoMVC App - TodoMVC App built with Rust, Astra, maud, HTMX and _hyperscript. Astra runs a small event I/O loop and maud is blazing fast, super type-safe, and easy to deploy.

Go

  • pagoda - Rapid, easy full-stack web development starter kit in Go with HTMX support and examples.
  • Pushup - A server-side, page-oriented web framework for the Go programming language.
  • Simple Counter App - A simple counter app built with htmx, elem-go, and Go Fiber.
  • Todo App - A todo app built with htmx, elem-go, and Go Fiber.
  • Realtime Todo App - This is a Go Todo App using WebSockets, HTMX, and DOM-Morphing.
  • TodoMVC App - TodoMVC App built with Go, </>templ, htmx and _hyperscript.
  • GO HTMX - Seamless HTMX Integration for Go Applications.

Java

Kotlin

  • todo-hda-kt - TodoApp as a Hypermedia Driven App with parallel browser tests
  • htmx-ktor - Fullstack CRUD app example made with Ktor (Backend), kotlin.html (Templates), SimpleCSS (Styling), PostgreSQL (DB), Docker (Deployment)

Python-based (Django, FastAPI, Flask)

Ruby

  • sinatara-htmx - Example of a Sinatra app using HTMX for implementing an interactive search
  • pokebutt-htmx - Pokebutt clone using htmx.
  • htmx-todo-app - A little to-do app and a short demo of htmx built with Sinatra.

PHP

Delphi

Zig

  • zig-htmx - Example chat app written in zig + htmx (websockets).

Other

  • declswiplweb - End to end declarative web programming with no JS using htmx and SWI-Prolog.
  • htmx-modal-example - An experiment to work design modal dialogs in HTMX.
  • quarkus-htmx-todos - Todo App in Quarkus with htmx.
  • htmx-ai - Use ChatGPT Code Generation as a Backend for HTMX

Podcasts

awesome-htmx's People

Contributors

a-toms avatar adamchainz avatar angelofallars avatar aussieguy0 avatar bencroker avatar brndnfshr avatar cemrehancavdar avatar collinstommy avatar donseba avatar hmshafeeq avatar ibmendoza avatar ilessing avatar jackatomenapps avatar jacklinke avatar marcusschiesser avatar marty331 avatar michael-yin avatar michalsn avatar mikeckennedy avatar mjhea0 avatar paluigi avatar paveldedik avatar praveengandhi avatar rajasegar avatar rattlyy avatar rmrt1n avatar sjc5 avatar volfpeter avatar whamtet avatar wimdeblauwe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesome-htmx's Issues

Broken links

Hello, I found some broken links:

Organize examples by back-end

There are so many examples at this point that it might be beneficial to separate them by back-end.

Maybe group as follows:

  • ASP.net
  • Clojure
  • Common Lisp
  • Express
  • Flask
  • Python-based (Django, FastAPI, Flask)
  • Ruby
  • Other

This could of course be modified/expanded later as needed.

I'd be happy to submit a PR for this if it is seen as beneficial.

htmx and json2html

Hi everyone.

I created a custom button in json2html with htmx.

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title> json2html, htmx and boostrap-ui </title>
    <link href="https://meyerweb.com/eric/tools/css/reset/reset200802.css" defer async="true"/>
    <link href="https://necolas.github.io/normalize.css/8.0.1/normalize.css" defer async="true"/>
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous" defer async="true"/>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/json2html/2.1.0/json2html.min.js" defer async="true"></script>
    <script src="https://unpkg.com/[email protected]" integrity="sha384-7aHh9lqPYGYZ7sTHvzP1t3BAfLhYSTy9ArHdP3Xsr9/3TlGurYgcPBoFmXX2TX/w" crossorigin="anonymous" defer async="true"></script>
  </head>
  <body>
    <script>
    // have a button POST a click via AJAX
    const button = {'<>':'button', 'class':'button', 'hx-get':'https://pokeapi.co/api/v2/pokemon/ditto',' hx-swap':'outerHTML', text:'Click Me'};
    /*
    @< ! -- have a button POST a click via AJAX -- >
    @< button hx-post="/clicked" hx-swap="outerHTML">
    @  Click Me
    @< / button>
    */   
        
    //render
    document.write(json2html.render({},button));
    
</script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/json2html/2.1.0/json2html.min.js" defer async="true"></script>
    <script src="https://unpkg.com/[email protected]" defer async="true"></script>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous" defer async="true"></script>
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous" defer async="true"></script>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-mQ93GR66B00ZXjt0YO5KlohRA5SY2XofN4zfuZxLkoj1gXtW8ANNCe9d5Y3eG5eD" crossorigin="anonymous" defer async="true"></script>  
</body>
</html>

add section "MadeWithHTMX"

one section where people could feature their SaaS or whatever product using htmx in the stack would be great

HTMX Playground

I've made a playground for HTMX, and I'd love for it to be added here as a learning resource, but I'm not sure which category it should fall under :)

Any leads?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.