devot-notes/devot
关于
Local-first Markdown notes for Mac and iPhone: live preview, end-to-end encrypted sync, plugins, themes and MCP for AI tools.
效率与自动化实测星标增长
- 24小时
- 正在收集历史
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Devot
Local-first Markdown notes for Mac and iPhone. Your notes stay on your devices, in your hands.
Website · Docs · Download · Why Devot · Features · AI & MCP · Limitations · Contributing
Local-first Markdown notes for Mac and iPhone: live preview, end-to-end encrypted sync, plugins, themes and MCP for AI tools.
Devot keeps your notes in a SQLite database on your Mac, iPhone or iPad. Writing, organising and searching work offline without a Devot account. You decide whether to sync your notes, publish an encrypted web page, mirror a Markdown folder or grant an AI tool access to specific notebooks. The product site is devot.online, with guides at devot.online/docs.
Why Devot
- Local data, zero accounts: Notes live in a local SQLite database with automatic daily backups and full offline search, including on-device semantic matches and image OCR.
- End-to-end encrypted sync you control: Sync across Mac, iPhone and iPad through your own iCloud or a self-hosted Cloudflare Workers or Node relay (docs/sync-relay.md). Every note is sealed on your device before it leaves.
- Built for AI agents and developer workflows: Connect Claude Code, Codex, Claude Desktop, Antigravity CLI (
agy) or any stdio MCP client directly to Devot's built-in Mac bridge, scoped strictly to notebooks where you enable Allow AI Access. Keep a two-way Markdown mirror folder for Git,grepand external editors, or script notes with thedevotCLI. - Fast native feel across Apple devices: One universal signed app for macOS 15 or later (Apple Silicon or Intel), plus an App Store app for iPhone and iPad (iOS 26 or later).
- Source-available and sold once: Try every feature free for 30 days, unlock permanently on up to three devices with a one-time licence (pricing), or fork and build from source for free under FSL-1.1-MIT (each release converts to MIT after two years).
Download
Mac (signed and notarised): Download Devot_<version>_universal.dmg from the latest release, open it and drag Devot to Applications.
Current builds are signed with Devot's Developer ID and notarised by Apple, and require macOS 15 or later on Apple Silicon or Intel.
Devot checks for updates automatically; use Devot > Check for Updates… to check now.
iPhone and iPad: Devot is on the App Store (requires iOS 26 or later). The iPad runs the same screens, in columns when the window is wide.
Build from source (Mac): You need macOS 15 or later (Apple Silicon or Intel), Xcode Command Line Tools (xcode-select --install; full Xcode 26 or later is needed to bundle the layered app icon), Node 24+, pnpm 12 and Rust via rustup (details in docs/development.md):
git clone https://github.com/devot-notes/devot.git
cd devot
pnpm install
pnpm dev # run with hot reload (isolated dev data folder)
pnpm build # build src-tauri/target/release/bundle/macos/Devot.app
A build you make yourself checks no licence and unlocks every feature locally, without touching an installed release app's database.
See docs/releasing.md for keeping a locally built app in Applications.
Features
This list follows the current source; see the release notes for what is in the downloadable builds.
Organise
- Nestable notebooks with icons, tags with colours, note statuses (none, active, on hold, completed, dropped), pinning and a Trash.
- Open any notebook as a focused workspace showing only its notes, sub-notebooks, statuses and tags.
- Templates with front matter for title, notebook, tags and status, plus placeholders such as
{{date}}. - Today's note, generated from a daily template you choose, and a Quick Note from the menu bar.
- View a notebook as a list, a gallery of page previews or a status board with each card's task progress.
- Sort and filter the note list; multi-select notes to move, tag, export or trash them together.
Write
- Markdown editor with editor-only, split and preview modes, synced scrolling and Focus Mode.
- Write mode renders formatting as you type and reveals Markdown syntax only for the element under the caret.
- Resizable note inspector with Outline, Info and History, plus word and character counts.
- Safe live preview with GitHub-flavoured Markdown, syntax-highlighted code blocks, math, Mermaid and PlantUML diagrams, Markmap mind maps, emoji, alerts, task lists and click-to-load YouTube and Vimeo embeds.
- Self-contained HTML document notes rendered in an offline sandbox without network access.
- Keyboard-first tables: move between cells with Tab, add, reorder and align rows and columns, and format tables.
- Pasted and dropped images and attachments, with file sizes and a built-in image viewer.
- Find and Replace with case sensitivity and regular expressions, multiple cursors, line commands and slash commands.
- Optional Vim keybindings under Settings > Editing > Vim Mode.
- Revision History saves a snapshot when you pause typing so you can inspect and restore any earlier version.
Find and connect
- Full-text search with query qualifiers (notebook, tag, status, pinned, title, body and
-exclusions) and saved searches in the sidebar. - Related by Meaning shows semantic matches below keyword results using the system's on-device sentence model where available, without an AI provider or internet connection.
- Image text search (OCR) finds notes by text inside attached screenshots, receipts and photos on Mac and iPhone; recognition runs on-device and never mutates the note or syncs extracted text.
- Link notes with
[[, inspect backlinks and unlinked mentions, embed notes and explore connections in Graph view. - Open notes from other apps with
devot://links. - Command palette for commands and note search, with customisable keyboard shortcuts.
Appearance and languages
- Light, dark or system appearance with independent themes for each mode.
- Built-in themes: Default, Ivory and four gradients (Dawn, Tide, Sage, Ember), plus an option to use the system accent colour.
- Separate app, note and code fonts chosen from built-in fonts, installed system fonts or imported font files (TTF, OTF, WOFF or WOFF2).
- Adjustable Glass window translucency.
- macOS text services in the editor: Look Up and Speech.
- English and Simplified Chinese on Mac and iPhone (Settings > General > App Language; applies on next launch).
Bring notes in and out
- Import Markdown files, a Markdown folder (with images), HTML files, a Notion Markdown export or Bear TextBundles into a notebook; links between imported files become note links.
- Import an Obsidian vault on Mac, bringing across note properties and converting Canvas files into notes.
- Export a note, selection, notebook or entire library as Markdown or HTML; export a note as PDF; print.
- Share on Web publishes an encrypted, read-only page with an expiry date; the decryption key travels only in the link.
- Collect articles from X with the Grok Bot reading inbox and retrieve them from any Devot-connected agent.
- Keep a live two-way Markdown mirror folder synced with every note.
Sync and safety
- End-to-end encrypted sync between Mac, iPhone and iPad through your own iCloud, or through a self-hosted relay (docs/sync-relay.md): each record is sealed on the device before it leaves.
- Devices on the same Apple ID receive the key through iCloud Keychain; a pairing code connects devices everywhere else.
- Automatic daily local backups with one-click restore (Devot > Backups…).
- Local logs and errors record codes and IDs only, never note text.
- Local activity heatmap shows when you write; usage events stay on your Mac and can be inspected in Settings > Usage.
Work with AI, on your terms
- Built-in local MCP bridge for Claude Code, Codex, Claude Desktop, Antigravity CLI and other MCP clients, restricted strictly to notebooks you opt in (setup below).
- Edit with AI improves, proofreads, summarises or restructures a selection with a reviewable diff before applying.
- Ask Your Notes streams answers with links back to source notes, searching only notebooks allowed for AI access.
- Bring your own provider: Anthropic, any OpenAI-compatible endpoint (including a local model server), or on Mac an installed and signed-in Claude Code or Codex CLI.
- Review Changes lets you accept or undo individual edits made by an agent.
- Suggest Next Edit offers inline continuations at the caret as ghost text; press Tab to accept.
Themes · Focus Mode
Tables you edit with Tab · Command palette
Revision History · Templates
Claude and other MCP clients
Claude Code, Codex, Claude Desktop, Antigravity CLI (agy) and other stdio MCP clients can work directly with your notes through Devot.
Nothing extra needs to be installed: clients run a small bridge inside Devot's own binary (--cli mcp), which talks only to the running app on this Mac.
Agent edits merge live into an open note without moving your caret or breaking your undo history.
See the step-by-step AI tools guide for screenshots and troubleshooting.
Only notebooks with Allow AI Access turned on are visible. Right-click a notebook in the sidebar and choose Allow AI Access (marked with a sparkle). The setting is per notebook: a sub-notebook needs its own permission. Notes in the Trash and unfiled notes are never visible.
Settings > Integrations > AI Tools shows how many notebooks allow access, with Choose… to update several at once (also available from the Command Palette as AI Access for Several Notebooks…, with Undo).
| Tool | What it does |
|---|---|
list_notebooks |
Lists notebooks with Allow AI Access enabled |
search_notes |
Full-text search with query qualifiers and snippets |
read_note |
Reads a note's Markdown and metadata |
list_tags |
Lists tags on AI-accessible notes |
create_note |
Creates a Markdown or HTML note in an allowed notebook |
update_note |
Updates title, whole body or exact patches, notebook, tags and status |
append_to_note |
Appends or prepends text under a heading or at the end of a note |
trash_note |
Moves a note to the Trash (recoverable) |
create_notebook |
Creates a notebook with Allow AI Access enabled |
Edits apply directly, and Devot saves the previous version in Revision History before every edit so you can always restore it.
Set it up
Open Settings > Integrations and choose Connect for Claude Code, Codex, Claude Desktop or Antigravity CLI (agy).
Devot previews the exact config change or command first, preserves the rest of your file and keeps a backup beside it.
The token stays in your keychain and is never written into client config files.
Install Devot in Applications first: Connect waits while the app runs from a disk image.
Restart the client after connecting.
Set Up by Hand at the end of the Clients card provides copyable config for any client. On a default Mac install:
# Claude Code
claude mcp add --scope user devot -- /Applications/Devot.app/Contents/MacOS/devot --cli mcp
# Antigravity CLI
agy mcp add devot -- /Applications/Devot.app/Contents/MacOS/devot --cli mcp
# ~/.codex/config.toml
[mcp_servers.devot]
command = "/Applications/Devot.app/Contents/MacOS/devot"
args = ["--cli", "mcp"]
Background startup for AI tools
AI tools require Devot to be running. When a client calls a tool while Devot is closed, Devot starts in the background with no window and no Dock icon, showing a menu-bar icon with Quit Devot. It saves and quits automatically after 10 minutes without a request (unless you open a window), and starts again on the next request.
Settings > Integrations > AI Tools lets you inspect background status, disable Start in the Background (returning E_MCP_BACKGROUND_START_OFF when closed), toggle Allow AI Tools, or switch Access between Read Only and Read and Write.
None of these switches enable the Local HTTP API, which has its own toggle and token.
Logs carry error codes and IDs only, never note text.
Capture, CLI and Markdown mirror
Capture from anywhere
- System Share menu: Send text, links and images into Devot on Mac, iPhone or iPad.
- iPhone Shortcuts and widgets: Use the Add to Devot and Open Today's Note Shortcuts actions, or open today's note from a widget or Control Center.
- Capture links (
devot://capture): Opendevot://capture?title=…&text=…&url=…from Shortcuts or a launcher to pre-fill Quick Capture; save with⌘↩or cancel, so a link never creates a note silently. Every field is optional and percent-encoded, andurlmust behttporhttps. - Browser clipper (Chrome and Firefox): Run
pnpm installandpnpm clipper:build. In Chrome, enable Developer mode atchrome://extensionsand click Load unpacked on clipper/dist/chrome. In Firefox, openabout:debugging#/runtime/this-firefox, choose Load Temporary Add-on and select clipper/dist/firefox/manifest.json (temporary installs last until Firefox closes; persistent installs require signing). The clipper's settings page opens on install and guides you through enabling Devot's local HTTP API with Read and Write access, pasting the token, adding the extension's origin under Browser Extensions and enabling AI access on a destination notebook; Save and Check verifies each step. Enable Allow Image Downloads in clipper settings to embed images into notes (images that cannot be downloaded stay web links). The token stays local to the browser profile and is not synced.
Command line tool (devot)
Enable Settings > General > Command Line Tool (when installed in Applications) to link /usr/local/bin/devot:
devot # launch or focus Devot
devot notes.md --notebook Inbox # import Markdown files into a notebook
devot append --today --heading Tasks "- Ship it" # append under a heading (--prepend / --stdin supported)
devot export doc.md -o doc.pdf # standalone Markdown to PDF or HTML export
Markdown mirror
Settings > Mirror (or Choose Markdown Mirror Folder… in the command palette) keeps a chosen folder continuously updated with every note as plain Markdown files: one folder per notebook, one file per note and images in an attachments folder.
External editors, grep, Git, Spotlight and scripts can read your library without manual exports, and importing the folder reproduces the same notes.
Templates and Trash are excluded; Include Attachments (on by default) controls whether images are copied.
Turn on Bring Back Outside Edits to edit mirrored files in other apps as well: external edits merge back into the note (including title, tags and status from front matter, keeping image links intact) while preserving revision history and sync.
- Externally edited files are never silently overwritten: when Bring Back Outside Edits is off, or when both Devot and an external app changed the note, Devot renames the external file to
<name> (edited outside Devot).md, notifies you and writes its own version. Unmanaged files in the folder are never touched. - If the folder becomes unavailable (such as an unplugged drive), the mirror pauses and resumes automatically once writable again.
- If
.devot-mirror.jsonis missing or damaged, the mirror pauses until you re-select the folder (or restore the file) and reclaims matching files without duplicating them.
Plugins on Mac
Open Settings > Plugins > Official Plugins to browse, install and update official plugins, or install a plugin from a local folder or ZIP archive. Devot displays every permission a plugin requests before you approve it, and runs plugins inside a sandbox. Plugins can add themes, commands, preview renderers and import or export formats.
Want to build your own plugin?
Use the plugin kit (devot-plugin new, validate, pack) to scaffold, type-check and package plugins against Devot's own manifest rules.
Limitations and boundaries
Devot makes deliberate trade-offs to stay local-first and account-free:
- Apple platforms only for now: Requires macOS 15 or later (Apple Silicon or Intel) on desktop, and iOS 26 or later on iPhone and iPad. Windows and Linux are not currently supported.
- No Devot accounts or hosted sync relay: Sync runs through your own iCloud or a relay you deploy on Cloudflare Workers Free or Node (docs/sync-relay.md). There is no Devot-hosted sync server.
- Local-only MCP: The MCP bridge runs inside the Mac app over stdio and talks only to Devot on that Mac. There is no hosted MCP server or public endpoint.
- Plugins run on Mac only: iPhone and iPad do not execute plugins, though they display saved plugin drawings synced from a Mac.
- Opt-in crash reports: Crash reports are off by default under Settings > General and carry only error codes and code locations, never note text. Turning them off deletes unsent reports. Fresh source builds have no
DEVOT_SENTRY_DSN, start no crash reporter and send nothing (seedocs/development.md). - Trial and licence boundaries: Signed releases include a full 30-day trial. After the trial, reading, keyword search, copying and exporting stay unlocked forever; editing, sync, semantic search and AI require a one-time licence (up to three devices at a time, across every version). Self-built copies check no licence, but have no signed installer or automatic updates.
Development
Full requirements, scripts, source layout, iOS simulator setup and targeted CI details are in docs/development.md.
In short:
pnpm install
pnpm dev # run the app with hot reload
pnpm check # run the full CI suite locally
Key references in this repository:
- Performance methodology and local baseline:
docs/benchmarks/README.md - Release process and local signing:
docs/releasing.md - Repository summary for search and answer engines:
llms.txtanddocs/seo/README.md
Contributing
If Devot fits your workflow, star the repository to follow new releases and help others discover a local-first, account-free notes app.
Ways to get involved or build on Devot:
- Report bugs or propose improvements in GitHub Issues.
- Fork the repository to build Devot from source, self-host or customise the sync relay (
relay/), package the browser clipper or contribute code back. - Build an extension using the plugin kit for custom themes, commands, preview renderers or import/export formats.
To submit a pull request:
- Fork the repository and create a branch from
main. - Read the contributor rules in
CLAUDE.md(test-first workflow, real SQLite in tests, no CJK outside translation catalogs, design tokens). - Run
pnpm checklocally so formatting, linting, typechecks, unit/policy tests, UI tests and Rust checks pass before pushing. - Open a pull request with a Conventional Commits title (
feat:,fix:,test:,docs:,refactor:,chore:).
Changes reach main only through pull requests after CI passes, and the pre-push hook blocks direct pushes to main.
Security
Report security vulnerabilities privately via GitHub's Security tab, as described in SECURITY.md.
Do not open a public issue or pull request for a security problem.
License
FSL-1.1-MIT: use, modify and share Devot for anything except a competing commercial product. Each release converts to MIT two years after publication. Versions up to v1.0.4 were published under MIT and remain MIT.
Devot includes a full 30-day trial. After the trial, you can still read, search by keyword, copy and export your notes; editing, sync, semantic search and AI require a licence. A one-time purchase unlocks them on up to three devices at a time in every version.
Because the source is public, paying is optional: a build you make yourself (docs/development.md) checks no licence, and every feature works.
You may use and modify it for free as long as you do not sell it or offer it as a competing product, and you do not use Devot's name or icon when sharing a fork.
Self-built copies have no signed installer or automatic updates; licences fund those and ongoing work on Devot.
探索相关项目
加载中…