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

spacer

> 开发工具
Open source

CLI tool to insert spacers when command output stops

1.8K stars0 likes1 views
WebsiteGitHub

About

CLI tool to insert spacers when command output stops

spacer

spacer is a simple CLI tool to insert spacers when command output stops.

If you're the type of person that habitually presses enter a few times in your log tail to know where the last request ended and the new one begins, this tool is for you!

Installation

With Homebrew:

bash
brew install spacer

Direct from Cargo:

bash
cargo install spacer

Usage

By default, spacer outputs a spacer after 1 second with no output. You can change this with the --after flag.

bash
tail -f some.log | spacer --after 5

--after accepts a number of seconds, and allows floating point numbers for extra precision.

STDOUT and STDERR

Some commands output most of their information on STDERR, not STDOUT. spacer only monitors STDOUT, so if you find a situation where spacer doesn't seem to be working it could be that the program you're piping from is using STDERR.

To "fix" that, pipe both STDERR to STDOUT to spacer by using |& instead of | as the pipe characters:

bash
my-command |& spacer

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustcli

No comments yet. Be the first to share.

> Details

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

> Related tools

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