A private, local-first thought capture app for Mac. Open source under MIT; source preview.
TypeScript
0
4 commits
updated Oct 2, 2026
Catch a thought. Get back to what you were doing.
A private, local-first thought capture app for Mac.
⌥ Space to capture. ⌘ Return to save.
Browser preview with fictional notes.
Build from source · Features · Feature tour · Privacy · Contribute
Mac only · Source preview · MIT licensed
meeting #work, and assign shared tag colors.See the feature tour for examples you can try.
Brain Cache's first public milestone is an early source-only Mac preview. To run it, follow Building from source below. There is no official downloadable installer. Apple Developer Program membership and signing credentials are not needed to build and use the checked-in local configuration. Signing and notarization are deferred until a later packaged release.
The build targets macOS 13 or later; verified build environments are Apple silicon on macOS 15.7.9 and 26.4. macOS 13 and Intel have not been verified. Windows and Linux are not currently supported targets.
This preview is Mac only. Mobile and device sync are outside its scope. Existing mobile code is retained for future development. See the release plan for source-publication checks and the later installer requirements.
| Requirement | Version or detail |
|---|---|
| macOS | 13 or later is the configured minimum; see the verified environments above |
| Node.js | 22.13 or later |
| pnpm | 11.24.0, matching package.json |
| Rust | Rust toolchain with Cargo |
| Apple tools | Xcode Command Line Tools; install with xcode-select --install if needed |
The first dependency installation needs a network connection. Capturing thoughts afterward works offline.
git clone https://github.com/klmrmt/brain-cache.git BrainCache
cd BrainCache/apps/mac
pnpm install --frozen-lockfile
pnpm tauri dev
Press ⌥ Space to start capturing. Click Brain Cache in the Dock to browse your library. You can also right-click the menu-bar Blob and choose Show Library.
The unbundled development process supports capture and the library. macOS reminders require an application bundle: build the .app below and open it to test notifications.
From apps/mac:
pnpm tauri build
The default outputs are in apps/mac/src-tauri/target/release/bundle/, including the .app and .dmg. The checked-in configuration uses ad hoc signing for local builds; it does not produce a notarized public release.
For a clean, checked candidate with version checks, tests, native packaging, and checksums, follow the verified Mac build procedure. It uses the exact toolchain recorded in the repository.
For interface development, run this from apps/mac:
pnpm dev
Open localhost:1420. The preview stores its data in browser local storage, separate from the native app's SQLite database. Use the native app to verify global shortcuts, menu-bar behavior, and macOS notifications.
A short product tour. Browser-preview scenes with fictional notes. View a still image.
Start with Brain Cache running. If you haven't set it up yet, build and open the Mac app.
Open quick capture
Hold Option (⌥) and press Space. A small writing window appears.
Type a thought
Try: “Read a chapter after dinner.”
Save and get back to work
Hold Command (⌘) and press Return. The outline briefly turns green to confirm the save, then the capture window disappears. Your thought is stored on your Mac.
Find your thought later
Click Brain Cache in the Dock. Click the search bar and type chapter to find the note you just saved.
Tags, checklists, and files are optional. You can add them when you need them.
Except for the global ⌥ Space shortcut, these apply within Mac quick capture.
| Shortcut | Action |
|---|---|
| ⌥ Space | Open quick capture |
| ⌘ Return | Save the thought |
| ⌘ T | Open tags |
| ⌘ ⇧ 7 | Start a numbered list |
| ⌘ ⇧ 8 | Start a bulleted list |
| ⌘ ⇧ 9 | Toggle checklist mode |
| Hold ⌘ | Preview shortcut help |
| ⌘ ? | Toggle shortcut help |
| Escape | Dismiss shortcut help or tags first, then capture |
These examples were recorded in the browser preview with fictional notes. Preview storage is separate from the Mac app.
Type chapter to find the sample reading note. Add #ideas to narrow the search: chapter #ideas.

Click a card's pin icon to keep it with your pinned thoughts at the top. Click it again to unpin.

Open a thought, then expand it. Use the toolbar for headings, lists, and inline images. Edits save automatically.

Try the fictional plant illustration when exploring image attachments.
Check off a task on its card, then open Activity in the sidebar to see the completion recorded.

