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

Reddit Support #14

Open
steven-tey opened this issue Aug 2, 2022 · 5 comments
Open

Reddit Support #14

steven-tey opened this issue Aug 2, 2022 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@steven-tey
Copy link
Contributor

steven-tey commented Aug 2, 2022

I've gotten a bunch of requests for Reddit support and I'm brainstorming how this would work.

I'm thinking of using something that streams comments from Reddit, something like https://github.com/rockets/demo but an NPM module.

Thoughts?

PRs welcome too! :)

@steven-tey steven-tey added enhancement New feature or request help wanted Extra attention is needed labels Aug 2, 2022
@amosbastian
Copy link

amosbastian commented Aug 8, 2022

There is https://github.com/MayorMonty/Snoostorm for streaming submissions / comments from Reddit if that's useful?

const client = new Snoowrap({
  ...
});

const comments = new CommentStream(client, {
  subreddit: "reactjs+nextjs",
  limit: 25,
  pollTime: 2000,
});
 
comments.on("item", (comment) => handleComment(comment));

@jatinsandilya
Copy link

@steven-tey Is there someone already on this issue or can I go ahead & take this one up?

@steven-tey
Copy link
Contributor Author

@amosbastian Ooooh interesting, thanks for sharing that!

And @jatinsandilya no one yet so feel free to take it up! :)

@amosbastian
Copy link

@jatinsandilya are you working on it?

@jatinsandilya
Copy link

@amosbastian The API's worked differently so I made a separate repo for it here: https://github.com/jatinsandilya/reddit-slack-bot but if you'd like to merge it here as a PR feel free to fork and use the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants