| Crates.io | loss-viewer |
| lib.rs | loss-viewer |
| version | 0.3.0 |
| created_at | 2025-04-19 14:11:15.902827+00 |
| updated_at | 2025-04-21 15:00:05.81117+00 |
| description | A modern terminal pager and log viewer. |
| homepage | https://github.com/Gusabary/Loss |
| repository | https://github.com/Gusabary/Loss |
| max_upload_size | |
| id | 1640687 |
| size | 135,243 |
Loss is a modern terminal pager and log viewer designed for efficient log file viewing and navigation.
Several alternatives:
cargo install loss-viewer
Download binary from Release page and put it into $PATH
# clone the repository
git clone https://github.com/yourusername/loss.git
cd loss
# build the project
cargo build --release
# install the binary
cargo install --path .
To view a log file:
loss <filename>
| Category | Key | Description |
|---|---|---|
| Basic | q |
Exit |
w |
Toggle wrap line | |
F |
Enter follow mode | |
h |
Toggle helper menu | |
| Search | / |
Search down |
? |
Search up | |
n |
Search next | |
N |
Search previous | |
| Jump | t |
Jump to timestamp |
j |
Jump down n lines | |
J |
Jump up n lines | |
PageUp/Down |
Jump up/down 5 lines | |
Ctrl+PageUp/Down |
Jump up/down 20 lines | |
Home |
Jump to start | |
End |
Jump to end | |
, |
Undo window vertical move | |
. |
Redo window vertical move | |
| Bookmark | b |
Set bookmark |
g |
Open bookmark menu | |
| Finder | + |
Add active slot |
- |
Remove active slot | |
0-9 |
Switch active slot | |
o |
Toggle highlight flag | |
r |
Toggle raw/regex pattern | |
x |
Clear slot content | |
m |
Open finder menu |