munar-plugin-reddit-feed
Munar plugin that posts about new Reddit posts.
Last updated 2 years ago by goto-bus-stop .
ISC · Original npm · Tarball · package.json
$ cnpm install munar-plugin-reddit-feed 
SYNC missed versions from official npm registry.

munar-plugin-reddit-feed

Munar plugin that posts about new Reddit posts.

Installation

npm install --save munar-plugin-reddit-feed

Usage

{
  "plugins": [
    ["reddit-feed", {
      // Subreddits to poll. Required.
      "subreddits": ["listentothis", "subredditsimulator"],

      // Channel to send new posts to. Required.
      "output": "slack:random",

      // Message template for new post notifications. "$property" is substituted
      // with the corresponding property on the reddit post object. Some
      // commonly useful examples:
      //   $subreddit - Name of the sub that this post was submitted to.
      //   $title - Post title.
      //   $author - Username of the submitter.
      //   $permalink - Link to the post, excluding "https://reddit.com/".
      //   $id - Post ID, for short links like "https://redd.it/$id".
      // Defaults to:
      "template": "[r/$subreddit] $title https://redd.it/$id",

      // Interval in seconds between polls. Defaults to 60 seconds.
      "interval": 60
    }]
  ]
}

License

ISC

Current Tags

  • 2.0.4                                ...           latest (2 years ago)

6 Versions

  • 2.0.4                                ...           2 years ago
  • 2.0.3                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |