Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

peep

> 开发工具
Open source

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

170 stars0 likes1 views
WebsiteGitHub

About

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

peep

peep is the CLI text viewer tool.
This tool works interactively like less command on small pane within the terminal window.
And leave the output on the terminal when quit like cat command.

Demos

Pane on Terminal Window

peep can view text file freely.

Read from Pipe

Print Line Number

Resize Pane

Incremental Regex Search

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.

Highlighting on Follow Mode

peep can highlight the regex word on the follow mode.

Text Line Wrapping

Installation

bash
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

bash
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

…

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.

Issues· 5 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustcatclicli-text-viewerless

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具