Replace / GitHub Pages

Best free GitHub Pages alternatives (open source, self-hosted) 2026

The best open-source alternative to GitHub Pages is Hugo (or Zola) with Caddy, self-hosted on Railway. Static files you build and serve. Hugo is Apache-2.0; Zola is EUPL-1.2; Caddy is Apache-2.0 — GitHub Pages, Cloudflare Pages, and Carrd without the hosted pages seat.

Estimated save $1,200 a year.

Open the stackStart on Railway

How GitHub Pages compares

GitHub PagesHugo / Zola + Caddy
Pricing modelHosted subscription Open-source or fair-code license; you pay the host
HostingVendor cloud Self-hosted on Railway or any VPS
Rough monthly costPublic list price not verified this run Hosting only — no SaaS seat meter in this repo

FAQ

What is the best free open-source GitHub Pages alternative?
The best open-source alternative to GitHub Pages is Hugo (or Zola) with Caddy, self-hosted on Railway. Static files you build and serve. Hugo is Apache-2.0; Zola is EUPL-1.2; Caddy is Apache-2.0 — GitHub Pages, Cloudflare Pages, and Carrd without the hosted pages seat.
Is it free?
The Hugo / Zola + Caddy licenses are open source or fair-code. You still pay hosting (Railway or any VPS) and any APIs the stack calls. There is no GitHub Pages seat or task bill on this path.
Can I migrate from GitHub Pages?
Yes. Start with the workflows or data you actually use, then cut over. The Hugo / Zola + Caddy stack page has the agent prompt and the cost table; most teams rebuild the slice that matters and leave old GitHub Pages links until they expire.
How do I deploy it?
Open the Hugo / Zola + Caddy stack, copy the agent prompt, and deploy on Railway (one service, PORT, and a volume when the app needs disk). Placeholder: build Hugo or Zola in CI, serve public/ with Caddy (or any file server) plus a volume if you copy the output onto the box. No one-click template in this repo yet — Start on Railway. A CMS stays on /stacks/ghost-cms. A git host stays on /stacks/forgejo-git.
What does this replace?
GitHub Pages / Cloudflare Pages / Carrd. The published small-team estimate on this stack is $1,200 a year.

Related pages

Stack of the Week

Get one stack a week that replaces a SaaS bill.

Sponsor this page