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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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