<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Asdra</title>
    <description>The latest articles on DEV Community by Asdra (@asdrasantana).</description>
    <link>https://dev.to/asdrasantana</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4097775%2F5e8ba5be-9ec2-4034-b870-2dde9edf2f36.jpg</url>
      <title>DEV Community: Asdra</title>
      <link>https://dev.to/asdrasantana</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/asdrasantana"/>
    <language>en</language>
    <item>
      <title>The Markdown Database Pattern</title>
      <dc:creator>Asdra</dc:creator>
      <pubDate>Fri, 28 Aug 2026 00:13:10 +0000</pubDate>
      <link>https://dev.to/flowershow/the-markdown-database-pattern-4n84</link>
      <guid>https://dev.to/flowershow/the-markdown-database-pattern-4n84</guid>
      <description>&lt;p&gt;Your filesystem is already a database. Most tools just don't treat it that way.&lt;/p&gt;

&lt;p&gt;That's the core idea behind the &lt;strong&gt;Markdown Database Pattern&lt;/strong&gt; — written up properly on &lt;a href="https://wayofmarkdown.com" rel="noopener noreferrer"&gt;The Way of Markdown&lt;/a&gt;, a site we've been contributing to that makes the case for building things on plain markdown instead of locked-in platforms. We think it's a pattern worth more attention, so here's the short version.&lt;/p&gt;

&lt;p&gt;Treat a folder of markdown files as a database. Each file is a record. Frontmatter fields are columns. Directories are tables. Tags, wikilinks, and tasks in the body become queryable relations.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Filesystem              Database
──────────────────────────────────
markdown file      →    record
frontmatter field  →    column
directory          →    table
#tag               →    tag relation
[[wikilink]]       →    link relation
- [ ] task         →    task relation
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You get portability, version control (git works perfectly on plain text), no framework lock-in, and full queryability. You give up scale and real relational joins — this isn't for millions of records. It's a &lt;em&gt;lightweight&lt;/em&gt; database, honest about its limits.&lt;/p&gt;

&lt;p&gt;Once you name it, you start seeing it everywhere. Obsidian Bases and Dataview already do versions of this, half-consciously. A team wiki where every page has a &lt;code&gt;status&lt;/code&gt; and &lt;code&gt;owner&lt;/code&gt; field is one. A blog with &lt;code&gt;date&lt;/code&gt; and &lt;code&gt;tags&lt;/code&gt; in frontmatter is one — it just doesn't know it yet.&lt;/p&gt;

&lt;p&gt;Sweet spot: up to roughly 10k files. Past that, reach for a real database. Below it, this gets you almost everything a database gives you, at a fraction of the complexity, with none of the lock-in.&lt;/p&gt;

&lt;p&gt;The full writeup — the complete tradeoff analysis, a worked example with actual queries, how to implement it in a weekend, and the tool (&lt;a href="https://github.com/flowershow/markdowndb" rel="noopener noreferrer"&gt;MarkdownDB&lt;/a&gt;) that does it for you — is here: &lt;a href="https://wayofmarkdown.com/markdown-database?utm_source=devto&amp;amp;utm_medium=social&amp;amp;utm_campaign=devto-1" rel="noopener noreferrer"&gt;wayofmarkdown.com/markdown-database&lt;/a&gt;&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>opensource</category>
      <category>obsidian</category>
      <category>markdown</category>
    </item>
  </channel>
</rss>
