STAG(1)
β¨ STAG(1) β¨
okay so welcome to the Stag Manual for stag β aka STAG(1) β and it's literally streaming graphs with ncurses π
. ngl, this page ate and left no crumbs, and your bestie is gonna walk you through it, no cap.
π NAME π
stag β streaming graphs with ncurses. that's the name, that's the vibe, periodt π¦.
π SYNOPSIS π
stag [-t TITLE] [-m MARGIN] [-s SCALE_MODE] [-w BAR_WIDTH] [-y Y_SPLITS]
π DESCRIPTION π
okay so stag generates a streaming bar graph of the data (line separated floats) passed through stdin. yes bestie, line separated floats through stdin β it's giving data pipeline main character energy, highkey β¨.
π OPTIONS π
-t,--title=TITLEβ Set the title displayed above the graph. cute little nameplate energy π.-m,--margin=T,R,B,Lβ Set the margin around the edge of the graph, defined as a comma delimited list of 4 integers: top,right,bottom,left. not me obsessing over the order, but it's top,right,bottom,left π .-s,--scale=SCALE_MODEβ Choose how to scale the y-axis of the graph. the way that this gives you options? iconic. the modes are:dynamic: update the max using the values currently on the graph.global: update the max to be the global maximum of all data seen.min,max: specify the max and min using two integers.
-w,--width=BAR_WIDTHβ Set the width of the bars. chunky bars? slim bars? your call, bestie π«Ά.-y,--split=Y_SPLITSβ Set the number of intermediate y-axis ticks between the min and max. y-axis tick moment, fr fr β¨.
π§ EXAMPLES π§
Trivial example:
echo -e "1\n2\n3" | ./stag
See examples/ directory for more. vibe check: passed π
π AUTHOR π
Seena Burns (hello@seenaburns.com)
View on https://github.com/seenaburns/stag
π and that's the whole manual, bestie β this is Stag 1.0, dated August 26, 2014, and you just read STAG(1). slay, go make some streaming bar graphs ππ
π¦ where this page comes from
- nixos 26.05: stag 1.0.0
- nixpkgs unstable: stag 1.0.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms