Skip to content
Generate statistics for Slack
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/com/dledmonds/slack
.gitignore
LICENSE
README.md
pom.xml
slack.properties

README.md

Slack Statistics

Overview

Create some lighthearted stats using Slack data to find out which users post the most and make the most use of @channel/@here notifications.

Usage

$ mvn clean package

At the same level as pom.xml create a slack.properties file with the following entries (substituting the <...> placeholders with your own data).

slack.token=<YOUR-TOKEN>

Run the report using the following command with optional CHANNEL-ID (default is all channels)

java -jar target/slack-statistics-1.0-SNAPSHOT-jar-with-dependencies.jar <CHANNEL-ID>

TODO

  • Handle message threads as separate messages
  • Remove messages from bots connected to a user
  • Stop treating join/leave channel notifications as messages
  • Parse out use of :ICON: tags to generate statistics on
  • Parse out @USER calls to generate statistics on
  • UserMessageCountPerDayProcessor is considering your earliest message in any slack channel, might be better to make it earliest in a specific channel (assuming X days spent in channel)
You can’t perform that action at this time.