Making AJAX as easy as anchor tags
:) hyperscript came after htmx
htmx is version 2 of intercoolerjs:
which had a proto-scripting language in it, the `ic-action` attribute:
i dropped that attribute (along w/ the jQuery dependency) when I created htmx, but I felt there was some merit to the idea of a lightweight scripting language that abstracted away async behavior. Once htmx had stabilized I revisited the idea, remembered my experience w/ HyperTalk as a young programmer, and decided to take a shot at that, but for the browser.
I'm very happy with how it worked out, although I expect it will always be niche when compared with htmx, which has much broader applicability and isn't as insane looking. :)
A DOM-merging algorithm
i certainly hope not
the 2.0 would drop IE support, remove the older SSE and WebSocket support, and switch a couple of defaults (e.g, using template wrapping for parsing partial content, which handles troublesome elements like table rows better, but isn't available in IE) so it would be a breaking change (not for most folks, but still, breaking for some) which I only like to do w/ major versions.
we may have one major addition: a morph swap based on idiomorph:
i'm on the fence on that one: it is currently available as an extension and maybe doesn't belong in the core, still thinking about it
so, in comparison with most libraries, 2.0 is going to be very minor
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
gromer is a framework and cli to build multipage web apps in golang using htmx and alpinejs.
I've enjoyed using htmx and created a simple library in golang to help out. Here is an example app https://github.com/pyrossh/gromer/tree/master/_example
The web framework for content-driven websites. ⭐️ Star to support our work!
Congrats on the GitHub program! Very cool.
I just had a fresh read of the docs and htmx is refreshingly, gloriously simple. So natural, self-documenting, and well thought out. It _does_ feel like a natural extension of html.
To me, the only "missing" piece of htmx is a component model, but for anyone looking for that, htmx would pair amazingly well with Astro which allows you to define and use html components without the runtime overhead of say Vue or React.
Server-driven mobile apps with React Native
there already is!
Adam Stepinski, the creator of Hypreview, built it after his experience with intercooler.js, the predecessor to htmx. It is a very interesting piece of technology and, through the magic of HATEOAS, allows you to update your mobile app instantly for all your users, without dealing with the mobile store!
There is an entire section on Hyperview, written by Adam, in part three of our book:
The missing star history graph of GitHub repos - https://star-history.com
yeah, he was the one that really started the madness:
his video posted on july 7th
</> htmx - high power tools for HTML
there is no reason that they can't tweak their services to be more hypermedia friendly if and when this approach becomes more popular
netlify (which offers free hosting for https://htmx.org, so is a sponsor of the project) is very HTML/hypermedia friendly as far as I can tell, and I don't have enough experience w/ vercel to say much other than a vague sense that they are extremely react-oriented
no reason that can't change as the market changes though: hypermedia pushes the main value locus of applications back on the server side and so server-side companies should like that
ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.
An open source multi-tool for exploring and publishing data
I dropped Accept header support from https://datasette.io/ because it's open source software that I build for other people to use, and I knew that it was very likely one of my users would choose to run it behind Cloudflare (or run it on a vendor like Vercel who might have a partnership with Cloudflare).
I invented this over 10 years ago and called it Pebbles. Got a good number of stars on GitHub. I convinced Memrise to use it in production and it helped them speed up dev a lot.
Later when I worked at Facebook I saw that someone later made a similar library internally.
a reactive Clojure dialect for web development that uses a compiler to infer the frontend/backend boundary (by hyperfiddle)
Repeating Yourself Thrice Doesn’t Turn You into a 3x Developer
5 projects | news.ycombinator.com | 30 Jul 2023
7 projects | news.ycombinator.com | 15 Jun 2023
What to use instead of a JS framework
5 projects | /r/webdev | 5 May 2023
Creating a blog with Astro and MDX
2 projects | dev.to | 22 Nov 2022
Looking for a minimalist tech stack. How pure is too pure?
3 projects | /r/webdev | 23 Jun 2022