<?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: Elias</title>
    <description>The latest articles on DEV Community by Elias (@eliasw).</description>
    <link>https://dev.to/eliasw</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%2F4188939%2F73b356d7-3b3a-4b67-b56e-08e386da2e62.jpg</url>
      <title>DEV Community: Elias</title>
      <link>https://dev.to/eliasw</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eliasw"/>
    <language>en</language>
    <item>
      <title>I built a self-hosted notes app on a single Node.js file — no cloud, my own hardware</title>
      <dc:creator>Elias</dc:creator>
      <pubDate>Fri, 16 Oct 2026 13:14:01 +0000</pubDate>
      <link>https://dev.to/eliasw/i-built-a-self-hosted-notes-app-on-a-single-nodejs-file-no-cloud-my-own-hardware-5apn</link>
      <guid>https://dev.to/eliasw/i-built-a-self-hosted-notes-app-on-a-single-nodejs-file-no-cloud-my-own-hardware-5apn</guid>
      <description>&lt;p&gt;I got tired of my notes living in someone else's cloud, so I built my own. It's called &lt;strong&gt;notes-site&lt;/strong&gt; — a personal&lt;br&gt;
  notes web app where every byte stays on your own disk.&lt;/p&gt;

&lt;p&gt;## What it is&lt;/p&gt;

&lt;p&gt;A single-file Node.js server using the built-in &lt;code&gt;node:sqlite&lt;/code&gt; — &lt;strong&gt;zero native dependencies, zero external services&lt;/strong&gt;.&lt;br&gt;
  Clone, &lt;code&gt;npm install&lt;/code&gt;, &lt;code&gt;npm start&lt;/code&gt;, done.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Markdown notes with tags and autosave&lt;/li&gt;
&lt;li&gt;Photo / video / audio attachments (upload straight from your phone's camera)&lt;/li&gt;
&lt;li&gt;Auto-converts downloads to MP4 / MP3 / PNG via ffmpeg cache&lt;/li&gt;
&lt;li&gt;Full-text search, 5 sort orders, 30-day trash bin&lt;/li&gt;
&lt;li&gt;Dark mode, responsive layout (add to phone home screen, feels native)&lt;/li&gt;
&lt;li&gt;Export everything to JSON / Markdown / plain text&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic encrypted backups&lt;/strong&gt;: the whole data dir packed into an AES-256-GCM archive you can sync to any cloud
drive — the provider sees nothing&lt;/li&gt;
&lt;li&gt;Every note also mirrored as a plain &lt;code&gt;.txt&lt;/code&gt; — readable in Notepad even if the app is gone&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;## How I run it&lt;/p&gt;

&lt;p&gt;It lives on an old laptop at home. The laptop lid stays closed, it auto-starts on boot via a watchdog script, and I&lt;br&gt;
  reach it from my phone over &lt;strong&gt;Tailscale&lt;/strong&gt;. Honestly, it feels like a commercial notes app — instant sync, works from&lt;br&gt;
  anywhere — except the "data center" is a laptop under my desk, and my monthly bill is about $2 of electricity.&lt;/p&gt;

&lt;p&gt;Total cost: $0 in services. No subscription, no VPS, no Docker.&lt;/p&gt;

&lt;p&gt;## Why not Notion / Obsidian sync / etc.?&lt;/p&gt;

&lt;p&gt;I wanted three things at once: my data on my hardware, access from my phone anywhere, and real backups I control.&lt;br&gt;
  Everything I tried made me pick two. So I picked all three and wrote the missing piece.&lt;/p&gt;

&lt;p&gt;## Try it&lt;/p&gt;

&lt;p&gt;Source (MIT): &lt;a href="https://github.com/A20103/notes-site" rel="noopener noreferrer"&gt;https://github.com/A20103/notes-site&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Requires Node.js ≥ 22.20 (for the built-in SQLite). Windows users get a &lt;code&gt;start.bat&lt;/code&gt; — double-click and go.&lt;/p&gt;

&lt;p&gt;I'd love feedback, issues, and PRs. What does your self-hosted notes setup look like?&lt;/p&gt;

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