Description
hwatch is an open source alternative to the Unix watch command, in development since 2018. Like watch, it runs a command repeatedly, but it also records each result so you can scroll back through the history and see what changed between runs. Differences can be displayed in several ways and the view can be switched in real time, and diff mode plugins loaded as dynamic libraries can add custom rendering. Results can be logged in JSON format, ANSI colors are supported, output is scrollable, and custom keymaps are available. Besides the interactive terminal interface, hwatch can print differences to standard output, and it can run another command whenever a change is detected. It is packaged in Debian unstable and Alpine edge/testing, with prebuilt archives and .deb and .rpm files on GitHub Releases.…
Highlights
- Keeps a history of command results
- Diff view between runs, switchable in real time
- JSON logging of results
- Run a command when output changes
- Diff mode plugins, custom keymaps and ANSI color
- Packages for Debian, Alpine and .deb/.rpm releases
Ratings & Reviews
No ratings yet
Be the first to rate Hwatch.
People also visit
Hwatch FAQ
What is hwatch?
A replacement for the watch command that keeps the history of each run, shows diffs between results and can run hooks when output changes.
Can it log results?
Yes. Execution results can be written to a log in JSON format.
Does it only work as a TUI?
No. Besides the interactive interface, it can output the differences to standard output.
How do I install it?
It is in Debian unstable and Alpine Linux edge/testing. GitHub Releases has prebuilt archives plus .deb and .rpm packages; Fedora packaging is in progress.
What are the best Hwatch alternatives?
Popular alternatives to Hwatch include Livediff, hunk and Nerdlog. See all Hwatch alternatives

