#log-viewer #itch #cli #linux #macos #line #v25

app itch-logview

A log viewer for itch v25+

1 unstable release

0.1.0 Jun 22, 2019

#4 in #itch

MIT license

11KB
244 lines

itch-logview

MIT licensed

A small rust CLI for viewing itch logs.

And by itch, I mean the itch.io app.

Installation

Clone the repository and cd into it, then:

cargo install itch-logview

Usage

Run without arguments to get help.

Pass an itch log file to view:

itch-logview /path/to/itch.txt

Note: in itch v25, the main log is in $XDG_CONFIG/.config/itch/logs/itch.txt on Linux, %APPDATA%/itch/logs/itch.txt on Windows, ~/Library/Application Support/itch/logs/itch.txt on macOS.

Use --follow (or -f for short) to have tail -f-like behavior.

This tool will skip over malformed JSON lines, so if you pass it a random file chances are there'll just be no output.

License

itch-logview is released under the MIT License. See the LICENSE file for details.

Dependencies

~5–15MB
~179K SLoC