Codex of Minds (https://codexofminds.com)
Hugo is a speedy static-site generator with sensible defaults, good documentation, and a great theme repository.
The retrofuturistic Hugo theme we're currently using a fork of.
Decap CMS is a static-site content management system that operates by modifying the underlying GitHub repository via a dashboard embedded on the site. Authentication is handled via a GitHub OAuth .
The tutorials on Decap CMS mostly assume you're using Netlify Identity for authentication to the dashboard. In order to use Decap CMS without a Netlify account, we host an instance of sterlingwes/decap-proxy on a Cloudflare Worker to facilitate the GitHub OAuth flow. This is super low traffic since it only serves requests when a creator signs into the CMS page.
In order to get the required secrets for the worker, you need to first create a GitHub OAuth app.
# Deploy worker
cd decap-proxy
npx wrangler login
npx wrangler deploy
# Add worker GitHub secrets
npx wrangler secret put GITHUB_OAUTH_ID
npx wrangler secret put GITHUB_OAUTH_SECRET