#termion #less #pager #terminal

app rager

A pager written in Rust. Like more or less.

4 releases

Uses old Rust 2015

0.3.1 May 15, 2018
0.3.0 May 15, 2018
0.2.1 May 9, 2018
0.2.0 May 9, 2018

#17 in #termion

MIT/Apache

15KB
264 lines

rager 🎉

A terminal Pager written in Rust. Like more or less.

  • Supports any xterm-supporting terminal thanks to Termion.
  • Support mouse scrolling (or up/down keys)
  • Supports content over stdin or passed in as a filename.
  • q or Ctrl+C to quit.
cargo install rager
cargo build --color=always |& rager

TODO:

  • Visually indicate when stdin has terminated.
  • Support paging a file via command line argument.
  • Support dumping contents to your shell, or switching back.
  • Support pausing / resuming output.
  • Support follow mode (like less +F).
  • Add more key shortcuts?
  • Windows support?

All contributions welcome. How can rager be useful for you?

License

MIT or Apache-2.0, at your option.

Dependencies

~6.5MB
~114K SLoC