ichuan.me

Personal website, blog, and engineering portfolio for ichuan. Zero-dependency Node.js static site generator deployed via GitHub Pages.

Commands

npm run build    # Compile site and Markdown blog posts into dist/
npm run preview  # Serve dist/ locally at http://127.0.0.1:4321/

Writing a Blog Post

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).

GitHub Actions Secrets (Optional AI Enrichment)

In repository Settings -> Secrets and variables -> Actions, add:

Push to main and GitHub Actions will build and deploy to https://ichuan.me/.