Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Trey Del Bonis 42d10ea709 Added README.md. vor 2 Jahren
Pipfile Fixed Python version. vor 2 Jahren
Pipfile.lock Added service management things. vor 2 Jahren
README.md Added README.md. vor 2 Jahren
config.json Better filtering logic. vor 2 Jahren
install.sh Added service management things. vor 2 Jahren
main.py Skip files that are too large. vor 2 Jahren
mastoreddit-trigger.timer Added service management things. vor 2 Jahren
mastoreddit.service Fixed working dir in service. vor 2 Jahren

README.md

mastoreddit

You can mostly figure out how this works by looking at the config file.

{
  "token": "put-your-token-here",
  "hostname": "alpines.club",
  "subreddit": "snowboarding",
  "top_posts": 5,
  "min_score": 100,
  "skip_titles": ["daily discussion"]
}

Set MR_CONFIG to be the path to the config file and MR_RECENTS to be the path to another writable file to store a little bit of data about which posts it’s made recently.

Then you can have it run periodically with a systemd timer to search for new hot posts and relay them to the bot.