ELSEIF
Your brief EB
389 stories from 200 feeds 1258 clusters Refreshed 14 minutes ago next pull 14:11

DATABASES Signal 142

Treat markdown files with frontmatter as queryable database records

Illustration only Photo by Taylor Vick on Unsplash

Developers can query collections of markdown files as if they were database tables while keeping the files editable in any editor and under version control.

WHY IT MATTERS

The pattern gives you the freedom of plain text with structured metadata, enabling filtering and sorting without locking into a proprietary CMS. It works well for up to roughly ten thousand files, beyond which a traditional database is needed. Adoption cost is low, just a tool to index frontmatter into SQLite or use existing apps like Obsidian.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

Each markdown file becomes a record, its frontmatter fields become columns, and directories act as tables.

02

The pattern provides queryability (filter, sort, aggregate) while preserving plain-text portability, version control, and editor freedom.

03

It is suited for up to roughly ten thousand files; larger collections need a conventional database.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
wayofmarkdown.com via Hacker News Markdown Database Pattern Open ↗