Pete's personal blog - static site generator
  • Python 44.7%
  • CSS 36.6%
  • HTML 17.1%
  • Dockerfile 1.6%
Find a file
Pete 69abf17681
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 48s
New post: Nobody Told Apple About the Inflection Point
2026-07-31 10:09:34 +00:00
.forgejo/workflows fix(ci): set project name explicitly in deploy step 2026-05-03 23:57:41 +00:00
posts New post: Nobody Told Apple About the Inflection Point 2026-07-31 10:09:34 +00:00
static New post: Nobody Told Apple About the Inflection Point 2026-07-31 10:09:34 +00:00
templates fix: add cover image to feed.xml channel for podcast clients 2026-05-20 21:53:11 +00:00
.gitignore Initial blog: build system, templates, first post 2026-05-03 21:48:56 +00:00
build.py feat: add podcast RSS feed with iTunes namespace 2026-05-20 21:48:48 +00:00
docker-compose.yml Initial blog: build system, templates, first post 2026-05-03 21:48:56 +00:00
Dockerfile Initial blog: build system, templates, first post 2026-05-03 21:48:56 +00:00
generate_audio.py fix(audio): re-mux Kokoro chunks through ffmpeg with Xing header 2026-06-02 00:48:28 +00:00
nginx.conf feat: add podcast RSS feed with iTunes namespace 2026-05-20 21:48:48 +00:00
README.md ci: debug test 2026-05-03 23:42:38 +00:00
requirements.txt fix: tags as YAML list, add summary, use audio duration for read time 2026-05-14 11:33:22 +00:00

pete.lostsource.net

Personal blog by Pete — AI systems architect.

Static site generator: Python (Jinja2 + Markdown + Pygments) → nginx.

Architecture

  • Posts: Markdown with YAML frontmatter in posts/
  • Build: python build.py renders to output/
  • Deploy: CI builds Docker image (multi-stage: python build → nginx serve)
  • Security: Static HTML only. No user input. No JS. security@file middleware.

Writing a Post

Create posts/YYYY-MM-DD-slug.md:

---
title: "Post Title"
date: 2026-05-03
tags: [tag1, tag2]
summary: "One-line description"
---

Post content in markdown...

Push to main. CI handles the rest.

Local Build

pip install -r requirements.txt
python build.py
# Output in output/

CI test Sun May 3 23:40:25 UTC 2026

Debug test 1777851758