htmx VS intercooler-js

Compare htmx vs intercooler-js and see what are their differences.

htmx

</> htmx - high power tools for HTML (by bigskysoftware)

intercooler-js

Making AJAX as easy as anchor tags (by bigskysoftware)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
htmx intercooler-js
562 11
31,071 4,727
8.6% 0.7%
9.5 0.0
5 days ago over 1 year ago
JavaScript HTML
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

htmx

Posts with mentions or reviews of htmx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-09.
  • Show HN: ZakuChess, an open source web game built with Django, Htmx and Tailwind
    3 projects | news.ycombinator.com | 9 Mar 2024
    Apart from the source code itself, the repo's README also gives a bit more details about the various packages I used.

    1. htmx: https://htmx.org/

  • 🤓 My top 3 Go packages that I wish I'd known about earlier
    6 projects | dev.to | 1 Mar 2024
    ✨ In recent months, I have been developing web projects using GOTTHA stack: Go + Templ + Tailwind CSS + htmx + Alpine.js. As soon as I'm ready to talk about all the subtleties and pitfalls, I'll post it on my social networks.
  • FLaNK Stack 26 February 2024
    50 projects | dev.to | 26 Feb 2024
  • Go + Hypermedia - A Learning Journey (Part 1)
    6 projects | dev.to | 23 Feb 2024
    I've been digging into HTMX lately (using Python web frameworks) and find the concepts and approach to be interesting and promising. The idea of hypermedia driven systems over the current practice of JavaScript based frameworks (I never really got into React, played with Vue, and enjoy Svelte/SvelteKit) and the ability to chose your language/framework for the backend while primarily leveraging HTML/CSS on the frontend just seems refreshing.
  • Htmx become 0 clause BSD-licensed
    3 projects | news.ycombinator.com | 17 Feb 2024
    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)

    3 projects | news.ycombinator.com | 17 Feb 2024
  • Web frameworks we are most excited for in 2024
    5 projects | dev.to | 13 Feb 2024
    It would be a sin not to start with something that prides itself on being the front-end library of peace. HTMX skyrocketed in popularity in 2023, gaining most of its GitHub stars during the past year. HTMX is not your average JS framework. If you work in HTMX, you will spend most of your time in the world of hypermedia, looking at web development from a completely different pair of eyes as compared to our usual JS-heavy outlook on modern web development. HTMX leverages the power of the concept of HATEOAS (Hypermedia as the Engine of Application State), enabling developers to access browser features directly from HTML, instead of using Javascript.
  • The Front-End Development we’re used to is dying
    3 projects | dev.to | 9 Feb 2024
    htmx - high power tools for html
  • Use PostgREST and HTMX to Build RESTful APIs from PostgreSQL Databases
    4 projects | dev.to | 5 Feb 2024
    PostgREST is a standalone web server that turns your PostgreSQL database into a RESTful API using the database's structural constraints and permissions to define the API's endpoints and operations. In this tutorial, you will create a simple note-taking app by leveraging PostgREST to construct a RESTful API for the app and using htmx to deliver HTML content.
  • VueJS turns 10 years old
    5 projects | news.ycombinator.com | 4 Feb 2024
    Vue with Vite (the builder/runner) is a stable, open source option. It is really a lightweight start where you're mostly writing HTML with interpolated data, and Vue is updating values correctly and performantly. Just build your reactive HTML app in one file and break into separate components as you're feeling the spirit. https://vuejs.org/guide/quick-start

    Mithril if you just want to drop in want a tiny, complete reactive library that doesn't require a build step--this one is most like what you might end up creating in a large jQuery app. You can understand everything from the homepage. https://mithril.js.org/

    HTMX if you really like HTML conventions. This doesn't feel jQuery-like and depends on your approach to your server app. https://htmx.org/

intercooler-js

