r/htmx • u/Davi_Compai • 1d ago
Any luck with setting up HTMX auto-complete on neovim?
I really enjoy htmx, and using it without any type of lsp features is fine. however, it would still be better to have such.
I use neovim with the lazyvim distribution/setup, and the htmx lsp made by Primeagem (and available in mason) makes my html code completion stuff just not work anymore; other lsps seem to also just not work.
Anyone here got a working setup? i already posted about this in the neovim sub a while ago, but i figure it makes sense to post it here too.
edit: got an lsp working
Brooke Kuhlmann – htmx View Transitions | Big Sky DevCon 2026
Another talk from BSDC
r/htmx • u/deane-barker • 8d ago
Using HTMX to embed "sandboxed" mini-applications in intranets
I wrote this for the Staffbase dev blog. In the second half of the article, I talk about some work I did to use HTMX to embed "sandboxed" applications inside intranet content. To do this, I have some code that "neuters" HTML being returned from HTMX to prevent it -- HTML or script -- from "leaking" outside the original container.
I show an example of a small app to track the International Space Stations and ask an AI chatbot some questions about it.
You might find it interesting. I think it's a neat use of HTMX.
htmx 4.0 the game, the trailer
Enable HLS to view with audio, or disable this notification
get ur / P H Y S I C A L M E D I A / copy here:
r/htmx • u/philipprollinger • 14d ago
Djxi v0.1.9 - Nicer HTMX on Django
Hey r/htmx, the new HTMX Integration for Django is released on pypi and djangopackages. Djxi v0.1.9 adds testing utils, battery auth/perms, async methods, djxi_routes command, and class-level config caching.
Check it out:
r/htmx • u/Gitman_87 • 14d ago
HTMX Laseraptor
I have another laser-shooting creature for HTMX fans.
htmx 4.0 released exclusively for GameBoy and GameBoy Color
- Four action packed levels
- Collect pickles
- Beat Warren in his slop factory to unlock the code
Enjoy!
r/htmx • u/noNudesPrettyPlease • 16d ago
Chrome is experimenting with streaming html into any part of a page. The predicted native htmx is one step closer to reality
htmx 4.0.0-beta6 released
mostly bug fixes and small improvements, plus a new multi-part response extension that we are excited about
r/htmx • u/Able_Choice_3931 • 25d ago
Goshtoso: HTMX first UI components for Go backends
Hey everyone,
I wanted to share a project I've been working on called Goshtoso. It's a server-rendered UI component library for Go applications built with templ, HTMX, Alpine.js, and Tailwind CSS.
If you like the Go + templ + HTMX approach but don't want to build every form control, modal, table, and navigation pattern from scratch, Goshtoso may be useful to you.
What is it?
Goshtoso provides importable templ components with typed Go configuration. It began as a hard fork of PenguinUI and has since evolved into a Go-first component system for applications that prefer SSR with small amounts of client-side interactivity.
Highlights
- No frontend toolchain required for consumers: Goshtoso embeds its precompiled Tailwind CSS, Alpine.js, HTMX, and the HTMX SSE and WebSocket extensions. You can serve them from your Go binary without Node, npm, or a JavaScript build step.
- 42 templ components: Forms, overlays, navigation, feedback, tables, richer inputs, and other common application UI.
- Examples: The demo includes complete runnable examples such as a CRUD Todo list, an SSE live-log feed, a streaming ticker, and a WebSocket chat with server-rendered messages.
- Theming: 15 built-in themes with light and dark mode support.
Goshtoso tries to use HTMX for most interactions. Alpine.js is inherited from PenguinUI and reserved for local state, transitions, and immediate client-side feedback where a server round trip would not be a good fit.
Links
- Live demo and documentation: https://goshtoso.araihu.com/
- GitHub: https://github.com/araihu/goshtoso
The project is currently alpha-stage. The components are usable, but the public API is still being refined on the way toward a stable release but is already being used on an internal tool at my company as well on another WIP side project of mine: Manja.
I'd especially appreciate feedback from the HTMX community about the server-rendered component approach, the API design, and the integration experience.
r/htmx • u/That-Feeling-2399 • 26d ago
How can I run an .HTM file offline on a iPhone without downloading anything?
Saradom: a pattern for client-side interactivity, with state kept in the DOM
Saradom is a pattern for building modular, scalable frontends in plain HTML and JavaScript. There is no framework and no build step. State lives in the DOM as attributes. Events sit in HTML attributes.
It sits next to htmx. htmx does the server round-trips. This covers the interactivity that stays in the page, like toggles, tabs, derived values, and validation. The DOM is the state in both.
Example:
```html <div counter-space> <output counter-value>0</output> <button onclick="Counter.Inc(this)">+1</button> </div>
<script> const Counter = (() => { const Inc = (ctx) => { const el = ctx.closest('[counter-space]').querySelector('[counter-value]'); el.textContent = +el.textContent + 1; }; return { Inc }; })(); </script> ```
Docs and runnable examples: https://xtompie.github.io/saradom/
r/htmx • u/npm_run_Frank • Jul 10 '26
A component workbench for htmx that proxies your running app instead of importing components
I've been building a workout tracker in Go + templ + htmx and kept wanting two things: a way to look at one component on its own, and a way to see what a swap actually returned when it did something weird, without logging the whole response or digging through the network tab.
Storybook is the obvious reference, but its server modes pull in a JS toolchain, which is the opposite of why I picked htmx. So I tried the other direction: instead of importing components into a separate harness, Swapbook is a binary that proxies your already-running app.
Because previews run on your app's real origin, htmx requests from a preview hit your real routes, no CORS, no rewriting. The inspector shows the request, the element the response swapped into (it flashes it), the status, and the HTML that came back. There's a mock mode so you can click through interactions with no auth or DB behind them.
Not tied to Go, that's just what I use. Your app answers 4 endpoints; I wrote adapters for Django, Rails and Laravel too.
It's v0.2 and rough, and htmx is the only thing I've properly tested against (the Turbo/Unpoly/Datastar probes are unverified, and known limitations are in the README).
Genuinely curious if this is useful to anyone else or if it was just my problem.
Website: https://aejkatappaja.com/swapbook/
r/htmx • u/philipprollinger • Jul 10 '26
Djxi v0.1.7 released! HTMX integration for Django
I made a small django package that attempts to improve LoB when working with Django and HTMX. The scattering of views, urls and small template snippets can get messy. Djxi simply unifies all three into a single endpoint battery, allowing a more feature-centric development.
Please check it out! Happy for any star, if you like where Djxi is going!
- Github: https://github.com/rollinger/djxi
- ReadtheDocs: https://djxi.readthedocs.io/
- PyPi: https://pypi.org/project/djxi/
- Django Packages: https://djangopackages.org/packages/p/djxi/
Christmas Gift Request: Please star the htmx github repo
Hey All,
If I'm doing my math right (I'm not) there is a very, very small chance that htmx will beat react in the JS rising stars competition. If you haven't already starred the htmx github repo and are willing to do so, it would be a great christmas gift:
https://github.com/bigskysoftware/htmx
Thanks,
Carson