forked from gpchelkin/scdlbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
104 lines (104 loc) · 2.81 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
100
101
102
103
104
{
"name": "scdlbot",
"description": "Telegram Bot for downloading MP3 rips of tracks/sets from SoundCloud, Bandcamp, YouTube with tags and artwork",
"repository": "https://github.com/gpchelkin/scdlbot",
"logo": "https://raw.githubusercontent.com/gpchelkin/scdlbot/master/telegram_settings/setuserpic.jpg",
"keywords": [
"python",
"telegram",
"bot",
"soundcloud",
"bandcamp",
"youtube",
"mixcloud",
"yandex",
"audio",
"music",
"download"
],
"buildpacks": [
{
"url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest"
},
{
"url": "heroku/python"
}
],
"env": {
"TG_BOT_TOKEN": {
"description": "Telegram Bot API Token",
"required": true
},
"DL_DIR": {
"description": "Parent directory for downloads directories",
"value": "/tmp/scdlbot",
"required": false
},
"DL_TIMEOUT": {
"description": "Download timeout in seconds, stop downloading if it takes longer than allowed",
"value": "300",
"required": false
},
"NO_FLOOD_CHAT_IDS": {
"description": "Comma-separated chat IDs with no replying and caption hashtags",
"required": false
},
"ALERT_CHAT_IDS": {
"description": "Comma-separated chat IDs with no replying and caption hashtags",
"required": false
},
"BIN_PATH": {
"description": "Custom directory where scdl and bandcamp-dl binaries are available",
"required": false
},
"CHAT_STORAGE": {
"description": "Chat storage",
"value": "/tmp/scdlbotdata",
"required": false
},
"STORE_CHAT_ID": {
"description": "Chat ID for storing audios for inline mode",
"required": false
},
"COOKIES_FILE": {
"description": "HTTP or local path with cookies file for Yandex.Music",
"required": false
},
"MAX_CONVERT_FILE_SIZE": {
"description": "Don't try to split and send files over this number of bytes",
"value": "80_000_000",
"required": false
},
"HOSTNAME": {
"description": "Hostname to show in Syslog messages",
"value": "heroku",
"required": false
},
"SYSLOG_ADDRESS": {
"description": "Syslog server, for example: logsX.papertrailapp.com:55555",
"required": false
},
"SYSLOG_DEBUG": {
"description": "Set to 1 to enable verbose debug logging",
"value": "0",
"required": false
},
"USE_WEBHOOK": {
"description": "Use webhook for bot updates: 1, use polling (default): 0",
"value": "0",
"required": false
},
"APP_URL": {
"description": "Your host URL like https://scdlbot.herokuapp.com/, required for webhook mode",
"required": false
}
},
"formation": {
"web": {
"quantity": 0
},
"worker": {
"quantity": 1
}
}
}