spark

A shell script that turns lists of numbers into compact sparklines for terminal output.

By Zach Holman

View the spark source code

Alternatives

About spark

spark renders numeric values as block-character sparklines in a shell. Pass it a list of numbers directly or pipe values from another command, such as Git statistics or an earthquake feed, to create a compact visual summary.

It is a small shell script that can be installed on a system path and used in other scripts or a terminal prompt. The project documents installation through Homebrew on OS X.

Strengths

  • Turns numeric input into compact terminal graphs
  • Works with shell commands and scripts
  • Can be added to a shell prompt

Limitations

  • Block characters may appear uneven when the terminal font lacks matching glyphs

Details

Pricing
FreeFree and open source under the MIT license.
License
MIT
Developer
Zach Holman
Platforms
macOS, Linux, Command line
How it runs
Downloadable app
Best suited for
Shell users who want quick visual summaries of numeric output
Last verified
Added
Provenance
Selected from the Homebrew formula

Report a wrong fact or a dead link on this listing