소스 검색

Added README.md.

master
Trey Del Bonis 2 년 전
부모
커밋
42d10ea709
1개의 변경된 파일21개의 추가작업 그리고 0개의 파일을 삭제
  1. 21
    0
      README.md

+ 21
- 0
README.md 파일 보기

@@ -0,0 +1,21 @@
# 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.

Loading…
취소
저장