telegrust-histo

Why? I was curious, and Python proved too slow1 at parsing timestamps, although the plot looks nicer there.

1 0.3 seconds vs 30 seconds benchmarked on the same ~45k messages dataset.

Usage:

```sh

install telegrust-histo with cargo,

provided that you have the rust toolchain set up.

cargo install telegrust-histo

cd to wherever your exported folder is

cd ~/Downloads/Telegram\ Desktop/ChatExport_2021-01-15

see telegrust-histo options

telegrust-histo -help

run telegrust-histo

telegrust-histo -b 300 -v ```

Demo:

sh ~/ChatExport_2021-01-15> time telegrust-histo -b 200 # time is optional btw of course [+] Generated histogram_200.svg (using 200 bins) in the current folder. [+] Processed 47 files (46610 messages) from 2017-04-16 22:02 to 2021-01-13 13:30 telegrust-histo 0.27s user 0.02s system 97% cpu 0.295 total