You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 562B

123456789101112131415161718192021
  1. # mastoreddit
  2. You can mostly figure out how this works by looking at the config file.
  3. ```
  4. {
  5. "token": "put-your-token-here",
  6. "hostname": "alpines.club",
  7. "subreddit": "snowboarding",
  8. "top_posts": 5,
  9. "min_score": 100,
  10. "skip_titles": ["daily discussion"]
  11. }
  12. ```
  13. Set `MR_CONFIG` to be the path to the config file and `MR_RECENTS` to be the
  14. path to another writable file to store a little bit of data about which posts
  15. it's made recently.
  16. Then you can have it run periodically with a systemd timer to search for new hot
  17. posts and relay them to the bot.