mdgarden: a local markdown reader

APRIL 5, 2026Updated NOVEMBER 14, 20262 min read
Stick figure watering a row of paper pages growing like plants in a planter shaped like a browser window.

I had a lot of markdown files around. CLAUDE.md files, skills, prompts, docs folders. I wanted to read them as a set, without opening each one in an editor.

The options I knew didn't fit. Static site generators need setup. IDE previews show one file at a time. GitHub needs a push and a connection.

So I wrote mdgarden.

What it does

Run mdgarden show in a directory. It finds .md and .markdown files, lists them in a sidebar tree, and renders them in the browser.

  • Relative links and images work.
  • You can open files in split panes.
  • It refreshes when a file changes.

How it's built

The backend has three dependencies. Express serves files, chokidar watches them, and open launches the browser. The frontend is React with react-markdown and a few rehype plugins for syntax highlighting and GFM. It installs with npm link.

What it doesn't do

No config, plugins, build step, frontmatter parsing, or database. It reads files from disk and renders them. If you need more, Obsidian or Docusaurus are better fits.