peco (pronounced peh-koh) is based on a python tool, percol. percol was darn useful, but I wanted a tool that was a single binary, and forget about python. peco is written in Go, and therefore you can just grab the binary releases and drop it in your $PATH. peco can be a great tool to filter stuff like logs, process stats, find files, because unlike grep, you can type as you think and look through the current results. Demos speak more than a thousand words! Here's me looking for a process on my mac. You can page through your results, and you can keep changing the query. When you combine tools like zsh, peco, and ghq, you can make managing/moving around your huge dev area a piece of cake! Search results are filtered as you type. When you find that line that you want, press enter, and the resulting line is printed to stdout, which allows you to pipe it to other tools. You can select multiple lines!

Features

  • Different types of filters are available
  • Default is case-insensitive filter, so lines with any case will match
  • ou can toggle between IgnoreCase, CaseSensitive, SmartCase, Regexp and Fuzzy filters
  • The SmartCase filter uses case-insensitive matching when all of the queries are lower case, and case-sensitive matching otherwise
  • The Regexp filter allows you to use any valid regular expression to match lines
  • The Fuzzy filter allows you to find matches using partial patterns

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow peco

peco Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of peco!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Email Spam Filter Software

Registered

2021-08-31