-
Notifications
You must be signed in to change notification settings - Fork 98
/
app.json
99 lines (99 loc) · 3.21 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "NodeRSSBot",
"description": "Another Telegram RSSBot but in Node.js Telegram RSS 机器人",
"keywords": ["RSS", "Telegram", "Telegram Bot", "rssbot"],
"website": "https://rssbot.vercel.app",
"repository": "https://github.com/fengkx/NodeRSSBot",
"logo": "https://avatars.githubusercontent.com/u/73875367?s=200&v=4",
"addons": [
{
"plan": "heroku-postgresql",
"options": {
"version": "12"
}
}
],
"buildpacks": [
{
"url": "heroku/nodejs"
}
],
"formation": {
"web": {
"quantity": 0
},
"worker": {
"quantity": 1,
"size": "free"
}
},
"env": {
"RSSBOT_TOKEN": {
"description": "Telegram Bot Token from @BotFather",
"required": true
},
"DATABASE_URL": {
"description": "connection string of other c/s dbms",
"required": false
},
"RSSBOT_LANG": {
"value": "zh-cn",
"description": "default language for new user, fall back language for string without a corresponding translation",
"required": false
},
"RSSBOT_ITEM_NUM": {
"value": "10",
"description": "Send up to `item_num` messages at a time",
"required": false
},
"RSSBOT_FETCH_GAP": {
"value": "5m",
"description": "fetch_gap can be set in how many minutes or hours. m for minute, h for hour for example, 5m means every 5 minutes, 1h means every 1 hour.",
"required": false
},
"NOTIFY_ERR_COUNT": {
"value": "5",
"description": "How many consecutive errors in one feed will a warning be issued",
"required": false
},
"RSSBOT_VIEW_ALL": {
"description": "whether enable `/viewall` command",
"required": false
},
"RSSBOT_UA": {
"description": "user-agent header of the bot , version in default value is fetch from package.json",
"required": false
},
"RSSBOT_CONCURRENCY": {
"value": "200",
"description": "how many concurrency requests will be send in a batch",
"required": false
},
"PROXY_PROTOCOL": {
"description": "proxy protocol http/https/socks",
"required": false
},
"PROXY_HOST": {
"description": "proxy host",
"required": false
},
"PROXY_PORT": {
"description": "proxy port",
"required": false
},
"PGSSLMODE": {
"description": "fix PostgreSQL connection error on Heroku https://github.com/fengkx/NodeRSSBot/issues/363",
"value": "no-verify",
"rqeuired": false
},
"RSSBOT_RESP_TIMEOUT": {
"value": "40",
"description": "fetch request timeout",
"required": false
},
"RSSBOT_ALLOW_LIST": {
"description": "allow list by user id split by comma. You can get your userid by @userinfobot or @getidsbot",
"required": false
}
}
}