MCPcopy Index your code
hub / github.com/cardisoft/cardinal

github.com/cardisoft/cardinal @v0.1.23

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.23 ↗ · + Follow
2,560 symbols 10,112 edges 192 files 81 documented · 3%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Cardinal icon

Cardinal

Fastest and most accurate file search app for macOS.

<a href="#using-cardinal">Using Cardinal</a> ·
<a href="#building-cardinal">Building Cardinal</a>

Cardinal UI preview


English · Español · 한국어 · Русский · 简体中文 · 繁體中文 · Português · Italiano · 日本語 · Français · Deutsch · Українська · العربية · हिन्दी · Türkçe

Using Cardinal

Download

Use homebrew:

brew install --cask cardinal-search

You can also grab the latest packaged builds from GitHub Releases.

i18n support

Need a different language? Click the ⚙️ button in the status bar to switch instantly.

Search basics

Cardinal now speaks an Everything-compatible syntax layer on top of the classic substring/prefix tricks:

  • report draft – space acts as AND, so you only see files whose names contain both tokens.
  • *.pdf briefing – filter to PDF results whose names include “briefing”.
  • *.zip size:>100MB – search for ZIP files larger than 100MB.
  • in:/Users demo !.psd – restrict the search root to /Users, then search for files whose names contain demo but exclude .psd.
  • tag:ProjectA;ProjectB – match Finder tags (macOS); ; acts as OR.
  • *.md content:"Bearer " – filter to Markdown files containing the string Bearer.
  • "Application Support" – quote exact phrases.
  • brary/Applicat – use / as a path separator for sub-path searching, matching directories like Library/Application Support.
  • /report · draft/ · /report/ – wrap tokens with leading and/or trailing slashes to force prefix, suffix, or exact name matches when you need whole-word control beyond Everything syntax.
  • ~/**/.DS_Store – globstar (**) dives through every subfolder under your home directory to find stray .DS_Store files anywhere in the tree.

For the supported operator catalog—including boolean grouping, folder scoping, extension filters, regex usage, and more examples—see doc/pub/search-syntax.md.

Keyboard shortcuts & previews

  • Cmd+Shift+Space – toggle the Cardinal window globally via the quick-launch hotkey.
  • Cmd+, – open Preferences.
  • Esc – hide the Cardinal window.
  • ArrowUp/ArrowDown – move the selection.
  • Shift+ArrowUp/Shift+ArrowDown – extend the selection.
  • Space – Quick Look the currently selected row without leaving Cardinal.
  • Cmd+O – open the highlighted result.
  • Cmd+R – reveal the highlighted result in Finder.
  • Cmd+C – copy the selected files to the clipboard.
  • Cmd+Shift+C – copy the selected paths to the clipboard.
  • Cmd+F – jump focus back to the search bar.
  • ArrowUp/ArrowDown (in search bar) – cycle search history.

Happy searching!


Building Cardinal

Requirements

Development mode

cd cardinal
npm run tauri dev -- --release --features dev

Production build

cd cardinal
npm run tauri build

Extension points exported contracts — how you extend this code

FlushSnapshot (Interface)
(no doc) [3 implementers]
cardinal/src-tauri/src/background.rs

Core symbols most depended-on inside this repo

path
called by 1490
search-cache/src/file_nodes.rs
search
called by 496
search-cache/src/cache.rs
parse_and_highlight
called by 387
search-cache/src/highlight.rs
search_with_options
called by 247
search-cache/src/cache.rs
push
called by 169
namepool/src/lib.rs
iter
called by 127
search-cache/src/slab.rs
query_files
called by 126
search-cache/src/cache.rs
node_path
called by 119
search-cache/src/cache.rs

Shape

Function 2,153
Method 295
Class 82
Enum 29
Interface 1

Languages

Rust94%
TypeScript6%

Modules by API surface

search-cache/src/highlight.rs401 symbols
search-cache/src/cache.rs143 symbols
search-cache/src/query_preprocessor.rs93 symbols
search-cache/tests/tag_filter.rs89 symbols
search-cache/src/tests/size_filters.rs85 symbols
cardinal-syntax/src/lib.rs83 symbols
search-cache/src/tests/type_filters.rs79 symbols
search-cache/src/query.rs68 symbols
cardinal-syntax/tests/filters.rs63 symbols
namepool/src/lib.rs61 symbols
search-cache/tests/search_with_options_path_segments.rs60 symbols
cardinal/src-tauri/src/background.rs57 symbols

For agents

$ claude mcp add cardinal \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact