Show HN: Wosp – advanced full-text search on the command line

Show HN (score: 5)
Found: November 05, 2025
ID: 2279

Description

CLI Tool
Show HN: Wosp – advanced full-text search on the command line Hi, I'm Andrew Trettel. I'm a scientist and researcher. I wrote Wosp to help me search local documents using Boolean and proximity operators.

Wosp is a command-line program that performs full-text search on text documents. Wosp stands for word-oriented search and print. It is designed for advanced searchers. It works differently than line-oriented search tools like grep, so it can search for matches spanning multiple lines. Wosp supports an expressive query language that contains both Boolean and proximity operators. It also supports nested queries, truncation, wildcard characters, and fuzzy searching.

The linked GitHub repository contains all of the code to try out the program. I also wrote a blog post (https://www.andrewtrettel.com/blog/wosp/) that discusses my motivations for creating Wosp in more detail, along with some additional technical discussion and diagrams.

If you give Wosp a try, I'd appreciate any comments or feedback you have about the experience.

More from Show

Show HN: Matrirc – run irssi in 2026, talk to people on Matrix

Show HN: Matrirc – run irssi in 2026, talk to people on Matrix This solves no real problem — Element works, there&#x27;s already a Matrix-to-IRC bridge running on half the FOSS networks, and probably nobody under 30 has opened irssi voluntarily this decade.<p>I wrote it anyway because I miss Esc 4 and clunky window-split commands.<p>Matrirc is a local IRC server that speaks Matrix on the back. Point irssi at localhost:6667, log in with Matrix creds, rooms show up as channels.<p>brew tap pawelb0&#x2F;tap brew install matrirc

No other tools from this source yet.