homielab/noteflare
Über uns
Keep your notes on Cloudflare. Keep them to yourself. End-to-end encrypted notes on Cloudflare Workers + D1.
Produktivität und AutomatisierungWhat you can do
- 🔐 End-to-end encryption: Argon2id + AES-256-GCM in your browser. The server only ever stores ciphertext.
- 💸 Completely free to run: one Worker, one D1 database, Cloudflare Access — all on the free plan.
- 🎨 Yours to customize: plain React, Tailwind and shadcn/ui, a small Hono API and plain SQL migrations.
- 📝 Markdown notes: headings, tables, quotes, syntax-highlighted code and - [ ] checklists you can tick right on the card.
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- +6
- in 15 days
- +44
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Original[!WARNING] LOSE BOTH YOUR PASSPHRASE AND YOUR RECOVERY CODE AND YOUR NOTES ARE UNRECOVERABLE. THAT'S WHAT REAL END-TO-END ENCRYPTION MEANS.
NoteFlare
Keep your notes on Cloudflare. Keep them to yourself.
A simple, private, serverless notes app — end-to-end encrypted, completely free to run, and yours to customize.
Documentation · Try the demo · English · Tiếng Việt

✨ Features
- 🔐 End-to-end encryption: Argon2id + AES-256-GCM in your browser. The server only ever stores ciphertext.
- 💸 Completely free to run: one Worker, one D1 database, Cloudflare Access — all on the free plan.
- 🎨 Yours to customize: plain React, Tailwind and shadcn/ui, a small Hono API and plain SQL migrations.
- 📝 Markdown notes: headings, tables, quotes, syntax-highlighted code and
- [ ]checklists you can tick right on the card. - 📌 Organize your way: pin, drag notes into the order you want, 8 paper colors, labels, reminders with a due view and notifications while open (and, if you switch it on for a device, while the app is closed), archive, and a trash that empties itself after 30 days. Select several notes, or all of them, and label them or move them to the trash in one go; rename or delete a label everywhere, or make a copy of a note.
- 📥 Drag-and-drop import: drop a folder of Markdown (an Obsidian vault works), a Google Keep export (with its images), or an Evernote, Simplenote or Standard Notes export, and every note arrives encrypted.
- 📤 Export and backup: download your notes as Markdown, or as an encrypted backup you can restore later.
- 🖼️ Encrypted images and files (optional): attach images, PDFs or any other file, encrypted before upload and stored in your own R2 bucket. Browse every image in one gallery, with a Files tab for the rest.
- ✨ Decrypt-in-place unlock: watch every note resolve from ciphertext the moment you unlock.
- 📱 Install it, use it offline: add NoteFlare to your home screen like an app. Read, write and unlock without a connection; changes sync when you're back.
- 🔀 Smart multi-device sync: edits from two devices to the same note are merged line by line, like
git merge. Only a true clash (same line, different text) becomes a separate copy. - ⚡ Instant updates: an edit on one device shows up on your other open devices right away, without reloading.
- 🗝️ Recovery code: forget your passphrase without losing your notes, and change it without re-encrypting anything.
- 👆 Unlock with a passkey: Face ID, Touch ID, Windows Hello or a security key instead of typing your passphrase, still end-to-end encrypted.
- 🔗 Share a note by link: send a read-only copy of one note that opens without signing in. It is encrypted with a key that lives only in the link, so the server can't read it. Links can expire after 1, 7 or 30 days, and you can revoke them any time.
- 🔒 Auto-lock: keys are wiped from memory after 15 minutes idle or with one click.
- ✍️ A Markdown editor that helps: lists and checklists continue when you press Enter, Tab indents, and one tap turns lines into a checklist.
- 🌗 Light and dark, grid or list, mobile-ready, keyboard shortcuts (press
?to see them) and reduced-motion support. - 🔄 Update notices and release notes in the app, checked by your own Worker, with no tracking.
- 🌐 Seven languages out of the box — English, Español, Français, Deutsch, Português (Brasil), Tiếng Việt, 简体中文 — it follows your browser's language the first time, and adding another is one file.
- 🔌 Build your own clients: personal access tokens, a stable
/api/v1with an OpenAPI spec, a TypeScript SDK that handles the encryption, and a CLI.
[!TIP] Who is NoteFlare for? People who want the simplicity of Google Keep without handing their notes to anyone — including the server they run on. It's built for individuals and small groups (Cloudflare Access is free for up to 50 users).
🪧 Screenshots
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
🚀 Get started
You need a free Cloudflare account and a free GitHub account. No coding, about 10 minutes.
- Deploy in one click: click Deploy to Cloudflare above, type your email, and wait for the build.
- Set up the login: open your new NoteFlare link and paste a one-time Cloudflare API token. NoteFlare adds a Cloudflare Access login so only your email can open it.
- Create your passphrase: it encrypts your notes. Write down the recovery code.
Watch every step first: 3-minute video with narration.
Prefer a terminal, or want an AI agent to do it? See Deploy from the command line:
bun install
bunx wrangler login
bun run deploy # build → deploy the Worker (creates D1) → apply migrations
Updating later takes one click: Update to a new version. Something went wrong? Check the FAQ.
📖 Guides
Everything is in the NoteFlare docs (English and Tiếng Việt).
| Guide | What it covers |
|---|---|
| Import your notes | Markdown folders, Obsidian vaults, Google Keep, Evernote, Simplenote, Standard Notes |
| Export and backup | Markdown export, encrypted backups, daily backups, restore |
| Images and files | Turn on encrypted attachments in your own R2 bucket |
| Share a note by link | Read-only links that expire, with the key only in the link |
| Install on your phone, use offline | Install the app, what works offline, Access tips for phones |
| Sync between devices | How edits from two devices are merged |
| Integrations and API | Access tokens, the TypeScript SDK, the CLI, the MCP server for AI tools |
| Customize | Which file to edit for colors, languages, timings and more |
| Free-tier budget | How NoteFlare stays within Cloudflare's free plan |
| Hardening checklist | Lock down your deployment |
🔐 How the encryption works
passphrase ──Argon2id (64 MiB, t=3)──► KEK ──AES-GCM wrap──► wrappedDek ┐
recovery code ──HKDF-SHA256─────────────► RKEK ──AES-GCM wrap──► recoveryDek ├─ stored in D1
passkey PRF ──HKDF-SHA256─────────────► PKEK ──AES-GCM wrap──► passkey copy │ (one per passkey)
random 256-bit DEK ──AES-GCM, AAD = "note:<id>"──► note ciphertext ┘
──AES-GCM, AAD = "blob:<id>"──► attachment ciphertext (R2, optional)
- Your passphrase, the data key (DEK) and note content never leave the browser unencrypted. Titles, bodies, labels and colors are all inside the ciphertext.
- In a session the DEK is a non-extractable
CryptoKeykept in memory only. Locking discards it. - The Worker verifies the Cloudflare Access JWT itself instead of trusting headers, and the client refuses weak Argon2 parameters, so a malicious server can't downgrade the KDF.
Full details: Encryption and Architecture.
🧱 Tech stack
- Runtime: Cloudflare Workers with Static Assets, Cron Triggers and Durable Objects for live sync
- Database: Cloudflare D1 (SQLite)
- Auth: Cloudflare Access, verified with jose
- API: Hono
- UI: React 19, Tailwind CSS 4, shadcn/ui, lucide, View Transitions API
- Markdown: TanStack Markdown, with TanStack Highlight for code
- Attachments (optional): Cloudflare R2
- Crypto: WebCrypto + hash-wasm (Argon2id)
- Offline: a Service Worker for the app shell, IndexedDB via idb for encrypted notes and the sync queue
🚗 Roadmap
Contributions are welcome. Read CONTRIBUTING.md, and open an issue to talk through bigger changes first.
- End-to-end encryption with recovery code
- Markdown with tickable checklists
- Labels, pin, archive, trash with auto-purge
- Decrypt-in-place unlock and View Transitions
- UI in English, Spanish, French, German, Brazilian Portuguese and Vietnamese
- Drag-and-drop Markdown import
- Installable app that works offline
- Automatic three-way merge across devices
- Public API, access tokens, TypeScript SDK and CLI
- Export from the web app, encrypted backup and restore
- Drag-and-drop reordering
- Encrypted image and file attachments on R2
- Google Keep, Evernote, Simplenote and Standard Notes import
- Code highlighting via TanStack Highlight
- Passkey unlock and shared links
🙋 FAQ
Can Cloudflare read my notes? No. Notes are encrypted in your browser before they're sent; D1 only holds ciphertext and wrapped keys.
Is it really free? On Cloudflare's free plan, yes. There's no paid service in the stack. See the free-tier budget.
Is there a mobile app? NoteFlare installs from the browser as an app and works offline. There's no App Store build.
I forgot my passphrase. Use Forgot passphrase? on the lock screen with your recovery code. Without either, the data can't be decrypted, by design.
More answers, including setup errors, in the full FAQ.
📚 Documentation
| Doc | For |
|---|---|
| NoteFlare docs | Deploying, using, updating and customizing NoteFlare |
| API guide | Building scripts and apps on /api/v1, the SDK and the CLI |
| Architecture | How the Worker, D1, encryption and offline sync fit together |
| Security | Threat model, what the server can see, reporting vulnerabilities |
| Contributing | Local setup, tests and pull request checklist |
| Changelog | What changed in each release |
💖 Credits
Cloudflare · TanStack Markdown · shadcn/ui · Hono · hash-wasm · Be Vietnam Pro
NoteFlare is an independent project and is not affiliated with Cloudflare or Google. Its orange palette is a nod to the platform it runs on; the logo is original and doesn't use Cloudflare's trademarks.
📄 License
⭐ Support
NoteFlare is free, with no ads and no tracking, and it stays that way. If it keeps your notes safe:
- Star the repo so others can find it.
- Buy me a coffee on Ko-fi to fund the time that goes into it.
- Tell us you deployed it in Discussions. There's no telemetry, so that's how we know it works.
Ähnliche Projekte entdecken
Wird geladen…





