This repository has been archived by the owner on Oct 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathapp.json
79 lines (79 loc) · 3.4 KB
/
app.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "Tootbot",
"description": "Python tool for mirroring Reddit posts to Twitter and Mastodon",
"repository": "https://github.com/corbindavenport/tootbot",
"keywords": [
"tootbot",
"reddit",
"twitter",
"mastodon",
"python",
"bot"
],
"addons": [
{
"plan": "heroku-redis",
"options": {
"maxmemory_policy": "allkeys-lru"
}
}
],
"env": {
"POST_TO_TWITTER": {
"description": "Set this to 'true' if you want Tootbot to post to a Twitter account. You will need to enter API keys once the Heroku app is set up.",
"value": "false"
},
"POST_TO_MASTODON": {
"description": "Set this to 'true' if you want Tootbot to post to a Mastodon account. You will need to enter API keys once the Heroku app is set up.",
"value": "false"
},
"DELAY_BETWEEN_POSTS": {
"description": "Minimum delay between social media posts, in seconds. Default is '600'.",
"value": "600"
},
"POST_LIMIT": {
"description": "Minimum position of post on subreddit front page that the bot will look at. Default is '10'.",
"value": "10"
},
"SUBREDDIT_TO_MONITOR": {
"description": "Name of subreddit to take posts from, without the /r/ part. Multiple subreddits can be used like this: 'gaming+funny+news'",
"value": ""
},
"NSFW_POSTS_ALLOWED": {
"description": "Allow NSFW Reddit posts to be posted by the bot. NSFW media will be marked as sensitive on Mastodon, regardless of this setting. Default is 'false'.",
"value": "false"
},
"SPOILERS_ALLOWED": {
"description": "Allow Reddit posts marked as spoilers to be posted by the bot. Default is 'true'.",
"value": "true"
},
"SELF_POSTS_ALLOWED": {
"description": "Allow Reddit self posts to be posted by the bot. Default is 'true'.",
"value": "true"
},
"HASHTAGS": {
"description": "List of hashtags to be used on every post, separated by commas without # symbols (example: hashtag1, hashtag2). Leave this setting as 'false' if you don't want to use hashtags.",
"value": "false"
},
"MEDIA_POSTS_ONLY": {
"description": "Set the bot to only post Reddit posts that directly link to media. This is ideal for meme accounts and other media-only use cases. Default is 'false'.",
"value": "false"
},
"REDDIT_AGENT": {
"description": "The agent string for Reddit API access. You can create a Reddit application here: https://www.reddit.com/prefs/apps",
"value": ""
},
"REDDIT_SECRET": {
"description": "The client secret for Reddit API access. You can create a Reddit application here: https://www.reddit.com/prefs/apps",
"value": ""
},
"IMGUR_ID": {
"description": "The ID for Imgur API access. You can create an Imgur application here: https://api.imgur.com/oauth2/addclient",
"value": ""
},
"IMGUR_SECRET": {
"description": "The client secret for Imgur API access. You can create an Imgur application here: https://api.imgur.com/oauth2/addclient",
"value": ""
}
}
}