Skip to main content
Glama
README.md
<div align="center">

<a href="https://www.noteriv.com">
  <img src="assets/readme/hero.svg" alt="Noteriv: fast markdown notes, everywhere" width="100%" />
</a>

<br />
<br />

<a href="https://github.com/thejacedev/Noteriv/releases/latest"><img src="https://img.shields.io/github/v/release/thejacedev/Noteriv?style=flat-square&label=release&labelColor=11111b&color=89b4fa" alt="Latest release" /></a>
<a href="https://github.com/thejacedev/Noteriv/releases"><img src="https://img.shields.io/github/downloads/thejacedev/Noteriv/total?style=flat-square&labelColor=11111b&color=cba6f7" alt="Downloads" /></a>
<a href="https://www.npmjs.com/package/noteriv-mcp"><img src="https://img.shields.io/npm/v/noteriv-mcp?style=flat-square&label=noteriv-mcp&labelColor=11111b&color=a6e3a1" alt="noteriv-mcp on npm" /></a>
<a href="https://github.com/thejacedev/Noteriv/stargazers"><img src="https://img.shields.io/github/stars/thejacedev/Noteriv?style=flat-square&labelColor=11111b&color=f9e2af" alt="GitHub stars" /></a>
<a href="LICENSE"><img src="https://img.shields.io/github/license/thejacedev/Noteriv?style=flat-square&labelColor=11111b&color=94e2d5" alt="MIT license" /></a>

<h3>
  <a href="https://www.noteriv.com">Website</a>
  <span>&nbsp;Β·&nbsp;</span>
  <a href="https://thejacedev.github.io/Noteriv/">Docs</a>
  <span>&nbsp;Β·&nbsp;</span>
  <a href="#-install">Download</a>
  <span>&nbsp;Β·&nbsp;</span>
  <a href="#-community">Plugins &amp; themes</a>
  <span>&nbsp;Β·&nbsp;</span>
  <a href="#-contributing">Contribute</a>
</h3>

<p>
  The open-source markdown editor with a graph view, plugin API, themes, Git/WebDAV sync
  and an MCP server for your AI, built on <b>Tauri 2</b>. About 15 MB, on Linux, macOS and Windows.
</p>

<img src="assets/readme/demo.gif" alt="Noteriv in use: live preview as you type, the graph view, and an AI assistant writing to a note through the MCP server" width="100%" />

<sub>πŸ“± The <a href="#-mobile">mobile app</a> is a work in progress. Every feature ships to desktop first.</sub>

</div>

<img src="assets/readme/divider.svg" alt="" width="100%" />

## πŸ’‘ Why Noteriv?

Most note apps lock you into their cloud, their format, or their platform. Noteriv doesn't.

