Skip to content

darkbot v0.7.3

Choose a tag to compare

@github-actions github-actions released this 20 Nov 14:23
· 5 commits to main since this release

What's new

Statistics: 7, 30, 60 and 90 days with a separate history file

The statistics view now switches between this stream and the last 7,
30, 60 and 90 days. Up to a week the chart shows every hour; longer
ranges show one bar per day (hover for messages and chatters).

Storage stays small and the disk quiet:

  • Finished days move to stats-history.json, which is written only when
    a day ends. stats.json keeps today and the session, so a busy chat
    still only rewrites a few KB every few seconds. Files of v0.7.2 (seven
    days in stats.json) are moved over automatically.
  • Days older than a week keep only their 200 most active people. The
    top lists stay right; "chatters" over a long range is shown as "at
    least". The day's own chatter count is kept from before the cut.
  • Logins are only stored when they differ from the display name.

Measured with different chatters every day for 90 days: 50 a day 0.9 MB
memory and a 229 KB history file, 300 a day 3.6 MB / 910 KB, 1,000 a
day (the cap) 4.7 MB / 1.1 MB. Building the 90-day view takes ~10 ms.

Download

  • Windows 10/11: darkbot-windows-amd64.exe
  • macOS, Apple Silicon: darkbot-macos-arm64.app.zip
  • macOS, Intel: darkbot-macos-amd64.app.zip
  • Linux: darkbot-linux-amd64

Already installed? darkbot updates itself on the next start.

Full changelog: v0.7.2...v0.7.3