# fireship-io/flamethrower

A blazingly fast router for static sites

Repository: https://github.com/fireship-io/flamethrower
Canonical: https://ross.abutalabs.com/products/flamethrower
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2024-04-12T02:32:55+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 1478, "days_push": 874, "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 111 (observed 2026-08-28T04:07:21.424853+00:00)

## What it is
A 2kB zero-config client-side router and prefetcher for static sites that makes page navigation feel like a single-page app. It prefetches visible links, intercepts clicks and popstate events, and swaps the page body while merging the head without re-executing head scripts.

## Use cases
- make a static site feel like a fast SPA
- add client-side routing to a plain HTML site without a framework
- prefetch links before the user clicks them
- share JavaScript state between page navigations
- speed up navigation on an Astro or static HTML site
- show a progress bar while the next page loads

## When to choose
- you have a static or server-rendered multi-page site and want SPA-like navigation
- you want a tiny dependency with zero configuration
- you use native web components and want long-lived JS behavior across navigations
- you want opt-in prefetching of visible or hovered links

## When to avoid
- your site is already a fully hydrated SPA like Next.js
- you need a full frontend framework with state management and rendering
- you rely on partially hydrated components that may flash between routes
- you need server-side routing or SSR

## Facets
- artifact type: library
- maturity: active
- function: routing, http-client, middleware
- domain: web-development, frontend, performance
- platform: browser
- tags: static-site-router, prefetcher, spa-feel, zero-config, tiny-bundle, history-api, web-components, client-side-navigation, nodejs, web-server

## Member repositories
- fireship-io/flamethrower (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:21.424853+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.510689+00:00, confidence not recorded.
  - readme: https://github.com/fireship-io/flamethrower (fetched 2026-08-28T04:07:21.424853+00:00, sha aba3aa8bf4ce)
- Data as of 2026-08-30T08:39:29.467469+00:00.
