tali is a small CLI tool for live frequency tallies on a stream of lines.
Think:
any | sort | uniq -c
…but updated live as stdin comes in.
go install github.com/zcag/tali@latestMake sure $GOPATH/bin (or $GOBIN) is in your PATH.
- Live tally of stdin lines
- Adapts automatically to terminal height
- Shows only what fits on screen
- Aggregates hidden entries as
<others> - When the stream stops (EOF / Ctrl-C),
taliprints the full, final tally.
Basic:
some_stream | taliSee most outbound connection by ip:
ss -tun \
| awk 'NR>1 {print $5}' \
| sed 's/:.*//' \
| taliSee file types counted live:
find ~ -type f -name '*.*' 2>/dev/null \
| sed 's/.*\.//' \
| tr A-Z a-z \
| tali-
Live view
- Small counts at the top
- Large counts sink to the bottom
- Hidden entries are grouped as
<others>
-
Final output (on EOF / Ctrl-C)
- Full list
- Sorted the same way (small → large)
- Suitable for piping or saving
- Detect non-TTY output and skip live redraw
- Sort options
- Variable sample frequency
- Limit uniq keys to keep