Skip to content

A DevOps (Ops Platform) op to quickly get posts from Reddit in your terminal window or Slack

Notifications You must be signed in to change notification settings

stephencawood/reddit_op

Repository files navigation

Reddit Posts Op for CTO.ai Ops CLI

Quickly get posts from Reddit in your terminal window or Slack app. The default is World News, but you can change it (in the command-line) to any subreddit by providing the sub name (no need to add "r/").

Installation

The Reddit posts Op runs on the CTO.ai Ops CLI. First install the Ops Platform CLI from CTO.ai: https://cto.ai

npm i @cto.ai/ops
ops run @cawood/reddit <subredditName>

Add the Op to your team and you can run

ops run reddit <subredditName>

Sample Output

🌍 Climate change deniers robbing Australia of time to respond to impacts, Australian Science Minister warns https://www.abc.net.au/news/2020-01-15/cabinet-ministers-karen-andrews-climate-change-time-wasters/11868694

🥋 Yesterday I got my Purple Belt https://www.reddit.com/r/bjj/comments/exv29b/yesterday_i_got_my_purple_beltch/

Potential Updates

  • add the subreddit parameter to Slack

About

A DevOps (Ops Platform) op to quickly get posts from Reddit in your terminal window or Slack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published