feat: replace Hugo with custom static site generator#6
Merged
Conversation
Replaces the Hugo/PaperMod/Vercel setup with a minimal no-framework static site built with Python + markdown, hosted on S3 + CloudFront. - Build: Python script (build.py) converts markdown -> flat HTML files (posts/<slug>.html, about.html, cv.html) using python-markdown via uv - Theme: Catppuccin Mocha with Playfair Display headings and JetBrains Mono body; mobile-first responsive CSS - Pages: Writing index, About, CV (draft-gated), humorous terminal 404 - Infra: SAM template for S3 bucket (private + OAC), CloudFront distribution, GitHub Actions IAM role with OIDC trust - Deploy: Makefile with build/deploy/infra/invalidate/serve targets; two-pass S3 sync with separate cache headers for HTML vs assets - CI: GitHub Actions workflows for PR build checks and main branch deploy Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
896c169 to
849e021
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
What changed
Build system
build.py— converts markdown → flat HTML (posts/<slug>.html,about.html,cv.html)uv+python-markdownfor deps; no Node, no Hugo, no frameworksdraft: truePages
Infrastructure
template.yaml— SAM/CloudFormation: S3 bucket (private), CloudFront distribution, GitHub Actions IAM roleiam/— least-privilege deployer role + trust policy for SSO and GitHub OIDCMakefile—make build,make deploy,make infra,make invalidateCI
build.yml— runsmake buildon every PRdeploy.yml— runsmake deployon push to main via OIDC (no stored AWS keys)Reviewer notes
AWS_DEPLOY_ROLE_ARNsecret in GitHub repo settings before merging (value in SAM stack outputs)sam deploy— seesamconfig.tomlfor cert ARN placeholderzettelkasten/retained intentionally🤖 Generated with Claude Code