Skip to content
المشاريع

حول

Search files without indexing, but fast crawling

البيانات والتحليلات

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
+١
خلال 15 يومًا
+١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Drill

Very fast file searcher without indexing

Download latest release

Rust Financial Contributors on Open Collective GitHub issues GitHub forks GitHub stars GitHub license

Twitter

TL;DR: What is this

  • Bounded multithreaded worker pool walking prioritized roots concurrently
  • No background index; relies on the OS filesystem cache instead of holding a multi-gigabyte in-app cache
  • Priority-guided breadth-first search favoring shallow, visible desktop folders before hidden/system directories
  • Intended for desktop users: starts from common desktop folders and defers hidden and system paths
  • Designed for modern SSDs and NVMe storage; streams matching results live while scanning

Run

From source

Install the workspace Rust toolchain with rustup. On macOS 13 or later, install the Xcode Command Line Tools and start the SwiftUI app with make start or by double-clicking Start Drill.command. See the macOS build and test instructions.

Windows uses native Win32 controls. Linux uses GTK 3 and requires the GTK 3 development files to build from source. Start either app with

cargo run --release --locked

To try Win64 on macOS or Linux, install Wine, MinGW-w64 and the x86_64-pc-windows-gnu Rust target, then run make start_wine.

The first build may download Rust dependencies. Search results appear while the filesystem is scanned. Type *.md to find Markdown files, glob:report-??.pdf for a wildcard pattern, regex:^IMG_[0-9]{4}\.jpg$ for a regular expression, or fuzzy: followed by words for approximate matching. Drill follows your system light or dark appearance. On Windows, most results show the system icon for the file type or the standard folder icon. EXE and AppImage files can show their embedded icons. Both options are enabled by default under Settings → Interface.

Run make help to see common commands, including make start, make test-core, and make test-ui. The macOS UI suite sends events to its own AppKit windows. Linux CI drives GTK on an Xvfb display. Windows CI exercises the native controls on a Windows runner.

See Rust migration notes for development checks and platform status.

Search from an MCP client

Open Settings → AI and turn on Enable MCP server. In a local client that supports MCP over standard input and output, set the command to the path to your installed Drill executable and pass the single argument --mcp. For example, on macOS with Drill in Applications, use this configuration in clients that accept an mcpServers object.

{
  "mcpServers": {
    "drill": {
      "command": "/Applications/Drill.app/Contents/MacOS/Drill",
      "args": ["--mcp"]
    }
  }
}

On Windows, use the full path to Drill.exe. On Linux, use the installed drill executable or the full path to the AppImage. The client can start Drill with its desktop window closed.

The search tool accepts a query, a files or apps mode, and a result limit. It uses Drill's default search locations and returns names, paths, and whether each result is a directory. The server skips Photos library contents on macOS and uses its own search session. It is off by default. Turning it off in Settings → AI revokes future searches and cancels an active search.

What happened to the old code?

The old D code and other experimental versions are available in the other branches The former Python implementation remains available in Git history.

What is this in detail

I was stressed on Linux because I couldn't find the files I needed; file searchers based on system indexing (updatedb) can be brittle and hard to configure for the average user, so I pulled an all-nighter and started Drill.

Drill is a cross-platform desktop file searcher for macOS, Windows, and Linux that searches without a background indexing daemon, designed for modern multi-core systems with SSD/NVMe storage.

  • Priority-guided breadth-first search: Many file searchers use depth-first traversal, which can get bogged down inside deeply nested archives or generated folders. Drill uses a priority-guided breadth-first search across platform roots (Desktop, Documents, Downloads, applications, and mounted volumes/drives). Directory priority favors dictionary-word names, visible folders over hidden directories (such as .git or dotfiles) and system trees (such as /System, /usr, C:\Windows, or C:\ProgramData), shallower depths, shorter paths, and recently modified directories, while still reaching deferred paths as the scan continues.

  • Bounded multithreading: Drill runs a bounded multithreaded worker pool (scaled to available CPU parallelism, capped at 16 threads) pulling from a shared priority queue of discovered directories. Workers walk prioritized roots concurrently and deduplicate canonical paths across overlapping roots.

  • OS filesystem cache: Drill maintains no background index and does not hold a multi-gigabyte in-app cache in memory. After an initial cold walk, repeated queries benefit directly from the operating system's filesystem and dentry cache while streaming matches live to the UI.

Contributing

Read the Issues and check the labels for high priority ones

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

Filename text and emoji are rendered by the operating system’s native controls.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…