**Coming from Obsidian?** Open your existing vault folder as it is: no import, no conversion. Notes, folders, `[[wiki-links]]`, tags, frontmatter and callouts carry over, and Noteriv leaves your `.obsidian` folder alone. See [what carries over and what doesn't](https://thejacedev.github.io/Noteriv/getting-started/from-obsidian).

<table>
  <tr>
    <td width="25%" valign="top">
      <h3>πŸ“„</h3>
      <b>Plain markdown</b><br />
      <sub>No proprietary format. Your notes are <code>.md</code> files you can open in any editor, anywhere.</sub>
    </td>
    <td width="25%" valign="top">
      <h3>πŸ”’</h3>
      <b>Your data stays yours</b><br />
      <sub>Notes live on your device. Sync with Git, WebDAV or a cloud folder if you want, or don't.</sub>
    </td>
    <td width="25%" valign="top">
      <h3>πŸ’»</h3>
      <b>Every platform</b><br />
      <sub>A native desktop app for Linux, macOS and Windows, plus a mobile app for Android and iOS.</sub>
    </td>
    <td width="25%" valign="top">
      <h3>🧩</h3>
      <b>Make it yours</b><br />
      <sub>Plugins, themes and CSS snippets, from the community or written yourself.</sub>
    </td>
  </tr>
</table>

## ✨ Features

<img src="assets/readme/features.svg" alt="Live preview, graph view, sync, themes and plugins, an MCP server, boards and canvas" width="100%" />

<details>
<summary><b>✍️ Editor</b>: live preview, source and read modes, vim, focus mode, split view</summary>
<br />

- **Live markdown preview**: see rendered output as you type
- **Source mode**: raw markdown with syntax highlighting
- **Read-only mode**: a clean rendered view for reading
- **Formatting toolbar**: bold, italic, headings, links, lists, code, tables, horizontal rules
- **Auto-save**: configurable intervals (10s, 30s, 1m, 5m) or manual
- **Spell check**: toggle on or off
- **Vim mode**: optional vim keybindings (desktop)
- **Focus mode**: dims every line except the active one. <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>D</kbd>
- **Split editor**: two notes side by side. Right-click a tab β†’ "Open in Split", or <kbd>Ctrl</kbd>+<kbd>\\</kbd>
- **Per-file view mode**: right-click in the editor to set a default mode (Live/Source/View) per file, kept across restarts
- **Multi-select sidebar**: <kbd>Ctrl</kbd>+click to toggle, <kbd>Shift</kbd>+click for a range. Merge, delete or move in bulk

</details>

<details>
<summary><b>πŸ“ Markdown</b>: tables, math, Mermaid, callouts, footnotes and more</summary>
<br />

- Headings (H1–H6); bold, italic, strikethrough, highlight; superscript and subscript
- Ordered and unordered lists, task lists with checkboxes
- Tables with alignment, plus interactive checkboxes in cells
- Fenced code blocks with syntax highlighting
- Block and inline math (LaTeX via KaTeX)
- **Mermaid diagrams**: flowcharts, sequence diagrams, Gantt charts, pie charts and more, rendered inline from ` ```mermaid ` blocks
- Callouts / admonitions (16+ types)
- Footnotes and definition lists
- HTML blocks

</details>

<details>
<summary><b>πŸ•ΈοΈ Linking &amp; organization</b>: wiki-links, backlinks, tags, graph, vaults</summary>
<br />

- **Wiki-links**: link notes with `[[note name]]`, with aliases `[[note|display]]` and headings `[[note#heading]]`
- **Backlinks panel**: every note that links to the current file
- **Tags**: hierarchical tags with `#tag` and `#parent/child`
- **Graph view**: interactive force-directed knowledge graph (desktop)
- **Hover preview**: preview linked notes on hover (desktop)
- **Vaults**: separate vaults for different projects or areas of life
- **Folders**: nested folders with drag-and-drop reordering
- **Bookmarks**: pin the notes you open most
- **Outline panel**: table of contents from headings
- **Quick open**: fuzzy file search across your vault
- **Vault search**: full-text search across all notes
- **Daily notes**: one click to today's note
- **Random note**: rediscover forgotten ideas

</details>

<details>
<summary><b>πŸ› οΈ Content tools</b>: templates, Dataview queries, flashcards, slides, PDF and HTML export</summary>
<br />

- **Templates**: create notes from templates with variables (`{{date}}`, `{{time}}`, `{{title}}` and more)
- **Frontmatter editor**: YAML metadata editing with property suggestions
- **Note composer**: merge several notes, or split one by heading level
- **Merge from the sidebar**: <kbd>Ctrl</kbd>+click several files β†’ right-click β†’ "Merge N Notes" to combine them with `---` separators
- **File recovery**: automatic snapshots (up to 50 per file) with one-click restore
- **Slide presentations**: present markdown as slides (split by `---`), with speaker notes
- **PDF export**: export notes to PDF (desktop)
- **Table of contents**: type `[TOC]` for a clickable table of contents. `<!-- toc -->` blocks update on save
- **Dataview queries**: query your vault like a database with `TABLE`, `LIST` and `TASK` queries in ` ```dataview ` blocks. Filter by tags, folders, frontmatter fields and more
- **Flashcard review**: SM-2 spaced repetition. Add `Q:`/`A:` pairs or `{{cloze}}` deletions to notes, then review with keyboard grading (Again/Hard/OK/Good/Easy). Progress is saved per vault

</details>

<details>
<summary><b>🎨 Media &amp; attachments</b>: canvas, drawing editor, PDF annotation, audio and video</summary>
<br />

- **Attachment manager**: browse, filter and manage every attachment in the vault
- **Images**: PNG, JPG, GIF, SVG, WebP and more
- **Audio**: MP3, WAV, OGG, FLAC, AAC
- **Video**: MP4, MKV, AVI, MOV
- **Audio recorder**: record voice notes in the app (desktop)
- **Canvas / whiteboard**: an infinite canvas with text nodes, sticky notes (6 colors), images, freehand drawing, file embeds, groups and edge connections
- **PDF annotation**: open PDFs inline with highlight (4 colors), underline and note tools. Annotations save to a sidecar JSON and export to linked markdown with blockquotes and page references
- **Drawing editor**: pencil, shapes, arrows, text and eraser, with a full color picker, stroke widths, and pan and zoom. Drawings are `.drawing` files you can embed with `![[file.drawing]]`

</details>

<details>
<summary><b>πŸ”„ Sync</b>: GitHub, WebDAV, cloud folders, with a live vault watcher</summary>
<br />

- **GitHub sync**: push and pull notes to and from any GitHub repository
- **Auto-sync every 5 seconds**: always-on background sync, pull first then push, no config needed
- **Pull on open**: fetch the latest changes when a vault opens
- **Folder sync**: Google Drive, Dropbox, OneDrive, iCloud (desktop)
- **WebDAV sync**: Nextcloud, ownCloud or any WebDAV server (desktop, and the mobile app since 1.2.0)
- **Vault file watcher**: picks up outside changes (the MCP server, git pulls, other editors). The sidebar refreshes on its own, open files without unsaved changes reload instantly, and open files with unsaved changes are saved first

</details>

<details>
<summary><b>πŸ—‚οΈ Views</b>: Kanban boards and a calendar</summary>
<br />

**Board view.** Turn any note into a drag-and-drop task board: create a `.board.md` file or add `board: true` to frontmatter. H2 headings are columns and checkbox items are cards.

- Drag cards between columns, double-click to edit inline
- Tags as colored pills, due date badges
- Auto-saves every 5 seconds; switch to Source mode for the raw markdown

**Calendar view.** A month calendar of your daily notes and tasks with due dates.

- Blue dots for daily notes, green dots for due tasks
- Click a day to see its notes and tasks, double-click to open or create its daily note
- Month navigation and a "Today" button, from the ribbon or the command palette

</details>

<details>
<summary><b>🀝 Collaboration &amp; sharing</b>: live co-editing, publish as HTML, web clipper</summary>
<br />

**Live collaboration.** Real-time co-editing with Yjs CRDTs over WebRTC: peer-to-peer, no server.

- Start a session and share the room ID; others join from the command palette
- Changes sync instantly between peers, with a custom display name and cursor color
- Optional dependency: `npm install yjs y-webrtc`

**Publish as HTML.** Export notes as standalone web pages in your current theme.

- Live preview before saving, or edit the raw HTML directly
- Search your vault and combine several notes into one page
- Copy the HTML, or save it as `.html` and open it in your browser

**Web clipper.** A browser extension that saves articles and selections into your vault as markdown.

- Clip a full page or just the selection, from the popup or the right-click menu
- Pure-JS HTML-to-markdown (headings, links, images, lists, code, tables)
- Set the title, tags and folder; frontmatter gets the title, source URL, date and tags
- Talks to a localhost API on port 27123 that starts with the app, and the sidebar refreshes as soon as a note lands
- Install: load `extension/` as an unpacked extension in Chrome, Brave or Edge, or as a temporary add-on in Firefox

</details>

<details>
<summary><b>πŸŽ›οΈ Customization</b>: 10 themes, 8 accent colors, plugins, CSS snippets, editor settings</summary>
<br />

**Themes.** 10 built-in themes, dark and light:

| | |
|---|---|
| **Dark** | Catppuccin Mocha, Nord, Dracula, Solarized Dark, One Dark, Gruvbox Dark, Tokyo Night, GitHub Dark |
| **Light** | Catppuccin Latte, Solarized Light |

Plus community themes from [NoterivThemes](https://github.com/thejacedev/NoterivThemes), custom themes with import/export (desktop), and 8 accent colors: Blue, Lavender, Mauve, Pink, Peach, Yellow, Green, Teal.

**Plugins and snippets.** Install community [plugins](https://github.com/thejacedev/NoterivPlugins) and [CSS snippets](https://github.com/thejacedev/NoterivSnippets), and enable or disable each one per vault.

**Editor settings**

| Setting | Options |
|---|---|
| Auto-save interval | Off, 10s, 30s, 1 min, 5 min (sync runs every 5s regardless) |
| Font size | 12px – 24px |
| Line height | 1.2 – 2.0 |
| Tab size | 2, 4, 8 |
| Editor font | JetBrains Mono, Fira Code, Cascadia Code, Source Code Pro, SF Mono, System Mono |
| Theme | 10 built-in + community + custom |
| Accent color | 8 options |
| Spell check | On / Off |

</details>

## πŸ€– AI integration

Noteriv ships an [MCP server](mcp/) that gives Claude, Cursor or any other MCP client full read/write access to your vault.

```bash
claude mcp add --scope user noteriv -- npx -y noteriv-mcp
```

Or run `npx noteriv-mcp` yourself. It finds your active vault from the Noteriv config, so there's no path to set up.

- **22 tools**: read, write, append, delete and rename notes; list, create and delete folders; full-text search; tags, backlinks and outgoing links; vault stats; daily notes
- **Multi-vault**: switch vaults, or pass a path as a CLI argument
- **Live sync**: the desktop app watches the vault and refreshes the sidebar and open files whenever the MCP server changes something
- **Soft delete**: deleted notes go to `.noteriv/trash/` and can be restored from the app
- **MCP resources**: notes are also exposed as `note:///` resources

## πŸ“¦ Install

<div align="center">

<a href="https://github.com/thejacedev/Noteriv/releases/latest"><img src="https://img.shields.io/badge/Linux-.rpm%20%C2%B7%20.deb%20%C2%B7%20AppImage-89b4fa?style=for-the-badge&labelColor=1e1e2e&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI%2BPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTExIDNoMnYxMC4ybDMuNi0zLjZMMTggMTFsLTYgNi02LTYgMS40LTEuNCAzLjYgMy42ek00IDE5aDE2djJINHoiLz48L3N2Zz4%3D" alt="Download for Linux" /></a>
<a href="https://github.com/thejacedev/Noteriv/releases/latest"><img src="https://img.shields.io/badge/Windows-.exe%20%C2%B7%20.msi%20%C2%B7%20portable-cba6f7?style=for-the-badge&labelColor=1e1e2e&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI%2BPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTExIDNoMnYxMC4ybDMuNi0zLjZMMTggMTFsLTYgNi02LTYgMS40LTEuNCAzLjYgMy42ek00IDE5aDE2djJINHoiLz48L3N2Zz4%3D" alt="Download for Windows" /></a>
<a href="https://github.com/thejacedev/Noteriv/releases/latest"><img src="https://img.shields.io/badge/macOS-.dmg-94e2d5?style=for-the-badge&labelColor=1e1e2e&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI%2BPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTExIDNoMnYxMC4ybDMuNi0zLjZMMTggMTFsLTYgNi02LTYgMS40LTEuNCAzLjYgMy42ek00IDE5aDE2djJINHoiLz48L3N2Zz4%3D" alt="Download for macOS" /></a>
<br />
<a href="https://apps.apple.com/app/id6761115699"><img src="https://img.shields.io/badge/App%20Store-iOS-f5c2e7?style=for-the-badge&labelColor=1e1e2e&logo=appstore&logoColor=white" alt="Download on the App Store" /></a>
<a href="https://play.google.com/store/apps/details?id=com.ironstacksoftware.noteriv"><img src="https://img.shields.io/badge/Google%20Play-Android-a6e3a1?style=for-the-badge&labelColor=1e1e2e&logo=googleplay&logoColor=white" alt="Get it on Google Play" /></a>
<a href="app-apk/noteriv.apk"><img src="https://img.shields.io/badge/APK-sideload-fab387?style=for-the-badge&labelColor=1e1e2e&logo=android&logoColor=white" alt="Download the Android APK" /></a>

</div>

### πŸ–₯️ Desktop

> **Tauri 2 + Next.js**: Windows, macOS, Linux. A CodeMirror editor, native file system access, and Git through your system's git binary.

**Flatpak (any distro)**: `flatpak update` keeps it current.

```bash
flatpak remote-add --if-not-exists --no-gpg-verify noteriv https://flatpak.thejacedev.xyz/noteriv/repo
flatpak install noteriv com.noteriv.Noteriv
```

**macOS (Homebrew)**: `brew upgrade --cask noteriv` keeps it current.

```bash
brew install --cask thejacedev/tap/noteriv
```

**Windows (Scoop)**: the portable build. `scoop update noteriv` keeps it current.

```powershell
scoop bucket add thejacedev https://github.com/thejacedev/scoop-bucket
scoop install noteriv
```

**Everything else**: grab a build from the [latest release](https://github.com/thejacedev/Noteriv/releases/latest).

| Platform | Formats |
|---|---|
| Linux | `.rpm`, `.deb`, AppImage |
| Windows | `.exe` installer, `.msi`, portable `.zip` |
| macOS | `.dmg` (universal) |

### πŸ“± Mobile

> **Expo + React Native**: Android, iOS. **Work in progress**: features land on desktop first, then mobile.

The mobile app aims for parity with desktop, adapted for touch. Notes live in the app's document directory and sync through the GitHub REST API. Get it on the [App Store](https://apps.apple.com/app/id6761115699) or [Google Play](https://play.google.com/store/apps/details?id=com.ironstacksoftware.noteriv), or sideload the [APK](app-apk/noteriv.apk) (version 1.1.0). That APK is signed with a different key than the one kept here before November 2026: if you installed the older one, sync your notes, uninstall it, then install this one.

<details>
<summary><b>Mobile vs desktop</b></summary>
<br />

| Feature | Desktop | Mobile |
|---|---|---|
| Editor | CodeMirror 6 | TextInput + toolbar |
| Git sync | Native git binary | GitHub REST API + fresh clone |
| File storage | Any filesystem path | App document directory |
| Themes | 10 built-in + custom creator | 10 built-in + community install |
| Plugins | Sandbox execution | Install + enable/disable |
| Navigation | Sidebar + tabs + split editor | Stack navigation + swipe between notes |
| Graph view | Force-directed canvas | Force-directed WebView canvas |
| Board view | Drag-drop columns | Horizontal scroll columns with move actions |
| Calendar | Monthly grid | Monthly grid with daily note dots |
| Flashcards | SM-2 spaced repetition | SM-2 spaced repetition |
| Canvas | SVG whiteboard | β€” |
| Vim mode | CodeMirror vim extension | β€” |
| Audio recorder | MediaRecorder API | β€” |
| Drawing editor | Canvas with tools | β€” |
| PDF viewer | Inline annotations | β€” |
| Keyboard shortcuts | 70+ rebindable | System defaults |

</details>

<img src="assets/readme/divider.svg" alt="" width="100%" />

## 🌐 Community

A growing set of community extensions, all installable from inside the app.

<table>
  <tr>
    <td align="center" width="33%" valign="top">
      <h3>🧩 Plugins</h3>
      <a href="https://github.com/thejacedev/NoterivPlugins"><b>thejacedev/NoterivPlugins</b></a>
      <p>Custom commands, sidebar panels, status bar items and editor integrations.</p>
      <sub><b>API:</b> vault read/write, UI commands, events (file-open, file-save, editor-change…), editor insert/replace/cursor</sub>
    </td>
    <td align="center" width="33%" valign="top">
      <h3>🎨 Themes</h3>
      <a href="https://github.com/thejacedev/NoterivThemes"><b>thejacedev/NoterivThemes</b></a>
      <p>Color themes beyond the 10 built-ins, covering backgrounds, text, accent and syntax colors.</p>
      <sub><b>Format:</b> JSON with an id, name, type (dark/light) and 16 colors. Import/export on desktop</sub>
    </td>
    <td align="center" width="33%" valign="top">
      <h3>βœ‚οΈ CSS Snippets</h3>
      <a href="https://github.com/thejacedev/NoterivSnippets"><b>thejacedev/NoterivSnippets</b></a>
      <p>Fine-tune the editor and preview with CSS, toggled one snippet at a time.</p>
      <sub><b>Storage:</b> <code>.noteriv/snippets/</code>, one <code>.css</code> per snippet plus a config JSON</sub>
    </td>
  </tr>
</table>

<details>
<summary><b>Write a plugin</b></summary>
<br />

Plugins live in `.noteriv/plugins/{plugin-id}/` inside your vault:

```
my-plugin/
β”œβ”€β”€ manifest.json    Plugin metadata
└── main.js          Entry point
```

**manifest.json**

```json
{
  "id": "my-plugin",
  "name": "My Plugin",
  "version": "1.0.0",
  "description": "What this plugin does",
  "author": "Your Name",
  "main": "main.js"
}
```

**main.js**

```javascript
module.exports = {
  onLoad(api) {
    api.ui.addCommand({
      id: "hello",
      name: "Say Hello",
      callback: () => api.ui.showNotice("Hello from my plugin!")
    });
  },
  onUnload() {
    // cleanup
  }
};
```

</details>

<details>
<summary><b>Make a theme</b></summary>
<br />

Themes are JSON files with 16 color properties:

```json
{
  "id": "my-theme",
  "name": "My Theme",
  "type": "dark",
  "colors": {
    "bgPrimary": "#1a1b26",
    "bgSecondary": "#16161e",
    "bgTertiary": "#24283b",
    "border": "#3b4261",
    "textPrimary": "#c0caf5",
    "textSecondary": "#a9b1d6",
    "textMuted": "#565f89",
    "accent": "#7aa2f7",
    "green": "#9ece6a",
    "red": "#f7768e",
    "yellow": "#e0af68",
    "blue": "#7aa2f7",
    "mauve": "#bb9af7",
    "peach": "#ff9e64",
    "teal": "#73daca",
    "pink": "#bb9af7"
  }
}
```

Save it to `.noteriv/themes/my-theme.json`, or open a PR on [NoterivThemes](https://github.com/thejacedev/NoterivThemes).

</details>

## πŸ”§ Development

You'll need [Node.js](https://nodejs.org/) 20.19+, npm, and [Git](https://git-scm.com/) (for the sync features).

```bash
git clone https://github.com/thejacedev/Noteriv.git
cd Noteriv/desktop
npm install
npm run dev     # Next.js on port 3456 + the Tauri window
```

`npm run build` writes distributables to `desktop/dist/`: AppImage, `.deb` and `.rpm` on Linux, `.dmg` on macOS, and an NSIS `.exe` on Windows.

| Command | Description |
|---|---|
| `cd desktop && npm run dev` | Desktop dev mode (Next.js + Tauri) |
| `cd desktop && npm run build` | Build desktop distributables |
| `cd desktop && npm run build:next` | Build Next.js only |
| `cd mcp && npm install` | Install MCP server dependencies |
| `node mcp/index.js` | Run the MCP server (vault path optional) |
| `cd phone && npx expo start` | Mobile dev server |
| `cd phone && npx expo start --android` | Run on Android |
| `cd phone && npx expo start --ios` | Run on iOS |
| `cd phone && npx expo export` | Export the mobile bundle |

<details>
<summary><b>Tech stack</b></summary>
<br />

| Layer | Desktop | Mobile |
|---|---|---|
| Framework | Next.js 16 | Expo 58 |
| UI | React 19 | React Native 0.88 |
| Editor | CodeMirror 6 | TextInput + custom renderer |
| Runtime | Tauri 2 (Rust) | Expo Router 6 |
| File I/O | Rust std::fs | expo-file-system |
| Sync | std::process git | GitHub REST API |
| Storage | JSON files | AsyncStorage |
| Styling | Tailwind CSS 4 | StyleSheet + dynamic themes |
| Math | KaTeX | β€” |
| Diagrams | Mermaid | β€” |

</details>

<details>
<summary><b>Project structure</b></summary>
<br />

```
Noteriv/
β”œβ”€β”€ desktop/              Tauri 2 + Next.js desktop application
β”‚   β”œβ”€β”€ src-tauri/        Rust backend (IPC, file I/O, Git, sync, clipper server, vault watcher)
β”‚   β”œβ”€β”€ src/components/   41 React components + markdown rendering engine
β”‚   β”œβ”€β”€ src/lib/          33 utility modules
β”‚   └── public/           Platform icons + pdf.js worker
β”œβ”€β”€ mcp/                  MCP server for AI assistant integration (22 tools, auto-discovers vaults)
β”œβ”€β”€ extension/            Web Clipper browser extension (Manifest V3)
β”œβ”€β”€ phone/                Expo + React Native mobile application
β”‚   β”œβ”€β”€ app/              19 screens (Expo Router)
β”‚   β”œβ”€β”€ components/       11 UI components
β”‚   β”œβ”€β”€ lib/              24 utility modules
β”‚   └── context/          App state + theme contexts
β”œβ”€β”€ .github/workflows/    CI/CD (build + release)
β”œβ”€β”€ LICENSE               MIT License
└── README.md
```

</details>

<details>
<summary><b>Desktop architecture</b></summary>
<br />

```
desktop/
β”œβ”€β”€ src-tauri/             Rust backend (Tauri 2)
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ lib.rs           App entry, plugin registration, startup
β”‚   β”‚   β”œβ”€β”€ shim.rs          window.electronAPI shim + drag/resize polyfill
β”‚   β”‚   β”œβ”€β”€ store.rs         Persistent config (vaults, settings)
β”‚   β”‚   β”œβ”€β”€ auth.rs          GitHub token storage + API
β”‚   β”‚   β”œβ”€β”€ updater_cmds.rs  Auto-update via tauri-plugin-updater
β”‚   β”‚   β”œβ”€β”€ clipper.rs       Web clipper local HTTP server
β”‚   β”‚   β”œβ”€β”€ watcher.rs       Vault file watcher (debounced)
β”‚   β”‚   β”œβ”€β”€ menu.rs          Hidden menu for keyboard accelerators
β”‚   β”‚   β”œβ”€β”€ commands_git.rs  Git operations via std::process::Command
β”‚   β”‚   β”œβ”€β”€ commands_sync.rs Folder + WebDAV sync providers
β”‚   β”‚   └── commands_*.rs    Other IPC commands
β”‚   β”œβ”€β”€ Cargo.toml
β”‚   β”œβ”€β”€ tauri.conf.json
β”‚   └── capabilities/
β”œβ”€β”€ package.json           # renderer deps + tauri scripts
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ page.tsx      Main app (90+ state variables)
β”‚   β”‚   β”œβ”€β”€ layout.tsx    Next.js root layout
β”‚   β”‚   └── globals.css   Global styles + CSS variables
β”‚   β”œβ”€β”€ components/       41 React components
β”‚   β”‚   β”œβ”€β”€ Editor.tsx           CodeMirror markdown editor
β”‚   β”‚   β”œβ”€β”€ Sidebar.tsx          File tree with drag-drop
β”‚   β”‚   β”œβ”€β”€ TitleBar.tsx         Tabs + window controls
β”‚   β”‚   β”œβ”€β”€ SettingsModal.tsx    6-section settings
β”‚   β”‚   β”œβ”€β”€ SetupWizard.tsx      First-run wizard
β”‚   β”‚   β”œβ”€β”€ GraphView.tsx        Force-directed knowledge graph
β”‚   β”‚   β”œβ”€β”€ Canvas.tsx           Visual whiteboard
β”‚   β”‚   β”œβ”€β”€ SlidePresentation.tsx  Markdown presentations
β”‚   β”‚   β”œβ”€β”€ CommandPalette.tsx   Searchable action palette
β”‚   β”‚   β”œβ”€β”€ ThemePicker.tsx      Theme browser + installer
β”‚   β”‚   β”œβ”€β”€ PluginManager.tsx    Plugin browser + installer
β”‚   β”‚   β”œβ”€β”€ CSSSnippets.tsx      Snippet editor + community
β”‚   β”‚   β”œβ”€β”€ DrawingEditor.tsx    Canvas drawing editor (pencil, shapes, arrows, text, eraser)
β”‚   β”‚   β”œβ”€β”€ CalendarView.tsx     Month calendar with daily notes + tasks
β”‚   β”‚   β”œβ”€β”€ BoardView.tsx        Drag-and-drop task board
β”‚   β”‚   β”œβ”€β”€ DataviewBlock.tsx    Vault query result renderer
β”‚   β”‚   β”œβ”€β”€ PublishPreview.tsx   HTML export preview + multi-note publish
β”‚   β”‚   β”œβ”€β”€ FlashcardReview.tsx  Spaced repetition flashcard review
β”‚   β”‚   β”œβ”€β”€ CollabPanel.tsx      Live collaboration session manager
β”‚   β”‚   β”œβ”€β”€ PDFViewer.tsx        PDF viewer with annotation tools
β”‚   β”‚   └── markdown/            Live rendering engine
β”‚   β”‚       β”œβ”€β”€ plugin.ts        CodeMirror ViewPlugin
β”‚   β”‚       β”œβ”€β”€ registry.ts      Renderer registration
β”‚   β”‚       β”œβ”€β”€ renderers/       15 block + inline renderers
β”‚   β”‚       β”œβ”€β”€ callouts.ts      Obsidian-style admonitions
β”‚   β”‚       β”œβ”€β”€ embeds.ts        Note embedding (![[file]])
β”‚   β”‚       β”œβ”€β”€ math.ts          KaTeX rendering
β”‚   β”‚       β”œβ”€β”€ mermaid.ts       Diagram rendering
β”‚   β”‚       β”œβ”€β”€ wikilinks.ts     Interactive wiki-links
β”‚   β”‚       └── slash-commands.ts  / command menu
β”‚   β”œβ”€β”€ lib/              33 utility modules
β”‚   β”‚   β”œβ”€β”€ settings.ts          App settings + defaults
β”‚   β”‚   β”œβ”€β”€ theme-utils.ts       10 built-in themes + community
β”‚   β”‚   β”œβ”€β”€ plugin-api.ts        Plugin sandbox + API
β”‚   β”‚   β”œβ”€β”€ css-snippets.ts      CSS snippet system
β”‚   β”‚   β”œβ”€β”€ hotkeys.ts           70+ rebindable shortcuts
β”‚   β”‚   β”œβ”€β”€ editor-commands.ts   Formatting commands
β”‚   β”‚   β”œβ”€β”€ wiki-link-utils.ts   Link parsing + resolution
β”‚   β”‚   β”œβ”€β”€ tag-utils.ts         Tag extraction + aggregation
β”‚   β”‚   β”œβ”€β”€ frontmatter-utils.ts YAML frontmatter
β”‚   β”‚   β”œβ”€β”€ template-utils.ts    Template variables
β”‚   β”‚   β”œβ”€β”€ file-recovery.ts     Snapshot system
β”‚   β”‚   β”œβ”€β”€ note-composer-utils.ts  Merge + split
β”‚   β”‚   β”œβ”€β”€ attachment-utils.ts  Media management
β”‚   β”‚   β”œβ”€β”€ audio-utils.ts       Recording utilities
β”‚   β”‚   β”œβ”€β”€ canvas-utils.ts      Canvas data model
β”‚   β”‚   β”œβ”€β”€ slide-utils.ts       Presentation parser
β”‚   β”‚   β”œβ”€β”€ pdf-export.ts        PDF export
β”‚   β”‚   β”œβ”€β”€ sync-providers.ts    Folder + WebDAV config
β”‚   β”‚   β”œβ”€β”€ vim-mode.ts          Vim keybindings
β”‚   β”‚   β”œβ”€β”€ drawing-utils.ts     Drawing file create/parse/serialize/export
β”‚   β”‚   β”œβ”€β”€ calendar-utils.ts    Calendar grid, daily note mapping, task extraction
β”‚   β”‚   β”œβ”€β”€ board-utils.ts       Board parse/serialize, card/column CRUD
β”‚   β”‚   β”œβ”€β”€ dataview.ts          Vault query engine (TABLE, LIST, TASK)
β”‚   β”‚   β”œβ”€β”€ toc-utils.ts         Table of contents generation + auto-update
β”‚   β”‚   β”œβ”€β”€ publish.ts           HTML export with theme colors
β”‚   β”‚   β”œβ”€β”€ flashcard-utils.ts   SM-2 spaced repetition + card extraction
β”‚   β”‚   β”œβ”€β”€ collab.ts            Yjs CRDT + WebRTC collaboration
β”‚   β”‚   β”œβ”€β”€ focus-mode.ts        Focus/typewriter mode extension
β”‚   β”‚   └── pdf-annotation.ts   PDF annotation types + sidecar I/O + markdown export
β”‚   └── types/
β”‚       └── electron.d.ts  IPC type definitions (50+ methods)
└── public/               App icons (macOS, Windows, Linux)
```

</details>

<details>
<summary><b>Mobile architecture</b></summary>
<br />

```
phone/
β”œβ”€β”€ app/                  Screens (Expo Router, file-based routing)
β”‚   β”œβ”€β”€ _layout.tsx       Root layout + theme provider
β”‚   β”œβ”€β”€ index.tsx          Home (notes list, daily note, random note)
β”‚   β”œβ”€β”€ editor.tsx         Markdown editor + preview
β”‚   β”œβ”€β”€ settings.tsx       Settings (themes, GitHub, ecosystem)
β”‚   β”œβ”€β”€ setup.tsx          First-run wizard with GitHub auth
β”‚   β”œβ”€β”€ templates.tsx      Template picker
β”‚   β”œβ”€β”€ recovery.tsx       File recovery / snapshots
β”‚   β”œβ”€β”€ composer.tsx       Note merge + split
β”‚   β”œβ”€β”€ attachments.tsx    Attachment manager
β”‚   β”œβ”€β”€ backlinks.tsx      Backlinks viewer
β”‚   β”œβ”€β”€ frontmatter.tsx    YAML frontmatter editor
β”‚   β”œβ”€β”€ slides.tsx         Slide presentation viewer
β”‚   β”œβ”€β”€ snippets.tsx       CSS snippets (installed + community)
β”‚   β”œβ”€β”€ plugins.tsx        Plugin manager (installed + community)
β”‚   β”œβ”€β”€ calendar.tsx       Monthly calendar with daily note dots + due tasks
β”‚   β”œβ”€β”€ flashcards.tsx     SM-2 spaced repetition flashcard review
β”‚   β”œβ”€β”€ graph.tsx          Force-directed wiki-link graph (WebView canvas)
β”‚   β”œβ”€β”€ trash.tsx          Trash / soft delete with restore
β”‚   └── publish.tsx        Publish note as HTML + share sheet
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ MarkdownEditor.tsx   TextInput editor + formatting toolbar
β”‚   β”œβ”€β”€ MarkdownPreview.tsx  Custom markdown renderer
β”‚   β”œβ”€β”€ NotesList.tsx        File/folder browser
β”‚   β”œβ”€β”€ SearchModal.tsx      Quick open + vault search
β”‚   β”œβ”€β”€ CreateModal.tsx      Create file/folder
β”‚   β”œβ”€β”€ VaultSwitcher.tsx    Switch/create vaults
β”‚   β”œβ”€β”€ OutlinePanel.tsx     Document outline
β”‚   β”œβ”€β”€ BookmarksPanel.tsx   Bookmarked files
β”‚   β”œβ”€β”€ TagsPanel.tsx        Hierarchical tag browser
β”‚   └── BoardView.tsx        Board view with columns + cards
β”œβ”€β”€ context/
β”‚   β”œβ”€β”€ AppContext.tsx       Global state (vault, settings, files, auto-sync)
β”‚   └── ThemeContext.tsx     Dynamic theme provider
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ file-system.ts       expo-file-system class API wrapper
β”‚   β”œβ”€β”€ vault.ts             Vault CRUD + workspace
β”‚   β”œβ”€β”€ settings.ts          Settings with defaults
β”‚   β”œβ”€β”€ storage.ts           AsyncStorage wrappers
β”‚   β”œβ”€β”€ github-sync.ts       GitHub REST API sync (push/pull)
β”‚   β”œβ”€β”€ templates.ts         Template listing + variables
β”‚   β”œβ”€β”€ frontmatter.ts       YAML parse/serialize
β”‚   β”œβ”€β”€ file-recovery.ts     Snapshot system
β”‚   β”œβ”€β”€ note-composer.ts     Merge + split
β”‚   β”œβ”€β”€ wiki-links.ts        Link parsing + backlinks
β”‚   β”œβ”€β”€ attachments.ts       Attachment management
β”‚   β”œβ”€β”€ slide-utils.ts       Slide parser
β”‚   β”œβ”€β”€ daily-note.ts        Daily note helper
β”‚   β”œβ”€β”€ random-note.ts       Random note picker
β”‚   β”œβ”€β”€ css-snippets.ts      CSS snippet system
β”‚   β”œβ”€β”€ plugins.ts           Plugin management
β”‚   β”œβ”€β”€ community.ts         Community theme support
β”‚   β”œβ”€β”€ calendar-utils.ts    Month grid, task extraction
β”‚   β”œβ”€β”€ flashcard-utils.ts   SM-2 algorithm, card extraction
β”‚   β”œβ”€β”€ markdown-lint.ts     Linting rules (wiki-links, headings, code blocks)
β”‚   β”œβ”€β”€ note-history.ts      Line-based diff (LCS algorithm)
β”‚   β”œβ”€β”€ publish.ts           Markdown-to-HTML converter
β”‚   β”œβ”€β”€ board-utils.ts       Board parse/serialize, card CRUD
β”‚   └── dataview.ts          Vault query engine
β”œβ”€β”€ constants/
β”‚   └── theme.ts             10 built-in themes + accent colors
└── types/
    └── index.ts             TypeScript interfaces
```

</details>

## 🀝 Contributing

Contributions are welcome:

1. **Report bugs**: open an issue with steps to reproduce
2. **Suggest features**: open an issue describing what you'd like to see
3. **Submit code**: fork, branch, make your changes and open a PR
4. **Build plugins, themes or snippets**: share them via [NoterivPlugins](https://github.com/thejacedev/NoterivPlugins), [NoterivThemes](https://github.com/thejacedev/NoterivThemes) or [NoterivSnippets](https://github.com/thejacedev/NoterivSnippets)

<img src="assets/readme/divider.svg" alt="" width="100%" />

<div align="center">
  <sub><a href="LICENSE">MIT</a> Β© Jace Sleeman Β· Built with care by <a href="https://github.com/thejacedev">@thejacedev</a></sub>
</div>