All Projects → ryochack → Peep

ryochack / Peep

Licence: mit
The CLI text viewer tool that works like less command on small pane within the terminal window.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Peep

Csview
📠 A high performance csv viewer with cjk/emoji support.
Stars: ✭ 208 (+49.64%)
Mutual labels:  cli, pager
Online-News-Portal-with-Django
Daily News For You is an online news portal developed by Django and SQLite
Stars: ✭ 45 (-67.63%)
Mutual labels:  cat, less
Git History
Quickly browse the history of a file from any git repository
Stars: ✭ 12,676 (+9019.42%)
Mutual labels:  cli, text
Aeneas
aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment)
Stars: ✭ 1,942 (+1297.12%)
Mutual labels:  cli, text
Catj
Displays JSON files in a flat format.
Stars: ✭ 1,301 (+835.97%)
Mutual labels:  cli, cat
Replace In File
A simple utility to quickly replace contents in one or more files
Stars: ✭ 369 (+165.47%)
Mutual labels:  cli, text
Cat Names
🐈 Get popular cat names
Stars: ✭ 226 (+62.59%)
Mutual labels:  cli, cat
Render
Universal data-driven template for generating textual output, as a static binary and a library
Stars: ✭ 108 (-22.3%)
Mutual labels:  cli, text
Vertical Rhythm
Put some typographical vertical rhythm in your CSS. LESS, Stylus and SCSS/SASS versions included.
Stars: ✭ 83 (-40.29%)
Mutual labels:  text, less
Page
Use neovim as pager
Stars: ✭ 83 (-40.29%)
Mutual labels:  cli, pager
Word Wrap
Wrap words to a specified length.
Stars: ✭ 107 (-23.02%)
Mutual labels:  cli, text
Eyo
🦔 CLI for restoring the letter «ё» (yo) in russian texts
Stars: ✭ 119 (-14.39%)
Mutual labels:  cli, text
Site Scan
CLI for capturing website screenshots, powered by puppeteer.
Stars: ✭ 137 (-1.44%)
Mutual labels:  cli
Cli
share secrets within teams to avoid plain-text secrets from day one
Stars: ✭ 138 (-0.72%)
Mutual labels:  cli
Git Tidy
Tidy up stale git branches.
Stars: ✭ 137 (-1.44%)
Mutual labels:  cli
Braincup
Train your math skills, memory and focus.
Stars: ✭ 137 (-1.44%)
Mutual labels:  cli
Aws Nuke
Nuke a whole AWS account and delete all its resources.
Stars: ✭ 2,333 (+1578.42%)
Mutual labels:  cli
Tenderly Cli
CLI tool for Smart Contract error tracking, monitoring and alerting.
Stars: ✭ 138 (-0.72%)
Mutual labels:  cli
Vuepress Theme Yur
Next: base on VuePress2.x
Stars: ✭ 137 (-1.44%)
Mutual labels:  less
Loophole
Polar devices Python API and CLI.
Stars: ✭ 136 (-2.16%)
Mutual labels:  cli

crates.io test

peep

The CLI text viewer tool that works like less command on small pane within the terminal window.

Demos

Pane on Terminal Window

peep can view text file freely.

Pane on Terminal Window

Read from Pipe

Pipe Input

Print Line Number

Print Line Number

Resize Pane

Resize Pane

Incremental Regex Search

Incremental Regex Search

Wide Width Character Support

Wide Width Character Support

Follow Mode

peep has the follow mode that can monitor file updates and read them continuously like tail -f or less +F.
Also, peep can switch between the normal mode and follow mode with F command.

Follow Mode

Highlighting on Follow Mode

peep can highlight the regex word on the follow mode.

Highlighting on Follow Mode

Text Line Wrapping

Text Line Wrapping

Installation

cargo install peep

If you don't have Rust toolchains, please refer to The Rust Programming Language.

Or, you can download peep binary file from GitHub peep Releases :)

Usage

peep [OPTION]... [FILE]

Options

-n, --lines LINES        set height of pane
-s, --start START        set start line of data at startup
-t, --tab-width WIDTH    set tab width
-N, --print-line-number  print line numbers
-f, --follow             output appended data as the file grows
-h, --help               show this usage
-v, --version            show version

Commands

Format

KEY-BIND            OPERATION

Example 1

0 Ctr-a             Go to the beggining of line

Type 0 OR Ctrl-a, then Go to the beggining of line.

Example 2

(num)+              Increment screen height

(num) means that entering a number is optional.
If you omit the number input, the number will be processed as 1.

Example 3

[num]=              Set screen height to [num]

[num] means that entering a number is mandatory.

Commands on Normal Mode

(num)j Ctr-j Ctr-n  Scroll down
(num)k Ctr-k Ctr-p  Scroll up
(num)d Ctr-d        Scroll down half page
(num)u Ctr-u        Scroll up half page
(num)f Ctr-f SPACE  Scroll down a page
(num)b Ctr-b        Scroll up a page
(num)l              Scroll horizontally right
(num)h              Scroll horizontally left
(num)L              Scroll horizontally right half page
(num)H              Scroll horizontally left half page
0 Ctr-a             Go to the beggining of line
$ Ctr-e             Go to the end of line
g                   Go to the beggining of file
G                   Go to the end of file
[num]g [num]G       Go to line [num]
/pattern            Search forward in the file for the regex pattern
n                   Search next
N                   Search previous
q Ctr-c             Quit
(num)+              Increment screen height
(num)-              Decrement screen height
[num]=              Set screen height to [num]
#                   Toggle line number printing
!                   Toggle line wrapping
ESC                 Cancel
F                   Toggle to follow mode

Commands on Follow Mode

/pattern            Highlight the regex pattern
q Ctr-c             Quit
(num)+              Increment screen height
(num)-              Decrement screen height
[num]=              Set screen height to [num]
#                   Toggle line number printing
!                   Toggle line wrapping
ESC                 Cancel
F                   Toggle to normal mode

Supported Platforms

  • Linux
  • MacOS

License

MIT License. Please refer to LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].