Self-hosted web app (PWA) · 2026
RING Hub.
An open source personal hub and the harness for its owner's personal AI: life organized on the phone and an MCP server for the AI to read, act and keep what it learns about the person. The open version of RING, the assistant I use every day.
Why I made it
I use RING every day: a personal assistant that lives on my computer, built bit by bit, with AI, an encrypted vault and an area for each part of life. Whenever I showed it to someone, they asked the same thing: "can I use it?". They couldn't. RING is full of things that only make sense for me.
So I opened a version with every area that works for anyone, and removed what was only mine: the encrypted vault, my company, social media and personal integrations. Simple enough to install in a few steps and for a student to read the code.
The idea
The computer is the deck: a small server that keeps everything in one file and serves the app to the phone over Wi-Fi. The phone scans a QR code, connects with a 6-digit code and installs the hub as an app on the home screen. Check a habit on the phone and it shows up on the computer in the same second.
There are thirteen areas: Today, Tasks (priority, tags, repeats and a board), Calendar (recurrence, reminders and .ics), Studies (exams, topic board and spaced repetition flashcards), a Markdown dev knowledge base with [[links]], a graph and TIL, snippet and ADR templates, Journal, Goals that measure themselves, Money with fixed bills and forecast, Wellbeing, Workouts, Calories, Milestones and Ringo, an optional AI that knows your day and your notes.
Creative process
I went through RING area by area, separating the rules from what was personal. The rules (recurrence, spaced repetition, monthly forecast, goal progress) live in tested modules that run the same on the server and in the browser. Every change is an action validated by a schema, saved to disk and pushed to open devices with Server-Sent Events. Notes are real .md files, so the same folder opens in Obsidian.
I kept RING's look and mechanics (the sage background, white cards, natural language capture, the bento Today screen) and created the Hub's own identity, with a brand book. Then came the product page, written for people who have never opened a terminal, and a demo video showing the phone updating the computer live.
Decisions I made
- No framework, no build stepPlain HTML, CSS and JavaScript in the app, one module per screen, and plain Node.js on the server. One dependency, to draw the QR code.
- AI native, via MCPThe hub is an MCP server with 19 tools and per-agent keys (read only or read and write). The knowledge base holds notes, journal, studies, work sessions and what the AI learns about the person, one fact per line, all in Markdown and exportable as JSONL to vectorize in a RAG (Pinecone, Chroma, pgvector).
- Local-firstData stays in an atomically written JSON file and the knowledge base in Markdown files, on the person's computer. Backup means copying a folder.
- Security from day onePairing code that expires and locks after failed tries, per-device key stored only as a hash, HttpOnly cookie, and proxied requests never treated as the owner.
- PWA instead of an app storeNo App Store: the app installs from the browser and sits on the home screen. AI is optional: Ollama on your own computer or any OpenAI-compatible API, with the key kept only on the server.
What I took away
Open sourcing a personal project is an exercise in cutting. The hard part was not writing the code, it was deciding what to leave out so someone else could run it, understand it and change it.