realchendahuang/FlareMo

跑在 Cloudflare 上的 AI 原生第二大脑:零服务器、零运维,记录、任务与文章沉淀为你的知识库,也是 AI Agent 的长期记忆。 / An AI-native second brain on Cloudflare: zero servers, zero upkeep.

FlareMo is an open-source "second brain" — a personal knowledge base and note-taking app — that runs entirely on Cloudflare's global edge network. The pitch: no servers to buy, no software to maintain, no backups to babysit. It's designed to be AI-native, meaning AI assistants can read and write your notes directly.

What It Does

FlareMo combines several tools into one app:

  • Notes: Quick capture with tags, markdown formatting, image/audio attachments, comments, full-text search, and version history.
  • To-dos & projects: Turn any note into tasks with due dates and projects; manage them as kanban boards or day-grouped lists.
  • Articles: Write longer pieces and publish them.
  • Reminders: Day-level scheduling with due/overdue notifications (no clock-time alarms).
  • Team sharing: Optional team space where members share notes, comment, and mention each other. Three visibility levels: Private (only you), Team (read-only for members), Public (anonymous via time-limited links).
  • AI integration: An MCP endpoint plus a "skill" file lets AI tools like Claude, Cursor, or ChatGPT search, read, and write your notes directly — no separate AI memory store needed.
  • Offline-first PWA: Installable on desktop/mobile; drafts save locally and sync when connectivity returns; voice input streams speech-to-text.
  • Plugins: A card-based extension system with five built-in card types (Plain, Daily, Ticket, Postcard, Postmark). Cards run in a sandbox with no network access.

How It Works Under the Hood

  • Runtime: Cloudflare Workers (code runs at the edge node nearest you).
  • Database: Cloudflare D1 (SQLite-based) for notes, tasks, and settings.
  • Storage: Cloudflare R2 for attachments and exports.
  • Auth: Better Auth with secure cookie sessions and revocable personal access tokens.
  • Search: SQLite FTS5 full-text indexing plus vector-based semantic search via Workers AI and Vectorize.
  • Frontend: React 19, Vite, Tailwind CSS 4.

Deployment

The README offers four methods, all targeting Cloudflare:

  1. One-click deploy via a Cloudflare button (clones the repo, provisions resources automatically).
  2. GitHub Action on a self-hosted fork.
  3. AI agent deployment — give the repo to Claude Code or similar with a guide file.
  4. Manual 3-step: create D1/R2 resources, configure secrets, deploy.

After deploying, you visit /setup with a bootstrap secret to create your owner account.

Cost & Comparison

The README argues Cloudflare's free tier is effectively unlimited for personal text-heavy use: 5 GB database (~2.5 million text memos), 10 GB storage, and generous request limits. It compares favorably against home NAS setups (hardware cost, maintenance) and traditional VPSes (monthly bills, security patching).

Data Ownership

  • One-click full export (notes, attachments, tasks, projects, articles).
  • Imports that roll back completely on failure.
  • A converter for migrating from other tools (e.g., Memos).
  • An /api/v1 compatibility layer for scripts.

License

GNU AGPL-3.0, copyright 2026 realchendahuang.

Bottom line: FlareMo is a self-hosted-on-Cloudflare alternative to tools like Notion or Obsidian — but with zero infrastructure to manage, AI agents that work directly on your notes, and a strong emphasis on data portability. It's aimed at individuals who want a private knowledge base and teams that want a lightweight shared space.

Related

  • Project
  • Project
  • Project
  • Project
  • Dispatch