# firebase/superstatic

Superstatic: a static file server for fancy apps.

Repository: https://github.com/firebase/superstatic
Canonical: https://ross.abutalabs.com/products/superstatic
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-12T15:53:28+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 60, longevity 100
- inputs: {"age_days": 4709, "days_push": 21, "days_rel": 56, "gap_med": 216, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1111, forks 88 (observed 2026-08-28T04:03:37.732838+00:00)

## What it is
Superstatic is an enhanced static file server for Node.js, usable both as a CLI tool and as an API/middleware library. It supports HTML5 pushState apps, clean URLs, custom rewrites, redirects, caching, and JSON-based configuration.

## Use cases
- serve a static site locally during development
- host a single-page app with pushState routing
- strip .html extensions with clean URLs
- configure rewrites and redirects via a JSON file
- use a static server as connect/express middleware

## When to choose
- you need a static server with SPA-friendly rewrites and clean URLs
- you want JSON-configurable static hosting behavior matching Firebase Hosting
- you need an embeddable static server middleware for Node.js

## When to avoid
- you need a full production web server with TLS termination and load balancing
- you are serving a dynamic server-rendered application
- you need a language-agnostic server outside the Node.js ecosystem

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: http-server, routing, middleware, cli
- domain: web-development, frontend, developer-tools
- platform: cli, cross-platform
- tags: static-file-server, pushstate, clean-urls, firebase-hosting, single-page-apps, command-line, nodejs

## Member repositories
- firebase/superstatic (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:37.732838+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:43:23.055902+00:00, confidence not recorded.
  - readme: https://github.com/firebase/superstatic (fetched 2026-08-28T04:03:37.732838+00:00, sha 04847d962c68)
- Data as of 2026-08-30T08:39:29.467469+00:00.
