r/commandline • u/markom_1 • 2h ago
Terminal User Interface therapist 0.2.0: a terminal log viewer - just in case your system needs some therapy
For those who aren't familiar with it yet: The therapist app can act as a “therapist” for your system. It helps diagnose system problems by analyzing the app's logs - so it is basically a log viewer in the terminal (but at least it has cool features and is pleasant to use).
When I was developing therapist, I thought I would be the only one using it. To my surprise, it turned out that a few other people had tried it as well. They even sent me their feedback (lol). So I decided to make a few improvements.
Most important stuff in the new in 0.2.0:
- Inverted grep.
Space vopens a tab with the lines that don't contain a phrase, so you can drop the noise before you start reading. It cascades like a normal grep. - The terminal is restored when the app is killed (SIGTERM, SIGHUP, SIGINT), even while it's suspended with
Ctrl-z. - Lower memory use and faster grep on large files.
- A more user-friendly README.
Repo: https://github.com/M-Komorek/therapist
Feedback is welcome, especially if you have any ideas for improvements or find any bugs.
