awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
rafgraph avatar

rafgraph/spa-github-pages

0
View on GitHub↗
spa-github-pages.rafgraph.dev↗

Spa Github Pages

This project is a client-side routing solution and URL manager designed for single-page applications hosted on static platforms, specifically GitHub Pages. It enables these applications to handle deep links and maintain functional routing on hosts that do not support server-side redirects.

The system intercepts server-side 404 errors and redirects them to a main entry point, using query strings and hash fragments to preserve the application state and restore the original intended path. It also includes utilities for generating specialized, redirect-compatible links for sitemaps to ensure search engines can index pages without triggering server-side errors.

The project provides comprehensive support for route management, URL state preservation, and search engine optimization for static site environments.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • 404 Page Redirections - Intercepts static host 404 errors and redirects them to the root to enable client-side routing.
  • URL Parameter Persistence - Ensures the browser maintains the correct path and query parameters when redirecting back to the main entry point.
  • Client-side Routing - Provides a mechanism to intercept missing page requests and redirect them to maintain application state.
  • Fragment Preservation - Maintains URL hash fragments and query parameters during redirects to ensure the correct application view loads.
  • Route Redirects - Provides utilities to redirect server-side errors on static hosts back to the main entry point.
  • Static Route Interception - Uses a custom fallback page to simulate dynamic routing on a platform that only supports static files.
  • Static Site Error Pages - Intercepts 404 errors on static hosts to preserve application state and redirect users to the home page.
  • Static SPA Routers - Provides a client-side routing solution that enables single page applications to handle deep links on GitHub Pages.
  • Client-Side URL Rewriters - Encodes destination paths in query strings to bypass server-side routing limitations on static platforms.
  • URL State Restoration - Reroutes missing page requests to a main entry point using query strings to recover the original application state.
  • Single Page Application Hosting - Implements fallback routing to serve a single HTML file for all application paths on static hosts.
  • SPA Routing Configurations - Enables hosting of single page applications on GitHub Pages while maintaining functional client-side routing.
  • Sitemap Redirects - Transforms standard URLs into redirect-compatible links for sitemaps to enable indexing despite server-side errors.
  • Static Site SEO - Creates search engine friendly links for single page apps hosted on platforms without server-side redirects.
  • Sitemap Generators - Generates search engine friendly links that function correctly on static hosting services.
  • Redirect-Compatible Sitemaps - Generates specialized sitemap URLs that bypass server-side errors by encoding the intended destination path.
  • SEO Link Encoding - Transforms standard paths into specialized links that bypass server-side errors for search engine indexing.
4,036 stars·566 forks·TypeScript·MIT·23 views

Star history

Star history chart for rafgraph/spa-github-pagesStar history chart for rafgraph/spa-github-pages

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does rafgraph/spa-github-pages do?

This project is a client-side routing solution and URL manager designed for single-page applications hosted on static platforms, specifically GitHub Pages. It enables these applications to handle deep links and maintain functional routing on hosts that do not support server-side redirects.

What are the main features of rafgraph/spa-github-pages?

The main features of rafgraph/spa-github-pages are: 404 Page Redirections, URL Parameter Persistence, Client-side Routing, Fragment Preservation, Route Redirects, Static Route Interception, Static Site Error Pages, Static SPA Routers.

Which projects share features with rafgraph/spa-github-pages?

Projects with overlapping indexed features include: vuejs/v2.vuejs.org — This is the comprehensive documentation website for the Vue 2 progressive JavaScript framework. It serves as a… sveltejs/template — This repository serves as an application template for building user interfaces using the Svelte framework and… webstudio-is/webstudio — Webstudio is a visual CMS and website builder that provides a visual development environment for designing and… yihong0618/running_page — This project is a fitness activity dashboard and data pipeline that aggregates running statistics and routes from… kataras/iris — Iris is a high-performance web framework and API toolkit for the Go programming language. It provides the… visionmedia/page.js — page.js is a client-side JavaScript router for single-page applications that maps URL patterns to executable…

Projects sharing features with Spa Github Pages

These projects share indexed features with Spa Github Pages. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • vuejs/v2.vuejs.orgvuejs avatar

    vuejs/v2.vuejs.org

    4,981View on GitHub↗

    This is the comprehensive documentation website for the Vue 2 progressive JavaScript framework. It serves as a technical reference and development guide for building reactive user interfaces and single-page applications. The site provides a detailed JavaScript API reference and a web component directory. It covers the implementation of component-based architectures, reactive state management, and the use of a virtual DOM to synchronize application state with the browser. The documentation details capabilities including client-side routing, declarative DOM manipulation, and frontend build opt

    JavaScript
    View on GitHub↗4,981
  • sveltejs/templatesveltejs avatar

    sveltejs/template

    1,741View on GitHub↗

    This repository serves as an application template for building user interfaces using the Svelte framework and compiler. It compiles reactive component markup directly into imperative JavaScript code that mutates the document object model without virtual overhead. The project provides a pre-configured setup incorporating static asset bundling, a live development server with hot module reloading, and TypeScript-first compilation. It includes built-in traffic management capabilities that direct incoming server requests to a single entry point to support client-side routing on static hosting pla

    JavaScript
    View on GitHub↗1,741
  • webstudio-is/webstudiowebstudio-is avatar

    webstudio-is/webstudio

    8,240View on GitHub↗

    Webstudio is a visual CMS and website builder that provides a visual development environment for designing and publishing websites. It functions as an AI-powered design tool, a REST and GraphQL API client, and an atomic CSS compiler. The platform distinguishes itself through generative AI capabilities for creating layout variants and refining visual styles from text prompts. It integrates a headless CMS workflow that maps external data sources to visual components and utilizes a specialized compiler to convert design tokens into deduplicated atomic CSS for optimized page load speeds. The sys

    TypeScriptaccessibilityalternativecloudflare
    View on GitHub↗8,240
  • yihong0618/running_pageyihong0618 avatar

    yihong0618/running_page

    4,484View on GitHub↗

    This project is a fitness activity dashboard and data pipeline that aggregates running statistics and routes from external sports platforms into a personal visual summary. It includes a fitness data migration tool for consolidating records between different sports services and local storage, alongside a data importer for processing GPX, TCX, and FIT files. The system features an automated activity sync pipeline that periodically fetches fitness data and redeploys a static dashboard to a hosting platform. It also provides a keyboard-driven terminal user interface for filtering and viewing runn

    Pythonadidasclub-nikedata-analysis
    View on GitHub↗4,484
Compare all 30 related projects→