# spa-github-pages

Host single page apps with GitHub Pages

Canonical page: https://www.reposhelf.co.uk/projects/github/rafgraph/spa-github-pages.html

- Project ID: rafgraph/spa-github-pages
- Source: GitHub
- Original project: https://github.com/rafgraph/spa-github-pages
- Description attribution: project author metadata
- Categories: Other
- Technologies: React
- Licence: MIT
- Repository availability checked: 2026-11-04T07:43:12.247Z
- Demo page loaded: 2026-11-20T18:47:28.837Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> This is a lightweight solution for deploying single page apps with GitHub Pages. You can easily deploy a React single page app with React Router , like the one in the demo app, or a single page app built with any frontend library or framework.

> GitHub Pages doesn't natively support single page apps. When there is a fresh page load for a url like example.tld/foo, where /foo is a frontend route, the GitHub Pages server returns 404 because it knows nothing of /foo.



## Author-documented requirements and audience

> This is a lightweight solution for deploying single page apps with GitHub Pages. You can easily deploy a React single page app with React Router , like the one in the demo app, or a single page app built with any frontend library or framework.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/rafgraph/spa-github-pages/blob/gh-pages/README.md

Extraction checked: 2026-10-31T02:39:58.891Z

Last recorded source update: 2022-11-12T13:37:03.000Z

Saved release: Not recorded. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=rafgraph%2Fspa-github-pages). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
