RepositorySwift
oil-oil

oil-oil/oil-find

Everything for Mac: instant file search for macOS, a Spotlight alternative. 苹果版的 Everything。

105stars
24forks
4issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: file-search

#1 Repository of the month

1
TINIX TRENDING·Topic: quick-look

#1 Repository of the month

1
TINIX TRENDING·Topic: everything

#1 Repository of the month

Oil Find: Everything, for the Mac. Press ⇧⌘F and results appear as you type.

Download  ·  Website  ·  简体中文

The Oil Find search panel: readme is typed, eight results are ranked by relevance with the matching part in blue, and the footer shows the search took 0.2 milliseconds.

Oil Find is a file search tool for macOS that works like Everything on Windows: it keeps its own in-memory index of every file name on your disk instead of relying on Spotlight. Press ⇧⌘F, a search field appears in the middle of the screen, and results update with every keystroke. When files are created, renamed or deleted, the index follows along in real time.

Everything about searching by file name, external drives included, is in the free, open-source version. Searching the contents of images and documents, and drives you've unplugged, is part of the paid Pro add-on.

Why it's fast

  • File names live in one contiguous block of memory. Hundreds of thousands of names are stored column by column and scanned front to back, with no per-file objects.
  • Matching runs in C with NEON. Character comparisons use Apple silicon's vector instructions in batches.
  • Each keystroke narrows the last result. Typing one more character only searches what already matched.
  • Only changes get updated. FSEvents reports what changed and the index is updated incrementally. After a restart, Oil Find catches up from where it left off.

Measured on an Apple M5 with 24 GB of memory, using the command-line tool in this repository. Each query ran 20 times; the table shows the median.

Index scopeFilesIndexingResident memoryreadmewd (pinyin)kind:image
Default850K3.0 s45 MB0.6 ms0.3 ms3.9 ms
Whole disk7.5M27.2 s343 MB8.1 ms3.4 ms3.8 ms

The default scope leaves out dependency folders, app and package internals, Library and system folders. You can turn each of them on in Settings. A single letter matches the most files and is the slowest case: about 11 ms in the default scope and about 58 ms for the whole disk.

Search syntax

TypeMeaning
wd, wendangPinyin initials or full pinyin, finds 文档
foo barContains both foo and bar
foo | barContains foo or bar
readme !node_modulesContains readme, not inside node_modules
*.pngWildcards match the whole name
~/Desktop/ pngOnly under the Desktop
ext:pdf;docxBy extension
kind:imageBy kind: folder, app, doc, image, video, audio, code, archive
file:, folder:Files only, or folders only
size:>10mb, size:1mb..5mbBy size
dm:today, dm:week, dm:2026-10-01By modification date
regex:^IMG_\d+Regular expressions

You can paste paths straight from a terminal or editor: file:// URLs, quoted or escaped paths and paths ending in :line:column all work. Press ⌘/ in the search field for a syntax reference.

Keyboard

KeyAction
⇧⌘FOpen search (configurable in Settings)
ReturnOpen
⌘ReturnShow in Finder
Space / ⌘YQuick Look (Space after selecting a result)
⌘C / ⌥⌘CCopy path, copy name
⌘⌫Move to Trash
Tab / ⌘1…9Switch kind
⌘/Syntax reference

You can also drag results into other apps.

Oil Find Pro

The free version is open source and free forever. Pro is a closed-source paid add-on on top of it: pay once, with a 7-day free trial.

FreePro
Search by file name: pinyin, wildcards, regex, filters by kind, size and date✓✓
Live updates, Quick Look, drag and drop, full keyboard control✓✓
Excluded folders and file types, in-app updates✓✓
External drives: indexed when plugged in, kept up to date✓✓
External drives stay searchable when unplugged✓
Image content: text and objects in screenshots and photos✓
Document content: PDF, Word, PowerPoint, Excel, Pages, Markdown and more✓
Source codeOpen source, MITClosed source
PriceFree$9.99 once (¥49 in mainland China)

Pro and the free version are the same download:

  • After downloading from Releases or the website, every free feature works right away and never expires, with no activation.
  • To use Pro, open the Oil Find Pro section in Settings and click Start 7-Day Free Trial, or enter a license key. When a trial ends, only Pro features turn off.
  • Building from source gives you the free version, without Pro.
  • Images and documents are processed on your Mac and never uploaded.

