Skip to content
puryshoPublic

About

A private local search engine for indexing, finding, browsing and opening files on your own computer.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Needle icon

Needle

A private local search engine for indexing, finding, browsing, and opening files on your computer.

CI Releases MIT Status: beta

Download: Windows · macOS · Linux · Run from source · Report an issue

Needle searching an index of local projects, with ranked results and a matching snippet

📹 Demo GIF coming in the next release. See the screenshot above for the current UI.

What it does

  • Build and update local file indexes
  • Fast filename and content search
  • Exact-phrase and typo-tolerant search
  • Browse indexed files by extension
  • Open or reveal results directly
  • Portable local JSON indexes

Why not Everything, ripgrep, fzf or Spotlight?

Tool What it does better Where Needle differs
Everything Instant filename search across whole NTFS volumes, live as files change. Windows only. Needle searches file contents with ranking, and runs on macOS and Linux too. For filename lookup on Windows, Everything is faster.
ripgrep Regex search over the files as they are right now, with no index to build or go stale. Needle has no regex. It gives ranked, typo-tolerant results and a window to browse them in, from an index you build first.
fzf Interactive fuzzy filtering of any list in a terminal, usually file names. Needle matches on what is inside the files, not only on their names.
macOS Spotlight Built in, system-wide, and understands PDFs, mail, and document metadata. Needle indexes only the folders you point it at, into a JSON file you can inspect, copy, or delete. It reads plain-text formats only.

These are great tools, and Needle does less than any of them. The difference is operational, not technical: Needle is a single portable download, needs no account, no server, no Docker, and no configuration to start, and its index is an ordinary JSON file that stays wherever you save it. If you already use one of the tools above and it works for you, keep using it. Needle exists for the case where you want ranked content search over a few folders with zero setup and no cloud dependency.

Part of the Depot suite

Depot (in development) brings these tools together in one app — shared workspace context, an event bus that connects them, and a unified session timeline.

Depot · Switchyard · Needle · Relay · Pulse · BLACKBOX · Forge

Download

Platform File
Windows 10/11 (x64) Needle-Windows-x64.exe — portable, no installer
macOS (Apple Silicon) Needle-macOS-arm64.zip — unzip and move to Applications
Linux (x86_64) Needle-Linux-x86_64.tar.gz — extract and run ./Needle

Each release is built from the tagged source by GitHub Actions and carries a SHA256SUMS.txt. The builds are not yet code-signed, so on first launch Windows SmartScreen may ask you to confirm ("More info" → "Run anyway"), and macOS may need you to Control-click the app and choose Open.

Status: beta. Needle does what this README describes and is covered by CI on Windows, macOS and Linux, but it is young: expect rough edges, and please report them.

Run from source

Requirements: Python 3.10+ with Tk support.

pyw needle_desktop.pyw

The application uses Python's standard library at runtime.

Build a standalone Windows executable

powershell -ExecutionPolicy Bypass -File .\build-windows.ps1

Output:

dist\Needle.exe

Privacy

Index creation and searching happen locally. Needle does not need a hosted search service or account.

Scope

Needle targets personal/local file discovery rather than enterprise document management. Search is deliberately lightweight and deterministic.

Release process

  • Every push runs tests/compile checks and builds a Windows executable artifact.
  • Tags matching v* build the executable again, compute SHA256, and publish both files to GitHub Releases.
  • See CHANGELOG.md for release history.

Contributing

See CONTRIBUTING.md and docs/ARCHITECTURE.md. Security reports: SECURITY.md.

License

MIT

About

A private local search engine for indexing, finding, browsing and opening files on your own computer.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages