Open source alternatives to htmx

One project on starwire does the same job. Ranked by how much of what htmx does each one covers, read from its README and website. Ties go to the most active.

What htmx does

  1. Server-rendered partial page updatescore
  2. AJAX from HTML attributescore
  3. Swap and target page elements
  4. Server-sent events and WebSockets
  5. History and URL updates
  6. Form submission without page reloads
  7. Works with any backend

Each dot in the table is one job, in this order. Square dots are core jobs and count double. Full means yes, half means partly. "See the evidence" under a project shows the line behind each one. Coverage is what a project documents, not how well it works or how hard it is to move to. How we score this

ProjectCoversStarsCommits, 12 weeksLast releaseClosed vs openedSetupLicense
datastarHypermedia framework for reactive web interfaces driven by server events Replaces it78%5.2k+16
16
5 days ago96% For developers MIT
Covers all 2 core jobs. Not shown: History and URL updates; Form submission without page reloads.See the evidence
  • Server-rendered partial page updatescoreYesModify the DOM and state from your backend.
  • AJAX from HTML attributescoreYesdata-on:click = @get( /endpoint )
  • Swap and target page elementsYesDrive your frontend from the backend using HTML attributes
  • Server-sent events and WebSocketsYesstream server-sent events (SSE) from the backend
  • History and URL updatesNot shownNeither the README nor the website mentions it.
  • Form submission without page reloadsNot shownNeither the README nor the website mentions it.
  • Works with any backendYesWrite your backend in the language of your choice

Vital signs from GitHub, checked weekly. How we read these · How setup is read

All repos

New repos every two days, stars refreshed daily. Visits are counted without cookies, and the numbers are public. How it works Data RSS Newsletter

The best new open source, once a weekOne short email: the repo everyone is suddenly starring, a handful worth trying, and one hidden gem, each with a plain note on what it does. Free, with no tracking pixels.

Read past issues

↑ ↓ to move   Enter to choose   Esc to close

Follow starwire by RSSCopy an address into your feed reader.
The day's bestOne item a day: the repos rising fastest and the biggest new picks.starwire.foo/top.xml
Every new pickAll of them as they are added, up to 60 a day.starwire.foo/feed.xml
The weekly emailEach issue of the newsletter, once a week.list.starwire.foo/archive.xml