# unpoly/unpoly

Progressive enhancement for HTML

Repository: https://github.com/unpoly/unpoly
Canonical: https://ross.abutalabs.com/products/unpoly
Language: JavaScript
License: MIT
License Family: permissive
Topics: server-side-rendering, html-over-the-wire, progressive-enhancement, html, html-driven, hypermedia
Last push: 2026-08-23T11:04:59+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3846, "days_push": 10, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2776, forks 83 (observed 2026-08-28T04:07:21.252906+00:00)

## What it is
Unpoly is a JavaScript library that adds progressive enhancement attributes to HTML, letting you build dynamic, SPA-like interfaces while keeping all rendering on the server. It works with any backend language or framework and gracefully degrades without JavaScript.

## Use cases
- add dynamic page fragments to a server-rendered app without writing a JS frontend
- replace full page reloads with partial HTML updates
- build modals, popups, and tabs with plain HTML attributes
- migrate a legacy server-rendered app toward a more interactive UI incrementally
- use an html-over-the-wire approach instead of a client-side SPA framework
- handle form submissions and validation without full page reloads

## When to choose
- your app is server-rendered and you want rich interactivity without a JS build pipeline or SPA framework
- you want graceful degradation when JavaScript is unavailable
- you use any backend (Rails, Django, PHP, etc.) and want framework-agnostic frontend enhancement
- you prefer hypermedia-driven architecture

## When to avoid
- you need a fully client-side SPA with complex client state
- your team is committed to React/Vue-style component architectures
- you need offline-first or heavy client-side computation

## Facets
- artifact type: library
- maturity: active
- function: frontend-framework, ssr, templating, middleware
- domain: web-development, frontend, backend
- platform: browser, cross-platform
- tags: progressive-enhancement, html-over-the-wire, hypermedia, server-side-rendering, unobtrusive-javascript, nodejs

## Member repositories
- unpoly/unpoly (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:21.252906+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-30T08:16:32.847109+00:00, confidence not recorded.
  - readme: https://github.com/unpoly/unpoly (fetched 2026-08-28T04:07:21.252906+00:00, sha 3c7b2b8a28ac)
  - registry_npm: https://registry.npmjs.org/unpoly (fetched 2026-08-29T09:55:57.461354+00:00, sha e716ca219a51)
- Data as of 2026-08-30T08:39:29.467469+00:00.
