<?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: kdrgny</title>
    <description>The latest articles on DEV Community by kdrgny (@kdrgny).</description>
    <link>https://dev.to/kdrgny</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%2F4051719%2Fd2a63dc3-4426-479e-95d3-448d27c990e0.jpg</url>
      <title>DEV Community: kdrgny</title>
      <link>https://dev.to/kdrgny</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kdrgny"/>
    <language>en</language>
    <item>
      <title>I built a CMS that needs no account, no database, and no API key</title>
      <dc:creator>kdrgny</dc:creator>
      <pubDate>Tue, 28 Jul 2026 17:23:57 +0000</pubDate>
      <link>https://dev.to/kdrgny/i-built-a-cms-that-needs-no-account-no-database-and-no-api-key-4ep9</link>
      <guid>https://dev.to/kdrgny/i-built-a-cms-that-needs-no-account-no-database-and-no-api-key-4ep9</guid>
      <description>&lt;p&gt;Every time I wanted to add some editable content to a small site, the "modern" answer was a headless CMS. And every headless CMS wanted something &lt;em&gt;before&lt;/em&gt; it would let me type a single word: an account, a database, an API key, a plan tier.&lt;/p&gt;

&lt;p&gt;For a personal site or a tiny project, that always felt absurd. I'm renting a company to hold three blog posts — and if I ever want to leave, getting my own words back is an export job.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;JustJSON&lt;/strong&gt;. It wants none of that.&lt;/p&gt;

&lt;h2&gt;
  
  
  One command, no setup
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @kdrgny/justjson
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That opens an editor in your browser. You design a schema by clicking, write your content, and everything is saved to &lt;code&gt;content/*.json&lt;/code&gt; &lt;strong&gt;in your own folder&lt;/strong&gt;. No account. No database. No API key. Nothing is uploaded anywhere — it runs on your machine and stops when you close it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F14sv31tfq6gqh4ej5tbg.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F14sv31tfq6gqh4ej5tbg.gif" alt="JustJSON in action — edit a post, save it to disk, restyle the generated site with a live preview" width="720" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Your content is &lt;em&gt;actually&lt;/em&gt; just files
&lt;/h2&gt;

&lt;p&gt;There's no magic store behind it. A collection is a folder, an entry is a file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;content/
  _schema.json          ← your schema (built in the UI)
  posts/
    hello-world.json    ← one entry per file
  settings.json         ← a singleton
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It diffs cleanly in git, versions like code, and you can read it however you want. JustJSON only &lt;em&gt;edits&lt;/em&gt; the files — it never holds them hostage.&lt;/p&gt;

&lt;h2&gt;
  
  
  Typed, and wired into your build
&lt;/h2&gt;

&lt;p&gt;Content you can't use is just a pile of JSON. So JustJSON generates a typed loader from your schema:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @kdrgny/justjson types
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;loadPosts&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;loadSettings&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;./content&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;posts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;loadPosts&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;        &lt;span class="c1"&gt;// fully typed, slug merged in&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;settings&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;loadSettings&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;  &lt;span class="c1"&gt;// Settings | null&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Zero dependencies, reads straight from disk — so it works in any Node-based build, including Next.js server code. And for Astro, there's a dedicated loader that turns your content into real content collections in one line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// src/content.config.ts&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;justjsonCollections&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@kdrgny/justjson-astro&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;collections&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;justjsonCollections&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;getCollection()&lt;/code&gt; / &lt;code&gt;getEntry()&lt;/code&gt; just work, drafts are skipped, and saving in the editor updates the dev server without a restart.&lt;/p&gt;

&lt;h2&gt;
  
  
  Catch bad content before it ships
&lt;/h2&gt;

&lt;p&gt;Because it's local, there's no server validating your data — so there's a command for CI:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @kdrgny/justjson validate &lt;span class="nt"&gt;--strict&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It walks your content and fails the build on broken relations, duplicate slugs, missing media, and type errors. A typo never makes it to production.&lt;/p&gt;

&lt;h2&gt;
  
  
  From nothing to a live site
&lt;/h2&gt;

&lt;p&gt;If the folder has no site yet, JustJSON can scaffold a small Astro site wired to your content, let you style it with a live preview, and hand the repo to Vercel or Netlify — all from the editor. Still no account with anyone; the files stay yours.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it right now — no install
&lt;/h2&gt;

&lt;p&gt;If &lt;code&gt;npx&lt;/code&gt; is too much commitment, the whole thing boots in your browser:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://stackblitz.com/github/kdrgny-dev/justjson/tree/main/examples/playground" rel="noopener noreferrer"&gt;Open the playground on StackBlitz&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What it's &lt;em&gt;not&lt;/em&gt; (being honest)
&lt;/h2&gt;

&lt;p&gt;JustJSON is deliberately &lt;strong&gt;local-first and single-user&lt;/strong&gt; — git is the collaboration layer, not a multiplayer server. It's &lt;strong&gt;MIT&lt;/strong&gt;, and it's an early &lt;strong&gt;solo side project&lt;/strong&gt;. So if you try it, I'd genuinely love to hear where it breaks or what's missing.&lt;/p&gt;

&lt;p&gt;If you're wondering how it stacks up against Keystatic, Decap or Tina, I wrote an honest comparison here: &lt;strong&gt;&lt;a href="https://justjson.vercel.app/vs" rel="noopener noreferrer"&gt;justjson.vercel.app/vs&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;⭐ Repo: &lt;a href="https://github.com/kdrgny-dev/justjson" rel="noopener noreferrer"&gt;https://github.com/kdrgny-dev/justjson&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📖 Docs: &lt;a href="https://justjson.vercel.app/docs" rel="noopener noreferrer"&gt;https://justjson.vercel.app/docs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🧪 Try in browser: &lt;a href="https://stackblitz.com/github/kdrgny-dev/justjson/tree/main/examples/playground" rel="noopener noreferrer"&gt;https://stackblitz.com/github/kdrgny-dev/justjson/tree/main/examples/playground&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the idea of &lt;em&gt;"own your content — it's just JSON"&lt;/em&gt; resonates, a star or a bit of feedback would make my week. 🙏&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>astro</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
