dings

Crates.iodings
lib.rsdings
version0.1.3
created_at2025-03-15 14:45:48.161035+00
updated_at2025-08-09 15:52:28.823642+00
descriptionquick command-line data visualization
homepagehttps://github.com/jonhoo/dings/
repositoryhttps://github.com/jonhoo/dings/
max_upload_size
id1593603
size55,539
Jon Gjengset (jonhoo)

documentation

README

dings: quick command-line data visualization

dings reads a stream of points from a file / stdin and plots them.

dings is a Rust port of silentbicycle/guff. Much of the credit goes to the original author, Scott Vokes.

dings is distributed under the ISC License as guff was.

The initial implementation was done as a livestream.

TODOs

Argument help text: Fill in the text for --help (currently unimplemented!). Ideally we would also generate a man page.

Improved README: Usage examples, differences from guff, how to install.

Colored output: Terminal escape codes to color datasets and axes. Ideally using https://colorbrewer2.org/.

Remaining features from guff: -f to flip X and Y, -log c to get logarithmic count ("the trick" won't work any more), -S to disable stream mode, file argument to read from file, and support for blank lines to reset. Notably, probably not SVG.

Tests: The original had extensive tests that we should bring over. Fuzzing, probably with quickcheck, but maybe AFL for input fuzzing as well.

Additional transformations: Support for PDF.

Statically linked binary release: A tool like this it's super handy to be able to just fetch and run. Probably best managed with https://github.com/axodotdev/cargo-dist.

Commit count: 94

cargo fmt