I built a self-hosted notes app on a single Node.js file — no cloud, my own hardware
说明与用途
作者构建了一个完全自托管的笔记应用,运行在单个 Node.js 文件上,支持本地加密备份,并通过 Tailscale 实现手机访问。
问题
The author wanted a notes app that kept all data on personal hardware, was accessible from a phone anywhere, and provided real backups they control.
结果
The author achieved a fully self‑hosted notes application with markdown support, media attachments, full‑text search, encrypted backups, and local mirroring, all running on a single laptop for about $2/month in electricity.
工作流
- Clone the repository
- Run
npm install - Run
npm start - Access the app from a phone via Tailscale
证据
I got tired of my notes living in someone else's cloud, so I built my own.
A single-file Node.js server using the built-in node:sqlite — zero native dependencies, zero external services.
It lives on an old laptop at home. The laptop lid stays closed, it auto‑starts on boot via a watchdog script, and I reach it from my phone over Tailscale.
Total cost: $0 in services. No subscription, no VPS, no Docker.
- 记录日期: 2026-10-16T14:41:37.369Z