A macOS menu bar app that indexes your Apple Notes, Safari Reading List, and local folders into a searchable, browser-accessible knowledge base — inspired by Sherlock Holmes's method of total mental recall.
📖 Full write-up on Baker Street Forensics
Mind Palace runs quietly in your menu bar and serves a local web app at https://localhost:8221. From any browser on your Mac — or any device on your local network — you can search across:
- Apple Notes — full-text search including note body content
- Safari Reading List — titles, URLs, and preview text
- Local folders — files, PDFs, Office documents, source code, and more
Search is instant, runs entirely on your machine, and requires no cloud account.
- Full-text search with keyword highlighting and content previews
- Tag filtering via Apple Notes smart folders
- Click any note to read it inline or open it directly in Notes.app
- Click any file to open it in its native app
- Syntax-highlighted code viewer for 30+ file types
- PDF, DOCX, and PPTX text extraction
- Auto re-scan on a configurable interval (1–24 hours)
- macOS notifications on scan completion
- PWA-installable — add to your Mac's dock or iPhone home screen
- Launch at login via SMAppService
- macOS 13 Ventura or later (Apple Silicon and Intel)
- Full Disk Access granted to MindPalace in System Settings
- Download
MindPalace.zipfrom the latest release - Unzip and move
MindPalace.appto your Applications folder - Open it — the release binary is signed and notarized, so macOS will open it without a security warning
- Grant Full Disk Access: System Settings → Privacy & Security → Full Disk Access → add MindPalace
- The menu bar icon appears. On first launch, a system dialog will ask for your login keychain password — this installs the local HTTPS certificate authority (see HTTPS & Certificates below)
- Once the scan completes, open
https://localhost:8221in any browser
Note: Full Disk Access is required to read Apple Notes and Safari Reading List. MindPalace accesses these files read-only and never transmits anything off your device.
Requires Xcode Command Line Tools and Swift 5.9+.
git clone https://github.com/dwmetz/MindPalace.git
cd MindPalace
bash build-app.shThe script compiles, assembles the .app bundle, and signs it. If you want to produce a notarized build for distribution, you'll need your own Developer ID certificate and a configured notarytool keychain profile. For local use the signing step can be replaced with codesign --sign - (ad-hoc).
For quick iteration during development:
bash restart.shMind Palace serves over HTTPS so that PWA install, service workers, and clipboard APIs work on both localhost and your local network (phone, tablet, another Mac). All traffic stays on your device or LAN — nothing is ever sent to the internet.
On first launch, Mind Palace:
- Generates a private local Certificate Authority (CA) and a server certificate signed by it, stored in
~/Library/Application Support/MindPalace/certs/ - Adds the CA to your login keychain as a trusted root — this is what triggers the one-time system password dialog
- Starts the HTTPS server using the signed certificate
After that, https://localhost:8221 works in every browser on your Mac with no warnings.
The server certificate covers localhost, 127.0.0.1, your machine's Bonjour hostname (e.g. macbook-pro.local), and all LAN IP addresses detected at cert-generation time.
To connect from another device, that device also needs to trust your local CA. The process is device-specific:
iPhone / iPad
- In the Mind Palace menu bar, click Show CA Certificate in Finder
- AirDrop
MindPalaceCA.crtto your iOS device — tap it in Files to install it - Go to Settings → General → VPN & Device Management and trust the new profile
- Go to Settings → General → About → Certificate Trust Settings and enable full trust for the MindPalace CA
- Navigate to
https://your-mac.local:8221in Safari
Android
- AirDrop or email
MindPalaceCA.crtto your Android device - Open Settings → Security → Install a certificate → CA certificate and select the file
- Navigate to
https://your-mac.local:8221in Chrome or Firefox
Another Mac
- AirDrop
MindPalaceCA.crtto the other Mac - Double-click it — Keychain Access opens and prompts to add it
- Find it in Keychain Access, double-click it, expand Trust, and set When using this certificate to Always Trust
If your LAN IP changes (new network, VPN, etc.) and you can no longer connect from other devices, click Regenerate Certificates… in the menu bar. The app will generate a new certificate covering the current IPs and install it. You will need to re-trust the new CA on any other devices.
The CA has a 10-year validity. The server certificate also has a 10-year validity. For personal/home lab use this is intentional — you won't need to renew annually.
Click the gear icon in the web UI to configure:
- Up to 3 indexed folder paths with custom room labels
- Apple Notes indexing on/off
- Safari Reading List indexing on/off
- Auto re-scan interval
Settings are stored in ~/Library/Application Support/MindPalace/config.json.
Mind Palace is a pure Swift app with no external dependencies:
| Component | Description |
|---|---|
MindPalaceApp.swift |
SwiftUI App entry point, AppDelegate |
AppState.swift |
Menu bar state, scan scheduling, notifications |
MenuBarView.swift |
SwiftUI menu bar popover |
Scanner/ |
Notes (SQLite + JXA), Reading List (Bookmarks.plist), File system |
Server/HTTPServer.swift |
Network.framework NWListener HTTPS server, API routing, file serving |
Server/CertificateManager.swift |
Local CA + server cert generation, keychain trust installation |
Resources/index.html |
Single-file PWA frontend |
The HTTPS server uses Apple's Network.framework with TLS — no external dependencies. Certificates are generated via the system openssl binary and managed through the Security framework.
- Runs entirely on your Mac
- No data leaves your device
- No analytics, no telemetry
- Source is fully auditable
MIT — see LICENSE
"You see, but you do not observe." — S. Holmes




