Skip to content

gitrep

A system that projects the md in a dir made for publishing onto a blog. I use it to generate this site (d4c.dev/docs).

I came up with it to publish information without changing how I manage things now: git and md based, with AI agents in the loop too. Turning it into a blog is left to automatic generation as much as possible. Down the line, I also expect it to serve as RAG in the broad sense (material for AI to reference).

flowchart LR
  src["公開用の dir<br/>(gitrep.toml で opt-in)"] -->|射影| engine["gitrep<br/>(engine)"]
  engine -->|md| dest["dest repo<br/>(Zensical)"]
  dest -->|build / deploy| web["d4c.dev/docs"]
  • Input is per dir. It reads a dir only when both a gitrep.toml in the dir and the allowlist are in place. A whole repo is never taken as input
  • The engine (which decides what to publish) and the dest (which turns it into html and serves it) are separate repos

Zensical

The html part is left to Zensical. It's a static site generator that builds a whole site from a folder of md and a single config file. It's the successor made by the Material for MkDocs team, and has blog and RSS built in.

  • The first version in 2026-08 was built with Material for MkDocs. Since that went into maintenance mode, I moved to Zensical on 2026-10-05
  • Zensical's roadmap includes "combining multiple independent projects into one site." That points the same way as gitrep, which gathers multiple dirs into one site
  • It's still 0.0.x and not battle-tested. The blog feature only landed in 2026-09. I adopted it betting on its momentum and on it being the official successor
  • The template is stock. Only the colors are matched to d4c.dev via CSS

Images

Images are bundled into the site and served along with the articles.

Created 2026-10-05 · Updated 2026-11-07 · Machine-translated from the Japanese original.