Personal website, blog, and engineering portfolio for ichuan. Zero-dependency Node.js static site generator deployed via GitHub Pages.
npm run build # Compile site and Markdown blog posts into dist/
npm run preview # Serve dist/ locally at http://127.0.0.1:4321/
Add a Markdown file in content/blog/, e.g. content/blog/2026-12-03-my-post.md:
---
title: Post Title
date: 2026-12-03
---
Post content here...
tags, summary, lang, and bilingual translation (Chinese <-> English) are optional: if LLM_API_KEY is configured, npm run build automatically generates missing tags, bilingual summaries, and the translated version (cached by content hash in .cache/blog-ai.json).
In repository Settings -> Secrets and variables -> Actions, add:
LLM_API_KEY: OpenAI-compatible API keyLLM_BASE_URL: e.g. https://api.openai.com/v1 (optional, defaults to OpenAI)LLM_MODEL: e.g. gpt-4o-mini (optional, defaults to gpt-4o-mini)Push to main and GitHub Actions will build and deploy to https://ichuan.me/.