intercooler-js VS turbo

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

intercooler-js

Making AJAX as easy as anchor tags (by bigskysoftware)

turbo

The speed of a single-page web application without having to write any JavaScript (by hotwired)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
intercooler-js turbo
11 145
4,727 6,366
0.7% 2.4%
0.0 8.8
over 1 year ago about 21 hours ago
HTML JavaScript
MIT License 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.

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

turbo

Posts with mentions or reviews of turbo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-27.
  • Turbo Streaming Modals in Ruby on Rails
    4 projects | dev.to | 27 Mar 2024
    I also recommend checking out the docs for Stimulus and Turbo to familiarise yourself with all their features and the APIs used in this series.
    4 projects | dev.to | 27 Mar 2024
    In the above snippet, this refers to StreamElement, which is the custom element underpinning . The templateContent getter is defined by this element.
  • Htmx vs. React: A Complete Comparison – Semaphore
    2 projects | news.ycombinator.com | 22 Feb 2024
  • What is JSDoc and why you may not need typescript for your next project?
    8 projects | dev.to | 22 Jan 2024
    Turbo 8 remove typescript without using JSDOC
  • Coming to grips with JS: a Rubyist's deep dive
    16 projects | dev.to | 29 Dec 2023
    Experiment using Turbo to drive front-end behavior: "Turbo 7.2.0 (currently in beta) allows you to define your own Stream actions which can be any JS code you want. By combining a custom Stream action or two with web components, you can essentially drive reactive frontend behavior from the backend stupidly easily. Loooove it! 😍 […] For a turnkey example, you could check out https://github.com/hopsoft/turbo_ready " —Jared White on The Spicy Web Discord
  • Improving a web component, one step at a time
    4 projects | dev.to | 16 Dec 2023
    This handles disconnection (as could be done by any destructive change to the DOM, like navigating with Turbo or htmx, I'm not even talking about using the element in a JavaScript-heavy web app) but not reconnection though, and we've exited early from the connectedCallback to avoid initializing the element twice, so this change actually broke our component in these situations where it's moved around, or stashed and then reinserted. To fix that, we need to always call addSparkles in connectedCallback, so move all the rest into an if, that's actually as simple as that… except that when the user prefers reduced motion, sparkles are never removed, so they keep piling in each time the element is connected again. One way to handle that, without introducing our housekeeping of individual timers, is to just remove all sparkles on disconnection. Either that or conditionally add them in connectedCallback if either we're initializing the element (including attaching the shadow DOM) or the user doesn't prefer reduced motion. The difference between both approaches is in whether we want the small animation when the sparkles appear (and appearing at new random locations). I went with the latter.
  • Mastering Rails Web Navigation with link_to and button_to Helpers - Part 2
    4 projects | dev.to | 22 Oct 2023
    If you think you have seen enough Rails magic, you are mistaken my friend. Rails have a new trick up its sleeve: Hotwire. And with the magical Turbo tool that comes with it, you can create modern, interactive web applications with minimal, or sometimes no JavaScript at all, providing users with an incredibly smooth experience.
  • Why you should choose HTMX for your next project
    2 projects | dev.to | 19 Oct 2023
    There is also Turbo and the frameworks who adopt them, Ruby on Rails, PHP Symphony and possibly others that solves the same issue in the same manner as HTMX. And the choice for HTMX is only a personal taste in this, but you should definitely learn about this, this is as cool as HTMX!
  • JavaScript First, Then TypeScript
    5 projects | dev.to | 15 Oct 2023
    Most controversially, the Turbo framework dropped TypeScript support altogether after assessing that strong typing was the culprit behind poor developer experience.
  • RailsWorld 2023: Hotwire Edition
    3 projects | dev.to | 8 Oct 2023
    You can find a demo video and more information here: https://github.com/hotwired/turbo/pull/1019

What are some alternatives?

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

htmx - </> htmx - high power tools for HTML

Turbolinks - Turbolinks makes navigating your web application faster

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

inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.

morphdom - Fast and lightweight DOM diffing/patching (no virtual DOM needed)

importmap-rails - Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling.

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

stimulus_reflex - Build reactive applications with the Rails tooling you already know and love.

turbo-rails - Use Turbo in your Ruby on Rails app

Stimulus - A modest JavaScript framework for the HTML you already have