The garden grows with completed checklist tasks. More activity opens history and charts.

Open Settings and turn on Light mode. Adjust Font size for more comfortable reading.

brain-cache.sqlite3 in the app's macOS application-data directory.With the checked-in Mac app identifier, the default database location is:
~/Library/Application Support/com.braincache.desktop/brain-cache.sqlite3
Follow the Mac backup and restore guide to create a verified recovery copy without losing SQLite WAL data.
Device sync is outside the current release. Any future synchronization must preserve the rule that a thought is saved on the originating device first.
Bug reports, documentation improvements, and focused pull requests are welcome. Start with the contributor guide, then use GitHub Issues to report a problem or discuss a larger change. Follow the security-reporting instructions for suspected vulnerabilities.
For bug reports, include your operating-system version, how you ran the app, reproduction steps, and expected behavior. Use sample thoughts and attachments in screenshots.
For Mac application changes, run these checks from apps/mac:
pnpm test
pnpm build
cargo test --manifest-path src-tauri/Cargo.toml
pnpm tauri build
Also exercise the change in the native app and verify that a thought survives capture, save, quit, and relaunch while offline. A browser preview alone does not verify the native app.
For documentation-only changes, check links, paths, and commands, then run git diff --check. If you work on the retained mobile code, its separate verification requirements remain in apps/ios/README.md.
| Path | Purpose |
|---|---|
apps/mac/src | React and TypeScript interface; bridge.ts is the native boundary |
apps/mac/src-tauri | Rust/Tauri host, SQLite storage, native windows, shortcuts, and reminders |
apps/ios | Retained mobile code and tests; outside the current release |
docs/design | Feature design notes |
legacy/swift-mac-prototype | Preserved earlier Mac prototype |
Brain Cache is licensed under the MIT License. Copyright (c) 2026 braincache.
Third-party dependencies retain their own licenses. See dependencies and assets for the current inventory and distribution requirements.
Brain Cache is built with Tauri, React, TypeScript, Rust, SQLite, and Tiptap.
TypeScript
50.1%
Rust
18.9%
Swift
13.7%
Python
9.4%
CSS
8.0%
A private, local-first thought capture app for Mac. Open source under MIT; source preview.
TypeScript
0
4 commits
updated Oct 2, 2026
Catch a thought. Get back to what you were doing.
A private, local-first thought capture app for Mac.
⌥ Space to capture. ⌘ Return to save.
Browser preview with fictional notes.
Build from source · Features · Feature tour · Privacy · Contribute
Mac only · Source preview · MIT licensed
meeting #work, and assign shared tag colors.See the feature tour for examples you can try.
Brain Cache's first public milestone is an early source-only Mac preview. To run it, follow Building from source below. There is no official downloadable installer. Apple Developer Program membership and signing credentials are not needed to build and use the checked-in local configuration. Signing and notarization are deferred until a later packaged release.
The build targets macOS 13 or later; verified build environments are Apple silicon on macOS 15.7.9 and 26.4. macOS 13 and Intel have not been verified. Windows and Linux are not currently supported targets.
This preview is Mac only. Mobile and device sync are outside its scope. Existing mobile code is retained for future development. See the release plan for source-publication checks and the later installer requirements.
| Requirement | Version or detail |
|---|---|
| macOS | 13 or later is the configured minimum; see the verified environments above |
| Node.js | 22.13 or later |
| pnpm | 11.24.0, matching package.json |
| Rust | Rust toolchain with Cargo |
| Apple tools | Xcode Command Line Tools; install with xcode-select --install if needed |
The first dependency installation needs a network connection. Capturing thoughts afterward works offline.
git clone https://github.com/klmrmt/brain-cache.git BrainCache
cd BrainCache/apps/mac
pnpm install --frozen-lockfile
pnpm tauri dev
Press ⌥ Space to start capturing. Click Brain Cache in the Dock to browse your library. You can also right-click the menu-bar Blob and choose Show Library.
The unbundled development process supports capture and the library. macOS reminders require an application bundle: build the .app below and open it to test notifications.
From apps/mac:
pnpm tauri build
The default outputs are in apps/mac/src-tauri/target/release/bundle/, including the .app and .dmg. The checked-in configuration uses ad hoc signing for local builds; it does not produce a notarized public release.
For a clean, checked candidate with version checks, tests, native packaging, and checksums, follow the verified Mac build procedure. It uses the exact toolchain recorded in the repository.
For interface development, run this from apps/mac:
pnpm dev
Open localhost:1420. The preview stores its data in browser local storage, separate from the native app's SQLite database. Use the native app to verify global shortcuts, menu-bar behavior, and macOS notifications.
A short product tour. Browser-preview scenes with fictional notes. View a still image.
Start with Brain Cache running. If you haven't set it up yet, build and open the Mac app.
Open quick capture
Hold Option (⌥) and press Space. A small writing window appears.
Type a thought
Try: “Read a chapter after dinner.”
Save and get back to work
Hold Command (⌘) and press Return. The outline briefly turns green to confirm the save, then the capture window disappears. Your thought is stored on your Mac.
Find your thought later
Click Brain Cache in the Dock. Click the search bar and type chapter to find the note you just saved.
Tags, checklists, and files are optional. You can add them when you need them.
Except for the global ⌥ Space shortcut, these apply within Mac quick capture.
| Shortcut | Action |
|---|---|
| ⌥ Space | Open quick capture |
| ⌘ Return | Save the thought |
| ⌘ T | Open tags |
| ⌘ ⇧ 7 | Start a numbered list |
| ⌘ ⇧ 8 | Start a bulleted list |
| ⌘ ⇧ 9 | Toggle checklist mode |
| Hold ⌘ | Preview shortcut help |
| ⌘ ? | Toggle shortcut help |
| Escape | Dismiss shortcut help or tags first, then capture |
These examples were recorded in the browser preview with fictional notes. Preview storage is separate from the Mac app.
Type chapter to find the sample reading note. Add #ideas to narrow the search: chapter #ideas.

