bigskysoftware/htmx
View on GitHub ↗ ★ 49,591 JavaScript
</> htmx - high power tools for HTML
48 mentions on Hacker News by 37 people: 10 stories, 38 comments · first 2020-06-22 · latest 2026-01-07
20082026
-
…of the htmx approach: losing DOM on swaps. I started a discussion around some of the issues here: https://github.com/bigskysoftware/htmx/discussions/3501 Someone proposed using ideomorph, but it doesn't seem to address the issues I've…
comment by igor47 · 2025-11-16 · in I made a better DOM morphing algorithm -
Yes, you can see the code here: https://github.com/bigskysoftware/htmx/blob/24e6d5d7c15e34c9... We bind `fetch` in the `ctx` object to the standard `windw.fetch` but you can replace it with whatever you want (for example in the…
comment by recursivedoubts · 2025-11-09 · in Local First Htmx -
…shadow DOM content because it uses the standard old DOM parser. Next point release should have https://github.com/bigskysoftware/htmx/pull/3185 merged hopefully which will allow the use of Document.parseHTMLUnsafe() which is the modern…
comment by latent22 · 2025-09-23 · in Mesh: I tried Htmx, then ditched it -
…of this article, but for the client htmx is as much a js lib with (dev) dependencies as any other. https://github.com/bigskysoftware/htmx/blob/master/package.j... https://github.com/vuejs/core/blob/main/package.json
comment by jddj · 2025-09-16 · in Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised -
…[4]: https://htmx.org/essays/web-security-basics-with-htmx/ [5]: https://github.com/bigskysoftware/htmx/blob/master/www/READM... [6]: https://www.getzola.org/documentation/templates/overview/ [7]: https://alpinejs.dev/essen
comment by calebhailey · 2025-06-13 · in Show HN: HyperTemplates, a pure-HTML templating system and static site generator -
htmx has supported moveBefore() since 2.0.3 in October of last year: https://github.com/bigskysoftware/htmx/blob/master/CHANGELOG... https://htmx.org/examples/move-before/ We initially asked for this new feature about two years ago and…
comment by recursivedoubts · 2025-02-05 · in Chrome 133 Supports DOM State-Preserving Move with moveBefore() -
…[2]: https://github.com/jashkenas/backbone/blob/master/backbone.j... [3]: https://github.com/bigskysoftware/htmx/blob/master/src/htmx....
comment by metafeather · 2025-01-07 · in The Future of Htmx -
…as a single file as much as the next guy, but there's almost 5k lines of code in this one file: https://github.com/bigskysoftware/htmx/blob/master/src/htmx.... They're sectioned off, so "event/log support" and "AJAX" and such are grouped…
comment by striking · 2025-01-07 · in The Future of Htmx -
…is included. We generate esm and cjs modules for people who want to use htmx in that manner though: https://github.com/bigskysoftware/htmx/tree/master/dist
comment by recursivedoubts · 2025-01-07 · in The Future of Htmx -
…to promise to be. More activity in this space from anyone and everyone is great here though! [0]: https://github.com/bigskysoftware/htmx/issues/1476 [1]: https://github.com/bigskysoftware/htmx/issues/1736 [2]:…
comment by danpalmer · 2025-01-07 · in The Future of Htmx -
…ARIA without the corresponding keyboard support. [1] https://htmx.org/examples/move-before/ [2] https://github.com/bigskysoftware/htmx/issues/1431
comment by ThibWeb · 2025-01-06 · in The Future of Htmx -
…both costs and benefits, which we've written about in "Why htmx doesn't have a build step". [1] [0] https://github.com/bigskysoftware/htmx/pull/1960 [1] https://htmx.org/essays/no-build-step/
comment by alexpetros · 2025-01-06 · in The Future of Htmx -
…notification toast announcement, with this the screen reader announces the notification correctly: https://github.com/bigskysoftware/htmx/pull/3112 The key is to mark all live regions statically before doing any htmx requests, then…
comment by yawaramin · 2025-01-06 · in The Future of Htmx -
> https://github.com/bigskysoftware/htmx/blob/1242977d11bebe56... This seems to be a scenario where switch/case blocks could make the elif-trees a bit easier to read. Also, the code could use some care about not going so deep into the Vs:…
comment by angra_mainyu · 2024-10-08 · in A modest critique of Htmx -
…the default behavior is to keep the "last" event that comes in while a request is in flight: https://github.com/bigskysoftware/htmx/blob/1242977d11bebe56... and that dumps the existing request queue and puts request created by the last…
comment by recursivedoubts · 2024-10-08 · in A modest critique of Htmx -
…anyone knows how to use htmx within a shadowrootmode to stream html out-of-order? I asked here https://github.com/bigskysoftware/htmx/discussions/2646
comment by brunoqc · 2024-07-01 · in HTML-ivating your Django web app with Htmx, AlpineJS, and streaming HTML -
…the functions from Array.prototype? [1] I can see `Array.from` used elsewhere on the code. --- 1: https://github.com/bigskysoftware/htmx/blob/master/src/htmx....
comment by emmanueloga_ · 2024-06-17 · in Htmx 2.0.0 has been released -
…of it that makes it any friendlier to "hackers" than HTMX. Seems that HTMX requires unsafe-eval? https://github.com/bigskysoftware/htmx/issues/2260
comment by leptons · 2024-03-17 · in htmx 2.0.0-beta1 -
…juggling you have to do when submitting forms that have a validation step before redirecting: https://github.com/bigskysoftware/htmx/issues/369 I’ve tried to iron out any footguns or server requirements I’ve bumped into while using HTMX &…
comment by imacrayon · 2024-03-04 · in Show HN: Alpine Ajax – If Htmx and Alpine.js Had a Baby -
Apparently it changed from 2-clause BSD: https://github.com/bigskysoftware/htmx/commit/e16f1865a494b6... (The zero clause license drops the requirements for preserving the copyright notice when distributing)
comment by Orangeair · 2024-02-17 · in Htmx become 0 clause BSD-licensed -
htmx 2.0 will be 99% compatible w/ htmx 1.0, and we'll provide a backwards compatibility extension: https://github.com/bigskysoftware/htmx/blob/v2.0v2.0/www/con... we will also continue to support htmx 1.0 for the forseeable future for…
comment by recursivedoubts · 2024-01-11 · in Is htmx Just Another JavaScript Framework? -
yep, htmx will happily run that script. they even had this bug in their demos: https://github.com/bigskysoftware/htmx/pull/1995/files
comment by winrid · 2023-12-19 · in PostgREST: Providing HTML Content Using Htmx -
…hidden input which is specified via `hx-include`. I ended up going with the second approach due to https://github.com/bigskysoftware/htmx/issues/1119 but it's not perfect -- in particular you need to duplicate specifying the input if you…
comment by db-interface · 2023-12-06 · in Show HN: Interact with your PostgreSQL DB like a spreadsheet -
…up for a religion when I choose a JS framework (honestly, that's a bit hard these days :-/). -- 1: https://github.com/bigskysoftware/htmx/blob/master/dist/htmx... 2: https://hypermedia.systems/hypermedia-reintroduction/
comment by emmanueloga_ · 2023-12-01 · in Accidental database programming -
HTMX project has an impressive simplicity that is worth reading: https://github.com/bigskysoftware/htmx/blob/master/src/htmx....
comment by edweis · 2023-08-25 · in Ask HN: Where do I find good code to read? -
…ps://github.com/Atri-Labs/atrilabs-engine : The Python web framework to build production-grade apps - https://github.com/bigskysoftware/htmx : Makes AJAX, Web Sockets, etc. available directly in HTML - https://github.com/code-hike/codehike…
comment by 255kb · 2023-04-13 · in GitHub Accelerator: our first cohort and what’s next -
…i intentionally introduced an 200ms delay so that you can see things like request indicators: https://github.com/bigskysoftware/htmx/blob/master/www/stati...
comment by recursivedoubts · 2023-04-12 · in Htmx 1.9.0 has been released -
…and a bit of AJAX. [0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guid... [1] https://github.com/bigskysoftware/htmx [2] https://github.com/lit/lit [3] https://github.com/lit/lit/tree/main/packages/lit-html
comment by dgb23 · 2023-02-16 · in Writing JavaScript without a build system -
my hack for making the `htmx:confirm` event act like it is blocking: https://github.com/bigskysoftware/htmx/blob/a3c414dcee94fd03... basically, redesign the arguments for a function such that I can call it again at a given spot with one…
comment by recursivedoubts · 2022-12-12 · in Ask HN: What's your proudest hack? -
as usual, htmx: https://github.com/bigskysoftware/htmx working on an extension to do head tag merging: https://dev.htmx.org/extensions/head-support/
comment by recursivedoubts · 2022-10-19 · in Ask HN: What not-profit-seeking project are you tinkering with this week? -
…history navigation [0]? This is the biggest issue holding me back from using the two together. [0] https://github.com/bigskysoftware/htmx/issues/1015
comment by rasso · 2022-10-17 · in Wasm-service: Htmx, WebAssembly, Rust, ServiceWorker proof of concept -
…hasn't considered back button much at all, it also clobbers the page titles in history as well ( https://github.com/bigskysoftware/htmx/issues/746 ), but that's a fixable problem.
comment by ledgerdev · 2022-02-10 · in Back-end languages are coming to the front-end -
…that lead to "generate content" like other setups. I found only a significant issue (to me) ( https://github.com/bigskysoftware/htmx/issues/596 ) but then I do something that have never done in long time with a JS library: I poke into the…
comment by mamcx · 2021-11-22 · in Ask HN: Simplest stack to build web apps in 2021? -
Almost at 3k stars HN: https://github.com/bigskysoftware/htmx/stargazers Help an idiosycratic underdog front end library out... ;)
comment by recursivedoubts · 2021-02-04 · in htmx – high power tools for HTML -
…simple to use. I'll add that the HTMX website/docs are much more approachable than this site. [1]: https://github.com/bigskysoftware/htmx
comment by kevlar1818 · 2020-12-23 · in Hotwire: HTML over the Wire -
…https://github.com/intercoolerjs/intercooler-js https://github.com/mavoweb/mavo https://github.com/bigskysoftware/htmx https://github.com/unpoly/unpoly (ordered by GitHub stars)
comment by uallo · 2020-10-25 · in Show HN: Lucia – 3kB Vue Alternative -
…or of interest in advancing HTML as a hypermedia. I readily admit I may be missing something. [1] - https://github.com/bigskysoftware/htmx/blob/master/src/htmx.... [2] - https://en.wikipedia.org/wiki/XHTML#XHTML_2.0
comment by recursivedoubts · 2020-06-22 · in Forking HTML into a static language doesn't make sense