Buy it or read more at find.oiloil.org/en/pro.

Install

  1. Download Oil-Find.zip from Releases, unzip it and drag Oil Find into Applications.
  2. The first time you open it, macOS blocks it because it isn't notarized by Apple. Go to System Settings → Privacy & Security and click Open Anyway near the bottom.
  3. Press ⇧⌘F and start typing.
  4. Optional: grant Full Disk Access to also search mail attachments and other apps' data. Oil Find works fine without it.

When a new version is out, Oil Find tells you; click Update and Restart. You can turn off automatic checks in Settings.

The download includes Pro, but you can keep using Oil Find for free without activating it. See Oil Find Pro above for the difference.

To uninstall, quit Oil Find and delete Oil Find from Applications and ~/Library/Application Support/Oil Find.

Build from source

Requires macOS 14 and Swift 5.10 or later (Xcode 15.3 or newer).

git clone https://github.com/oil-oil/oil-find.git
cd oil-find
swift test
scripts/build-app.sh   # builds build/Oil Find.app
scripts/install.sh     # builds and installs into Applications

Building from source gives you the free version, without Pro. Your own builds are ad-hoc signed, so you need to grant Full Disk Access again after each rebuild.

Privacy

  • Oil Find reads file names, sizes and modification dates only, never file contents. With Pro image or document content search on, it reads those files on your Mac to extract their text, and the results stay on your Mac too.
  • The index stays on your Mac in ~/Library/Application Support/Oil Find/.
  • A daily update check fetches one version file and sends no device or usage data. You can turn it off in Settings.
  • With Pro, the license is verified online once a day. Only the license key, a device identifier and the device name are sent.

Current limits

  • Apple silicon and macOS 14 or later only.
  • Network volumes aren't supported.
  • After you unplug an external drive, the free version can't search its files; Pro can.
  • The free version searches file names only; Pro also searches the text inside images and documents.

Project layout

FolderContents
Sources/COilFindC: batched directory reads, name comparison, search scoring
Sources/OilFindCoreScanning, indexing, queries, live updates, persistence, app updates
Sources/OilFindAppThe AppKit app and Settings
Sources/OilFindThe app's entry point
Sources/oilfind-cliCommand-line tool for benchmarks and troubleshooting
siteThe website, find.oiloil.org

See docs/ARCHITECTURE.md for the index design and AGENTS.md for development conventions.

Contributing

Issues and pull requests are welcome. The project does one thing, file search, so improvements to matching, ranking, indexing, performance and the interface are all in scope. Pro features (image and document content, searching unplugged drives) are maintained in a private repository, and pull requests that implement them won't be merged.

License

The code in this repository is licensed under MIT. The Pro module isn't in this repository and isn't open source; the builds on Releases and the website include it.

Similar Projects

Discover other similar projects and AI models.

RepositoryJavaScript
serhii-londar/open-source-mac-os-apps

🚀 Awesome list of open source applications for macOS. https://serhii-londar.github.io/open-source-mac-os-apps https://t.me/s/opensourcemacosapps

51.6k
Dec 2, 2026
RepositoryC++
joshua-wu/MacEverything

Lightning-fast file search for macOS, inspired by Everything on Windows

106
Jun 16, 2026
RepositorySwift
jaywcjlove/awesome-mac

 This project is dedicated to collecting high-quality macOS software and organizing them systematically by different categories for easy search and use.

120.1k
Dec 2, 2026
RepositoryTypeScript
marktext/marktext

📝A simple and elegant markdown editor, available for Linux, macOS and Windows.

64.5k
Nov 25, 2026
RepositoryTypeScript
agalwood/Motrix

A full-featured download manager.

59.1k
Dec 2, 2026
RepositorySwift
iina/iina

The modern video player for macOS.

47.4k
Dec 1, 2026
RepositorySwift
permissionlesstech/bitchat

bluetooth mesh chat, IRC vibes

37.2k
Nov 27, 2026
RepositorySwift
shadowsocks/ShadowsocksX-NG

Shadowsocks GUI client for mac OS

32.9k
Nov 26, 2026
RepositorySwift
jordanbaird/Ice

Powerful menu bar manager for macOS

30.1k
Oct 6, 2026