Posts with mentions or reviews of intercooler-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-04.
  • Rage: Fast web framework compatible with Rails
    12 projects | news.ycombinator.com | 4 Dec 2023
    I used HTMX since the intercooler days [0] but the stuff you can make is rather limited. Also you still need the JS to deal with a11y things like expanded state (or hyperscript, apparently).

    If you have a lot of components to implement, everything requires thinking.

    I really love it for simple applications though. Resist implementing a complicated menu, live notifications, an editable data-table and such non-web-native things and you can create the fastest CRUD app ever.

    And you will need another client, but that's not really an issue if your view model does not contain non-public data (it shouldn't), as you can convert it to JSON at the same endpoint and call it an API.

    [0]: https://intercoolerjs.org/

  • Htmx is part of the GitHub Accelerator
    12 projects | news.ycombinator.com | 16 Aug 2023
    :) hyperscript came after htmx

    htmx is version 2 of intercoolerjs:

    https://intercoolerjs.org

    which had a proto-scripting language in it, the `ic-action` attribute:

    https://intercoolerjs.org/attributes/ic-action

    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. :)

    12 projects | news.ycombinator.com | 16 Aug 2023
    to an extent, there was `jQuery.get` but it wasn't tightly integrated with HTML

    the original version of htmx was intercooler.js:

    https://intercoolerjs.org

    released in 2013, and that version depended on jQuery

  • Writing JavaScript without a build system
    13 projects | news.ycombinator.com | 16 Feb 2023
  • We're breaking up with JavaScript front ends
    18 projects | news.ycombinator.com | 10 Dec 2022
  • Ask HN: What are your “scratch own itch” projects?
    34 projects | news.ycombinator.com | 13 Nov 2022
    You asked for it:

    https://htmx.org

    https://hyperscript.org

    I hated angular when it first came out and couldn't believe what insanity people were willing to come up with, so long as it came from google. (e.g. GWT) I created https://intercoolerjs.org out of frustration with that, and the lack of progress in HTML/hypermedia in general, so I could build a web application I was working on (https://leaddyno.com, since sold).

    When covid hit I took a look back at intercooler and decided that it was really two things: HTML++ and a scripting language, so I split it up into htmx, focused just on the hypermedia angle, and hyperscript, the scripting language I wanted for the web (derived from HyperTalk, and old scripting language from HyperCard on the mac).

    I know use them both professionally (email me if you want to use them too.)

  • Ask HN: What are some tools / libraries you built yourself?
    264 projects | news.ycombinator.com | 16 May 2021
    I created intercooler.js in 2013 so I could do AJAX in HTML:

    https://intercoolerjs.org

    Last year I removed the jquery dependency and cleaned it up based on a lot of lessons that I learned, renaming it to hmtx:

    https://htmx.org

    Same idea: extends/complete HTML as a hypertext so you can build more advanced UI within the original hypermedia web model, and cleaner implementation.

    Part of that cleanup involved me pulling out some functionality around events and a proto-scripting language (ic-action), and I enjoy programming languages, so I created a front end scripting language to fill that need:

    https://hyperscript.org

    It's based on HyperTalk and has a lot of domain specific features for lightweight front end scripting, kind of a jQuery or AlpineJS alternative.

  • Ask HN: I feel my career is at a dead end. Any advice on what could I do?
    2 projects | news.ycombinator.com | 11 Apr 2021
    This is my experience, and your mileage may vary:

    Multiple times in my coding career I have felt stalled and/or like I was regressing.

    Early on, I worked on a programming language, gosu (https://gosu-lang.github.io/) which ended up not really going anywhere. Once the work on it was done, I returned to more mundane web programming for a while. A long while after that, and unexpectedly, I turned a jQuery function I was noodling on into intercooler.js (https://intercoolerjs.org/). After a year of that I returned to mundane web programming for quite a while. Unexpectedly, a year ago, the country shut down. I was at home and decided to see if I could remove the jQuery dependency in intercooler.js, and so created htmx (https://htmx.org/). When creating htmx and removing some attribute/functionality, I realized that a small programming language would be the ideal replacement, so I created hyperscript: https://hyperscript.org/. I had not expected to work on a programming language again, but now I am.

    So my career has been some very exciting technical projects punctuating long stretches of pretty basic web development, where the most exciting thing is me wondering if I can figure out what the deuce is wrong with my CSS. My takeaway here, at least in my career, is that patience is a virtue, and the interesting stuff tends to come up at irregular intervals and in unexpected moments and ways.

  • HTML over-the-wire is the future of Web Development
    11 projects | dev.to | 4 Apr 2021
    htmx is the successor to intercooler.js. It swaps parts of the page, not the whole page like Turbolinks. htmx allows you to access AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext

What are some alternatives?

When comparing htmx and intercooler-js you can also consider the following projects:

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

astro - The web framework for content-driven websites. ⭐️ Star to support our work!

react-snap - 👻 Zero-configuration framework-agnostic static prerendering for SPAs

unpoly - Unobtrusive Javascript Framework for server-side applications

django-unicorn - The magical reactive component framework for Django ✨

lit - Lit is a simple library for building fast, lightweight web components.

SvelteKit - web development, streamlined

hotwire-rails - Use Hotwire in your Ruby on Rails app

Svelte - Cybernetically enhanced web apps

inertia-laravel - The Laravel adapter for Inertia.js.

phoenix_live_view - Rich, real-time user experiences with server-rendered HTML