Click a card's pin icon to keep it with your pinned thoughts at the top. Click it again to unpin.

Open a thought, then expand it. Use the toolbar for headings, lists, and inline images. Edits save automatically.

Try the fictional plant illustration when exploring image attachments.
Check off a task on its card, then open Activity in the sidebar to see the completion recorded.

The garden grows with completed checklist tasks. More activity opens history and charts.

Open Settings and turn on Light mode. Adjust Font size for more comfortable reading.

brain-cache.sqlite3 in the app's macOS application-data directory.With the checked-in Mac app identifier, the default database location is:
~/Library/Application Support/com.braincache.desktop/brain-cache.sqlite3
Follow the Mac backup and restore guide to create a verified recovery copy without losing SQLite WAL data.
Device sync is outside the current release. Any future synchronization must preserve the rule that a thought is saved on the originating device first.
Bug reports, documentation improvements, and focused pull requests are welcome. Start with the contributor guide, then use GitHub Issues to report a problem or discuss a larger change. Follow the security-reporting instructions for suspected vulnerabilities.
For bug reports, include your operating-system version, how you ran the app, reproduction steps, and expected behavior. Use sample thoughts and attachments in screenshots.
For Mac application changes, run these checks from apps/mac:
pnpm test
pnpm build
cargo test --manifest-path src-tauri/Cargo.toml
pnpm tauri build
Also exercise the change in the native app and verify that a thought survives capture, save, quit, and relaunch while offline. A browser preview alone does not verify the native app.
For documentation-only changes, check links, paths, and commands, then run git diff --check. If you work on the retained mobile code, its separate verification requirements remain in apps/ios/README.md.
| Path | Purpose |
|---|---|
apps/mac/src | React and TypeScript interface; bridge.ts is the native boundary |
apps/mac/src-tauri | Rust/Tauri host, SQLite storage, native windows, shortcuts, and reminders |
apps/ios | Retained mobile code and tests; outside the current release |
docs/design | Feature design notes |
legacy/swift-mac-prototype | Preserved earlier Mac prototype |
Brain Cache is licensed under the MIT License. Copyright (c) 2026 braincache.
Third-party dependencies retain their own licenses. See dependencies and assets for the current inventory and distribution requirements.
Brain Cache is built with Tauri, React, TypeScript, Rust, SQLite, and Tiptap.
TypeScript
50.1%
Rust
18.9%
Swift
13.7%
Python
9.4%
CSS
8.0%