Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archive starred messages from a slack channel #104

Open
4 tasks
tathagata opened this issue Mar 27, 2019 · 7 comments
Open
4 tasks

Archive starred messages from a slack channel #104

tathagata opened this issue Mar 27, 2019 · 7 comments
Labels

Comments

@tathagata
Copy link

tathagata commented Mar 27, 2019

As a slack user
In order to save messages that are perceived higher value (indicated by votes/reaction etc.)
I would like them to be persisted to a storage like s3.

followup story:

A static html web page that renders the stored messages.

Acceptance test cases

Given an slack channel
when busybeaver-archiver-job runs on its daily schedule
then the contents of valuable messages are persisted to a storage

Spike:

  • Define valuable
  • Are threads useful
  • Some users might not be comfortable with this (despite the fact that this is on an open forum). Do we need to address that
  • Storage - any other option than s3? I'd guess this would be a json response from slack api, and to begin with it could just keep appending to a single file that gets rendered with html/css from a static page. Thinking mvp, and not about sharding ;)
@alysivji
Copy link
Member

I do not like the idea of constantly listening to all Slack conversations. I would prefer a batch process where we collect old messages every x timedelta

@tathagata
Copy link
Author

sorry if it was not clear - that is definitely what I meant, scheduled job that runs on a particular frequency.

@alysivji
Copy link
Member

alysivji commented Jun 8, 2019

We can set up a slack-event-subscription for star_added and star_removed and throw that into a database somewhere to be read later.

https://api.slack.com/events-api

@manesioz
Copy link

Any updates on this?

@alysivji
Copy link
Member

@manesioz Would love some help getting this feature into Busy Beaver!

@manesioz
Copy link

@alysivji I'd love to help out! I'll read more about your architecture and open up a PR once I make some head-way, thanks.

@alysivji
Copy link
Member

Awesome! Ping me if you need a hand getting started!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants