# imacrayon/alpine-ajax

An Alpine.js plugin for building server-powered frontends.

Repository: https://github.com/imacrayon/alpine-ajax
Canonical: https://ross.abutalabs.com/products/alpine-ajax
Homepage: https://alpine-ajax.js.org
Language: JavaScript
License: MIT
License Family: permissive
Topics: hacktoberfest, ajax, alpinejs, fetch, html, javascript, hateoas, hypermedia, forms, utilites, progressive-enhancement
Last push: 2026-03-17T16:01:29+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 72, release rhythm 75, longevity 100
- inputs: {"age_days": 1908, "days_push": 169, "days_rel": 169, "gap_med": 16.5, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1142, forks 27 (observed 2026-08-28T04:03:44.811870+00:00)

## What it is
Alpine AJAX is an Alpine.js plugin that lets forms and links make asynchronous HTTP requests and render server HTML responses directly into the page. It enables building interactive, progressively enhanced websites without writing JSON APIs or custom JavaScript.

## Use cases
- submit forms via ajax and update part of the page with the server response
- build a search box that fetches filtered results without a full page reload
- add interactivity to a server-rendered site without a SPA framework
- progressively enhance links and forms so they work without JavaScript
- swap HTML fragments from the server into targeted page elements

## When to choose
- you use Alpine.js and want hypermedia-style interactivity with minimal JavaScript
- your server renders HTML and you want to avoid building a JSON API
- you value progressive enhancement and accessibility
- you want a tiny (~3kB) alternative to heavier libraries like htmx within an Alpine codebase

## When to avoid
- you need a full single-page application with client-side routing and state management
- your frontend is built with React, Vue, or another component framework
- you need JSON-based data exchange or complex client-side data models
- your team does not use Alpine.js and you'd rather adopt htmx or similar

## Facets
- artifact type: library
- maturity: active
- function: http-client, middleware, form-handling
- domain: web-development, frontend
- platform: browser
- tags: alpinejs, ajax, hateoas, hypermedia, progressive-enhancement, html-over-the-wire, javascript

## Member repositories
- imacrayon/alpine-ajax (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.811870+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:35:05.411120+00:00, confidence not recorded.
  - readme: https://github.com/imacrayon/alpine-ajax (fetched 2026-08-28T04:03:44.811870+00:00, sha 0db81f1414cf)
  - homepage: https://alpine-ajax.js.org (fetched 2026-08-29T12:40:28.489044+00:00, sha 507beb3e1cd5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
