Git-backed portfolio content system
The content system behind this site: one JSON file feeds the React pages, generated Markdown, project pages, and machine-readable indexes.
- Vite
- Cloudflare Pages
- Markdown
- JSON content
- TypeScript
- React
01 / OVERVIEW
02 / PROBLEM
The site needed to serve people and machines while keeping project copy in one editable place.
03 / RESPONSIBILITY
I built and maintain this portfolio content system independently. I defined the content model, connected it to the React pages, and built the generation and Markdown delivery paths.
04 / WORK
The React pages and generation script read from the same source. Blog posts stay in Markdown. This keeps me from updating the same copy in several places.
Kept main site copy in content/site-content.json.
Generated markdown mirrors for pages, projects, resume, blog, and LLM-friendly indexes.
Rendered public React routes from shared content instead of hardcoded page copy.
Used Cloudflare Pages functions to serve markdown when requested.
05 / RESULT
I can update the portfolio from one main source, regenerate the public files, and check the human and machine-readable versions together.
The portfolio can be edited from one source and still publish readable Markdown mirrors.
People and agents can inspect the content directly instead of scraping the visual pages.
New case studies and posts have a known place to start.
Project Reflection