Account

YeCha 夜叉: Writing a Minimalist Blog System from Scratch

🌐 English translation · View Chinese original

Why write yet another blog system? Not to reinvent the wheel, but out of a dedication to lightweightness: no Redis dependency, a single PHP process can run the whole site, and the body content is always output in full.

Why Write Yet Another Blog System?

This is not reinventing the wheel, but a dedication to lightweightness: the core has no Redis dependency and doesn't rely on cloud marketplaces; a single PHP process can run the entire site, and the body content is always output in full.

  • Image WebP plugin
  • Remote image localization plugin
  • Notes / paragraph comments / multilingual (translation team + AI translation)
The slug is globally unique; when migrating from other blog systems, the original URLs are inherited directly.
// View count: the same visitor is counted only once per natural day for the same article
if (!cookie_has($key)) { $views++; }

The interface returns to minimalism: white background, ink-black text, centered content, few decorations. YeCha (夜叉) — the Chinese name is hidden in the system introduction, while the English name handles its public presence.

Y
YeCha 夜叉

安静写字,认真喝茶。本站运行于 YeCha(PHP + MySQL 的极简博客系统)。

Follow

Paragraph comments 1 · moderated

¶ Para 1
老
老茶客
“正文永远完整输出”
「正文永远完整输出」这条请务必写进验收用例,血泪教训。

Comments 2 · moderated

青
青衫
极简路线 + 插件化的取舍很认同。
Reply
moderated
Be kind to the author and readers