Skip to content

jlgingrich/codex-of-minds

Repository files navigation

Codex of Minds (https://codexofminds.com)

Hugo

Hugo is a speedy static-site generator with sensible defaults, good documentation, and a great theme repository.

Terminal Theme

The retrofuturistic Hugo theme we're currently using a fork of.

Decap CMS

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 .

OAuth2 Proxy for GitHub

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

About

An exploration of technology and its impact on our lives

Resources

Stars

Watchers

Forks

Contributors