django-unicorn VS htmx

Compare django-unicorn vs htmx and see what are their differences.

django-unicorn

The magical reactive component framework for Django โœจ (by adamghill)

htmx

</> htmx - high power tools for HTML (by bigskysoftware)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
django-unicorn htmx
26 143
857 4,988
- 9.7%
9.0 9.5
6 days ago 5 days ago
Python JavaScript
MIT License BSD 2-clause "Simplified" 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.

django-unicorn

Posts with mentions or reviews of django-unicorn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-23.

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 2021-11-26.
  • Introducing Giraffe.Htmx
    7 projects | dev.to | 26 Nov 2021
    htmx is a library that brings interactivity to HTML through the use of attributes and HTTP headers. Whereas projects like Vue, Angular, and React prescribe completely different programming paradigms than traditional web development, htmx provides partial-page-swapping and progressive enhancement within straight HTML. This brings a lot of the benefits of the SPA architecture to vanilla HTML, without requiring a completely different paradigm than the one we have used on the web for 30 years. In practice, this greatly reduces the complexity required to produce an interactive web application.
  • How do I access my django variables in javascript file?
    1 project | reddit.com/r/django | 24 Nov 2021
    Your u_form and p_form could be retrieved using htmx, avoiding the use of JavaScript altogether.
  • HATEOAS: An Alternative Explaination
    4 projects | news.ycombinator.com | 22 Nov 2021
    I agree entirely with you and I don't regard it as unfortunate at all that this article shows that HATEOAS is unsuitable for JSON HTTP APIs.

    It is extremely suitable, and, in fact, is simply descriptive, of an HTML-based API, however.

    A lot of my thinking around this comes from my work on htmx, a tool that turns HTML into a richer hypermedia:

    https://htmx.org

    And I am actively encouraging people to try to split their thinking about JSON Data APIs (RPC) and REST-ful HTML-based systems.

    4 projects | news.ycombinator.com | 22 Nov 2021
    The success of the web argues that the hypermedia approach is a good choice for a large set of systems.

    The problem today is that hypermedia development has been stuck in the late-90's/early-00's which, when contrasted with JSON/RPC-based development, is really showing its age, particularly in terms of UX.

    https://htmx.org is an attempt to rectify that situation and get hypermedia-style development back in the game as a viable, modern network architecture for more than just content-oriented web sites.

    4 projects | news.ycombinator.com | 22 Nov 2021
    Yes, I agree entirely. The crux of the issue is that HTML has stalled as a hypermedia for a few decades now, but I am trying to fix that with htmx:

    https://htmx.org

    htmx is the result of my research :)

  • Ask HN: Simplest stack to build web apps in 2021?
    17 projects | news.ycombinator.com | 22 Nov 2021
    > What are its cons?

    Is very pragmatic. That means your whole investment in the arcane ways of JS are dust. Not hipster at all.

    ---

    More seriously, Is of little issues here. You setup and it works, so is not something that lead to "generate content" like other setups.

    I found only a significant issue (to me) (https://github.com/bigskysoftware/htmx/issues/596) but then I do something that have never done in long time with a JS library: I poke into the source and fix it myself. Far easier than expected! (ie: The code is plain!)

    17 projects | news.ycombinator.com | 22 Nov 2021
  • Flask for small projects, Django for bigger ones... but why?
    1 project | reddit.com/r/flask | 22 Nov 2021
    Have you seen https://htmx.org itโ€™s awesome!
  • Only 90s Web Developers Remember This
    2 projects | news.ycombinator.com | 21 Nov 2021
    > Today we have abstractions on top of abstractions on top of JavaScript, of all things.

    from one 90's web developer to another:

    https://htmx.org

    hypermedia 4eva

  • A Reality Where CSS and JavaScript Don't Exist ยท Ugly Duck
    1 project | reddit.com/r/Frontend | 15 Nov 2021
    Check out https://htmx.org if this idea resonates with you.

What are some alternatives?

When comparing django-unicorn and htmx you can also consider the following projects:

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

react-snap - ๐Ÿ‘ป Zero-configuration framework-agnostic static prerendering for SPAs

Turbolinks - Turbolinks makes navigating your web application faster

turbo - The speed of a single-page web application without having to write any JavaScript

svelte-query - Performant and powerful remote data synchronization for Svelte

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

django-tables2 - django-tables2 - An app for creating HTML tables

budibase - Budibase is an open-source low code platform that helps you build internal tools in minutes ๐Ÿš€

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

intercooler-js - Making AJAX as easy as anchor tags

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production

django-htmx - Extensions for using Django with htmx.