Personal homepage for Perry / AMagicPear. Built with Svelte, Vite, and a Rust/WebAssembly particle field.
pnpm install
pnpm run devRun validation and a production build:
pnpm run check
pnpm run buildThe interactive particle field lives in src/lib/wasm-perryhome. Rebuild it after Rust changes:
cd src/lib/wasm-perryhome
wasm-pack build --target web文章正文放在 src/pages/*.md,标题、日期、摘要等元信息写在 src/data/posts.ts。新增一篇:
- 把 markdown 存到
src/pages/(Obsidian 的 frontmatter 会在渲染时自动去掉); - 在
posts数组最前面加一条slug / title / date / kicker / lead / body; - 配图放到
public/essay/<slug>/,正文里用/essay/<slug>/xxx.webp这样的绝对路径引用。
首页「过程,也值得记录」和 /essay 列表都读这个数组,路由是 /essay 与 /essay/<slug>。
Project descriptions were checked against the public repositories on 2026-11-03.
The showcase is curated in src/App.svelte; it does not fetch GitHub at runtime.
cover_netease_gpui.webp: user-provided application screenshot, resized to WebP.cover_pcl_proto.webp: user-provided launcher screenshot, converted to WebP.- The pichamber artwork is a workflow illustration, not an application screenshot. Its description follows the public README.