HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
bigskysoftware
htmx
JavaScript2020–2026
bigskysoftware / htmx

htmx

</> htmx - high power tools for HTML

37Distinct people
48Mentions
3Explicit recommenders
49.6KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

</> htmx - high power tools for HTML

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

Great question! I'm more familiar with htmx than alpine (TIL!), although I've never used either one. I have read the excellent HyperMedia Systems book though, and I was nodding…

calebhailey used a recommendation phrase. 3 indexed comments match. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 11:34:28 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year48 dated mentions

Observed mentions: 2020-06-22 14:51:38 UTC to 2026-01-07 09:59:04 UTC.

0510152020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 4 mentions; 2 submissions, 2 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 9 mentions; 1 submissions, 8 comments20232024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 13 mentions; 5 submissions, 8 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 13 mentions; 0 submissions, 13 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC413
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC422
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC404
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC918
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC1358
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC13013
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC110

What Hacker News says

9 sources
I am! It's my first HTMX project but I am liking it so far. HTMX has a few quirks which it took me a while to understand, but since then it has worked pretty well -- the amount of HTMX "code" I've had to write is quite small compared to the amount of JS I'd normally have to write. My main takeaways have been: - It mostly just works and simplifies things, but: - Working with page state (in my case, which sheet is loaded) in individual requests (like updating a cell) is a bit awkward -- you can either supply it via `hx-vals` or via setting a global 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 want to include additional inputs for some node. - Error ha
Read the rest
ndling is also a bit awkward, but it's not too bad once you get used to the idea that you should return HTML elements in 400s. I found https://htmx.org/extensions/response-targets/ helpful as well. - Often HTML structure doesn't allow you to limit your request scope as much as you'd like. For me the big thing is I can't just replace one column since tables are row-major -- I have to replace the whole table if a column is modified.
In Show HN: Interact with your PostgreSQL DB like a spreadsheet
I took a close look at htmx, and my impression is that the problems it addresses can be resolved with even fewer than its 4000 lines of JS [1], and without having to familiarize myself with its many opinionated approaches. The crux of the matter is to generate HTML on the server, as much as possible. I know how to achieve that without htmx. The marketing materials for htmx are also a bit off-putting to me, and the authors seem to be enjoying fueling the flames of old and useless holy wars about what REST and hypermedia "actually" are, and how we all need to get back to basics, and remember to thank Ted Nelson before every meal, etc. Their online book spends something like 30 pages explaining what hypermedia is... [2]. I prefer not to sign up for a religion when I choose a JS framework (honestly, that's a bit hard these days :-/). -- 1: ht
Read the rest
In Accidental database programming
I'm thrilled to see my project (https://mockoon.com) being part of this first cohort! It's a great opportunity but it's also good for open-source projects in general. It can only contribute to make our industry more sustainable. Here is the list of the 20 projects that have been selected: - https://github.com/analogjs/analog: Analog is a fullstack meta-framework to build applications and websites with Angular - https://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: Tools for building all types of code walkthroughs: blogs, docs, slides, tutorials, etc. - https://github.com/DioxusLabs/dioxus: Friendly React-like GUI library for desktop, web, mobile, and mor
Read the rest
e, written in Rust. - https://github.com/EddieHubCommunity/LinkFree: Connecting with your audience with a single link, showcasing your content and projects. - https://github.com/FashionFreedom/Seamly2D: Design CAD to democratize and de-centralize fashion design & production. - https://github.com/fastai/nbdev: Increase developer productivity by 10x with a new exploratory programming workflow. - https://github.com/formbricks/formbricks: Open-source Qualtrics alternative - https://github.com/GyulyVGC/sniffnet: Cross-platform application to comfortably monitor and analyse network traffic - https://github.com/JessicaTegner/pypandoc: Pypandoc provides a thin wrapper for pandoc, a universal document converter. - https://github.com/mockoon/mockoon: Mockoon is the easiest and quickest way to design and run mock REST APIs. - https://github.com/nuxt/nuxt: An intuitive framework for building web applications, built for the edge. - https://github.com/responsively-org/responsively-app: A dev-tool for web developers that aid in faster responsive web page development. - https://github.com/simonw/datasette: An open source multi-tool for exploring and publishing data - https://github.com/spyder-ide/spyder: The scientific Python development environment - https://github.com/strawberry-graphql/strawberry: A GraphQL library for Python that leverages type annotations - https://github.com/termux/termux-app: A terminal emulator for Android that provides 2000+ linux packages to code on phone - https://github.com/TimothyStiles/poly: Poly is a fast, well tested Go package for engineering organisms. - https://github.com/trpc/trpc: End-to-end typesafe APIs made easy. Never write another API contract again. Edit: formatting and updated repo links
In GitHub Accelerator: our first cohort and what’s next
> I’d love more tips for no-build-system javascript 1. MDN has a comprehensive guide on JavaScript modules [0] 2. A build system free way to build interactive websites could be to combine libraries like htmx[1] and or lit[2] or just the sub package lit-html[3]. Or just go with native web components 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
In Writing JavaScript without a build system
Actually, HTMX has a fundamental flaw if it comes to history restoration: In some scenarios it takes snapshots of the DOM for history navigation, just before navigating away from a page. If the DOM was previously modified by other JS libraries like Alpine, jQuery or any other tool, these changes end up in the history snapshot, leading to unexpected results [1]. I've had a much smoother experience with Alpine + swup [2]. Disclaimer: I became a maintainer of swup this year. [1] https://github.com/bigskysoftware/htmx/issues/1015 [2] https://github.com/swup/swup
In Alpine.js

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.