Channel Wrapped banner

Channel Wrapped

9 devlogs
12h 16m 37s

Interesting statistics of your Slack channel in a graphic like Spotify Wrapped (less cool though)

This project uses AI

used ChatGPT for debugging but i didn’t vibe code this :heavysob:

Demo Repository

Loading README...

fsh

Shipped this project!

Hours: 12.28
Cookies: šŸŖ 192
Multiplier: 15.68 cookies/hr

I built a bot that generates Spotify Wrapped-inspired graphics with Slack channel statistics. Not perfect, and there’s more I want to add, but it works!

fsh
  • It generates an image now with canvas (based in rust)
  • Gets user name and pfp from the user ID
  • Notifies the user when i’m not in their private channel (it uses my user token)
  • Alerts the user when the wrap cannot complete
  • I plan to add smaller improvements soon
Attachment
3

Comments

shn
shn about 1 month ago

fih

fsh
fsh about 1 month ago

shh

rupnil.codes
rupnil.codes about 1 month ago

thats crazy ngl

fsh

The bot now calculates the most active month (by number of messages)
I planned to include support for huddles but there’s no API for that :(

Attachment
0
fsh

Bug fix: the message text did not change while it was loading.
Now it changes every few seconds, and the user can see it’s still working.

Attachment
0
fsh

The script now gets the top 3 reactions, and uses APIs to get the emoji PNGs. The PNGs will be important for the graphic later.

Attachment
0
fsh

The bot now calculates the top 3 people who sent messages in the channel.

Attachment
0
fsh

The bot now counts the number of messages sent by the user. This is also stored as a variable.

Attachment
0
fsh

The script counts the total number of messages in the channel during the last year. The number is stored in a variable, which I will add to the image generation script with the other data.

Attachment
0
fsh

This code generates the messages sent by the bot when it starts, while it generates the image, and when it finishes. I think the next step is to actually get the information from the channel.

Attachment
0