License: Zero-Clause BSD

If you want an older version, BytesOfProgress stores all versions starting from "2.0.2". Just change the filename in the link to the following:"htmx2-0-2.min.js", or whatever version you would like. In every file, in line 1 and 2, the source and the date of the download is stated.

BytesOfProgress always serves the up-to-date, unchanged version from GitHub.

All you have to do is load HTMX from this link:

https://bytesofprogress.net/resources/js-libraries/HTMX/htmx.min.js

Quick start:

<script src="https://unpkg.com/[email protected]"></script>
  <!-- have a button POST a click via AJAX -->
  <button hx-post="/clicked" hx-swap="outerHTML">
    Click Me
  </button>