7 releases
0.1.6 | Sep 9, 2023 |
---|---|
0.1.5 | Sep 9, 2023 |
0.1.1 | Aug 27, 2023 |
#128 in Visualization
160KB
1K
SLoC
Watch and view your data in real-time.
This application allow you to watch your data in real-time (using a simple and documented protocol) or view them from files.
This crate make it easy to display the data from third-party applications.
GTK4 must be installed to build this application:
sudo apt install libgtk-4-dev
(under development)
DataView format
DataView format is a user-friendly format based on TOML.
-
Usage examples are available here: https://github.com/guillaumepellegrino/dataviewer/tree/master/examples
-
Format is defined with SERDE here: https://github.com/guillaumepellegrino/dataviewer/blob/master/src/dataview.rs
Examples
View SpeedTest results
https://github.com/guillaumepellegrino/dataviewer/blob/master/examples/speedtest.dv.toml
Streaming SpeedTest in real-time
https://github.com/guillaumepellegrino/dataviewer/blob/master/examples/speedtest.sh
Data can be streamed in real-time through an ipc socket defined in /tmp/dataviewer.ipc. The ipc is using the same format than files. The only difference is each message/update must be termined by a NULL character. So, you may very well cat your dataview file in the ipc terminated by a '\0' followed up by updates each terminated by a '\0'.
Dependencies
~19MB
~441K SLoC