reactiflux/reactibot

Add daily/weekly/monthly scheduled post of top N posts from /r/reactjs

Closed this issue · 5 comments

vcarl commented

I think it'd be great to figure out how to more strongly relate these communities, pull in a stream of links and other shared materials from the subreddit into the Discord. I've had the thought of some kind of archive of point-in-time top links, think this might be a good way to do so

We can scrape from Reddit API pretty easily:
https://www.reddit.com/r/reactjs/top.json?sort=top&t=week

vcarl commented

This would probably be pretty easy to add with our existing scheduleTask helper, it could get posted into #ecosystem-news maybe

See examples of usage:

scheduleTask("scheduled message", interval, () => {
if (typeof message === "function") {
message(channel);
return;
}
channel.send({
...message,
allowedMentions: { users: [], roles: [] },
});
});

scheduleTask("expired post cleanup", FREQUENCY.hourly, () => {
deleteAgedPosts();
});

Here's a thought: RSS feeds for all the React/React Native newsletters + reddit + HN, post based on some threshold combination of score, # of sources it's been posted to, etc. Feels like we could get a very high-signal channel of resources that's auto-generated based on that style of curation

This would ~ replace #ecosystem-news, which has been kind of a failed channel. Nobody publishes to Discord reliably so it's not been a good source of signal

This is ~ the product swyx is building https://www.youtube.com/watch?v=9VcTbBce_eU

Resolved in #397, removed in #408 and moved to reactiflux/feeds