Skip to content
/ Loss Public

A modern terminal pager and log viewer - Loss is more.

License

Notifications You must be signed in to change notification settings

Gusabary/Loss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loss

Loss is a modern terminal pager and log viewer designed for efficient log file viewing and navigation.

Features

  • Fast log file viewing with efficient memory usage
  • Real-time log following
  • Search/Jump support
  • Timestamp-based navigation
  • Bookmark support
  • Finder with multiple slots

Installation

Several alternatives:

Install from crates.io

cargo install loss-viewer

Download from github release

Download binary from Release page and put it into $PATH

Build from source

# 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 .

Usage

To view a log file:

loss <filename>

Key Bindings

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

License

MIT

About

A modern terminal pager and log viewer - Loss is more.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages