NaNotes is a Nako-styled floating Markdown scratchpad backed by a local notes folder. It's built for people who want a quick, always-a-hotkey-away notepad whose notes stay as plain .md files — one file per note, no proprietary database.
Press ⌥+N on macOS or Alt+N on Linux from any app and a dark, pink-on-black overlay appears on top of whatever you're doing. Type Markdown, autosave to a local file, and dismiss it with Escape. It runs quietly in the background and stays out of the Dock/app switcher or taskbar.
- Global hotkey overlay — ⌥+N on macOS or Alt+N on Linux toggles a floating, always-on-top window over any app. Rebind it to any combo from settings.
- Plain Markdown files — every note is a normal
.mdfile in a folder you choose. Edit them with any other tool too. - Live Markdown editing — a single-pane CodeMirror editor styles Markdown inline as you type: headings, bold/italic, links, and bullets render in place.
- Syntax-highlighted code blocks — fenced ``` blocks render as a card with a language chip; click it to pick from any of CodeMirror's bundled languages.
- Inline image previews —
(or a plain link to an image file) renders the image below the line. Local paths,~/, and URLs all work, with path autocompletion as you type the target. - Task lists — type
[](or- [ ]) to get a clickable checkbox; toggling it writes the state back to the file. - Fuzzy search — ⌘+P on macOS or Ctrl+P on Linux searches note titles and contents and shows the top matches; pin notes to keep them on top or delete them (to the Trash) right from the list.
- Auto-naming — a note's filename is derived from its first line and renamed automatically when that line changes.
- Launch at login — opt in from settings (⌘+O on macOS, Ctrl+O on Linux) to keep NaNotes running in the background.
- macOS (Apple Silicon or Intel)
- Windows 10 or 11 (x64)
- Linux (x86_64) with a desktop session
- Android 7.0+
brew install quilldev/tap/nanotes
Release builds ship as a prebuilt Homebrew cask that installs NaNotes.app directly into /Applications and clears macOS quarantine on install (since the app is ad-hoc signed without an Apple Developer certificate). To update later:
brew upgrade nanotes
Install with WinGet (built into Windows 10 and 11):
winget install QuillDev.nanotes
Or run the PowerShell one-liner to install the latest GitHub Release directly:
irm https://raw.githubusercontent.com/QuillDev/nanotes/main/install.ps1 | iex
Run the curl one-liner to install the latest GitHub Release into ~/.local/bin:
curl -fsSL https://raw.githubusercontent.com/QuillDev/nanotes/main/install.sh | shOn your phone, download and open the latest APK (allow installs from your browser when Android asks):
https://github.com/QuillDev/nanotes/releases/latest/download/nanotes.apk
The app is the web app of your own sync server (see docs/SYNC.md): on first launch it asks for the server's address, then you sign in as you would in a browser. It updates itself from GitHub releases (Devices → Check for updates).
If you'd rather build it yourself:
git clone https://github.com/QuillDev/nanotes.git cd nanotes bun install bun install --cwd desktop bun run build cd desktop && ./node_modules/.bin/electron-builder --dir
The app is written to desktop/dist/ (mac*/NaNotes.app on macOS; copy it into /Applications).
| macOS shortcut | Linux / Windows shortcut | Action |
|---|---|---|
| ⌥+N | Alt+N | Show / hide the overlay (works from any app; rebindable in settings) |
| ⌘+P | Ctrl+P | Fuzzy-search notes |
| ⌘+N | Ctrl+N | New note while the overlay is focused |
| ⌘+O | Ctrl+O | Open settings |
| ⌘+Q | Ctrl+Q | Hide the overlay |
| Escape | Escape | Close search/settings, or hide the overlay |
On first launch NaNotes creates its notes folder at ~/.nanotes. Change the location any time from settings; the folder is created if it doesn't exist.
Run a self-hosted Bun + SQLite sync server with passkey authentication to sync notes across machines and expose a /mcp endpoint for AI agents. See docs/SYNC.md.
The notes folder is the single source of truth. NaNotes reads and writes ordinary .md files, one per note. The first line of a note is its title, and saving renames the file when that first line changes. Search is computed from the files on disk at query time, so notes you edit in other apps show up too. Deleting a note from the search list moves the file to the system Trash.
bun install
bun install --cwd desktop
bun run dev # build the UI and run the desktop appFor hot reload, run bun run dev:web and start the desktop app with NANOTES_DEV_URL=http://127.0.0.1:5174 bun run --cwd desktop start.
Verify a change before committing:
bun run check # typecheck, lint, doctor, tests (incl. desktop) and builds bunx playwright install chromium webkit # browser-test prerequisites bun run test:editor # ghost-text/editing regressions
See docs/architecture.md. In short: the Electron shell in desktop/ owns platform behavior (window, global hotkey, file I/O, updates), while the React app owns the portable editor, autosave, and settings. Android (android/) is a small Kotlin WebView around the sync server's web app.
NaNotes is macOS-first today. Linux is a possible future shell target — see the architecture doc for the roadmap.
