| Crates.io | ltm |
| lib.rs | ltm |
| version | 0.1.1 |
| created_at | 2025-12-22 05:14:32.56945+00 |
| updated_at | 2025-12-22 05:45:55.214298+00 |
| description | Terminal log viewer with whole-line filters, bookmarks, timeline scrub, and live tail |
| homepage | https://github.com/LxYuan0420/log-time-machine |
| repository | https://github.com/LxYuan0420/log-time-machine |
| max_upload_size | |
| id | 1999091 |
| size | 2,206,231 |
Fast, glanceable terminal log viewer: keep your place while new logs stream in, filter the whole line, and hop through bookmarks without losing context. Built for everyday ops/debugging rather than a toy demo.
ltm works out of the box; file/stdin tailing for real feeds.cargo install ltmltmltm --file <path-to-your-log>cat <your-log> | ltm --stdinltm --file <path> --baseline-record /tmp/ltm_baseline.jsonltm --file <path> --baseline-compare /tmp/ltm_baseline.jsonltm --helpq / Ctrl-Cspace, g/EndUp/Down/k/j, PageUp/PageDown, Home/EndLeft/Right/ to type (filter matches timestamp/level/target/message), Enter apply, Esc cancel, F/C clear, R regex, 1/2/3 toggle INFO/WARN/ERROR, n/p next/prev errorb add, ]/[ next/prev (status shows which bookmark you’re on)?Optional LOGTM_CONFIG or ~/.config/logtm/config.toml with max_lines = <n> to cap retained lines. Defaults keep memory bounded.

cargo run (or make run-mock)cargo run -- --file samples/sample.log (or make run-sample)bash scripts/mock_log_stream.sh /tmp/logtm_live.log >/dev/null 2>&1 & cargo run -- --file /tmp/logtm_live.logcargo fmt/cargo clippy hits dyld/LLVM errors, prefer rustup first in PATH: export PATH="$HOME/.cargo/bin:$PATH"