I needed to take a look at some live logs and quickly analyze some old ones, but I couldn't find anything effective to highlight terms, except for esoteric sed and awk commands. So I built `ch` - Colored Highlighter - a simple terminal tool to highlight specific words in your command output with colors. Perfect for tailing logs, debugging, and making command output more readable. image Read more and grab binaries & source code at

Replies (7)

UPDATE: This little utility slaps. I had some perl flashbacks (cpanm) with the double semicolons whilst fiddling with the pallete. 🤣 Got it to build on aarch64 too, so can pipe highlighted logs to phone.
I needed something easy to manage in the command line and that doesn't conflict with the searched words, so I picked the double semicolons without thinking too much about it; maybe the syntax can be optimized. > so can pipe highlighted logs to phone Screenshot, actually better a photo, or never happened!
Screenshot from termux session, in this example highlighted errytime "nostr" is in logs in green, and nip05 username in red. This is 100% a unix "do one thing and do it well" tool. Once I am able to shove golang things into busybox as an applet, `ch` gonna be a everyday carry item. image
Cool! I'm glad to see that this tool is useful to you too. Feel free to share any suggestions for improving it.