Memoir is a quiet desktop notebook. Point it at a folder of .md / .mdx files and you get a library, a CodeMirror editor, and a live preview — without an account, a sync service, or a proprietary vault.
Notes are ordinary files. You can open the same folder in git, VS Code, or any other editor.
Features
- Local-first — the workspace is a folder you choose. Memoir never uploads your notes.
- Markdown and MDX — GitHub Flavored Markdown, KaTeX, Mermaid, task lists, and a small set of built-in MDX components.
- Edit / split / preview — write source, read the rendered page, or do both with synced scroll.
- Library — folders, frontmatter tags, favorites, recent notes, and a heading outline.
- Safe by default — atomic writes, crash-safe drafts, autosave, and deletes that go to .memoir-trash/ instead of vanishing.
- Fast library — each workspace keeps a disposable SQLite cache at .memoir/index.sqlite so the sidebar does not re-read every note. The markdown files are still the source of truth; gitignore .memoir/ and exclude it from iCloud / Dropbox / OneDrive.
- Appearance — light / dark / system theme, accent colors, density, type scale, and Chinese / English UI.
- Sandboxed paths — only .md / .mdx inside the workspace; .., symlinks, and hidden/build directories are rejected.