VERSION:1.2.0
Published 2 months ago by @platform-solutions
$ ops run @platform-solutions/
reddit

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