Ross ROSS = Recommend OSS · open-source software intelligence for agents

rafgraph/spa-github-pages resource

Host single page apps with GitHub Pages observed · 2026-08-28

github.com/rafgraph/spa-github-pages · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3763
  • days_rel: n/a
  • days_push: 1390
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

4036 stars · 565 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A lightweight boilerplate solution for hosting single page apps on GitHub Pages, which doesn't natively support client-side routing. It uses a custom 404.html redirect trick to convert frontend routes into query strings so deep links load correctly.

Use cases

  • deploy a react router spa on github pages
  • fix 404 errors on page refresh for frontend routes
  • host single page app with client-side routing on github pages
  • support deep links in a static site on github pages
  • serve index.html for all routes on github pages

When to choose

  • you're hosting a SPA on GitHub Pages and need BrowserRouter-style routing to work on fresh page loads
  • you want a zero-dependency, copy-paste fix rather than a build tool or server

When to avoid

  • you can use a host with native SPA fallback support like Netlify or Vercel
  • your site is server-rendered or uses hash-based routing
  • you need server-side logic or custom headers

Facets

learning-resource · maturity maintenance

routing deployment web-framework web-development frontend developer-tools browser cross-platform github-pages spa static-hosting client-side-routing 404-redirect boilerplate web-server

2 sources

Member repositories

RepositoryRoleHealth v2
rafgraph/spa-github-pagesmain32

For agents

markdown · JSON · MCP: product_card(name="rafgraph/spa-github-pages")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem