-
Notifications
You must be signed in to change notification settings - Fork 5
/
app.json
295 lines (295 loc) · 10.1 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
{
"name": "Thunder-File-To-Link",
"description": "A Pyrogram-based Telegram bot for downloading and streaming Telegram files via the web.",
"keywords": [
"telegram",
"stream",
"web",
"pyrogram",
"aiohttp",
"python",
"plugin",
"modular",
"media",
"bot"
],
"repository": "https://github.com/fyaz05/FileToLink",
"success_url": "/",
"logo": "https://cdn.jsdelivr.net/gh/fyaz05/Resources@main/HydroStreamerBot/Thunder.jpg",
"env": {
"APP_NAME": {
"description": "The name of your Heroku app. This should match the app name provided during the Heroku app creation process."
},
"ENV": {
"description": "Set this to 'True' to prevent the bot from crashing.",
"value": "True"
},
"API_ID": {
"description": "Your API ID from https://my.telegram.org. Required for bot authentication.",
"example": "1234567"
},
"API_HASH": {
"description": "Your API hash from https://my.telegram.org. Required for bot authentication.",
"example": "abcdef1234567890abcdef1234567890"
},
"BOT_TOKEN": {
"description": "Token obtained from @BotFather for your primary bot client. Essential for running the bot.",
"example": "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11"
},
"DATABASE_URL": {
"description": "MongoDB URI used for storing user data. This is important for database features like user interactions.",
"example": "mongodb+srv://user:[email protected]/mydatabase"
},
"OWNER_ID": {
"description": "Your Telegram user ID, used to identify the main administrator.",
"example": "1234509"
},
"BIN_CHANNEL": {
"description": "Channel ID where media will be stored. Refer to the README for setup instructions.",
"example": "-1001234567890"
},
"OWNER_USERNAME": {
"description": "Your Telegram username without the '@' symbol.",
"example": "Thunder"
},
"PORT": {
"description": "The port for your web application. Default for Heroku is 8080, but ensure your app reads this value.",
"value": "8080",
"required": false
},
"SLEEP_THRESHOLD": {
"description": "The sleep time in seconds to handle flood waits. Optional and used for handling API rate limits.",
"required": false,
"example": "10"
},
"WORKERS": {
"description": "Number of worker threads to handle concurrent tasks. Tweak this for better performance based on your needs.",
"required": false,
"example": "4"
},
"NO_PORT": {
"description": "Set this to 'True' if you prefer not to expose the port publicly.",
"value": "False",
"required": false
},
"HAS_SSL": {
"description": "Set to 'True' if SSL is enabled, otherwise 'False'.",
"value": "True",
"required": false
},
"BIND_ADRESS": {
"description": "Custom bind address if needed. Leave empty for default Heroku settings.",
"required": false
},
"FQDN": {
"description": "Fully Qualified Domain Name if using a custom domain. Leave empty for Heroku defaults.",
"required": false
},
"NAME": {
"description": "Session name for the bot, helps in identification.",
"value": "Thunder-File-To-Link",
"required": false
},
"MULTI_TOKEN1": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN2": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN3": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN4": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN5": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN6": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN7": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN8": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN9": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN10": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN11": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN12": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN13": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN14": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN15": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN16": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN17": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN18": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN19": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN20": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN21": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN22": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN23": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN24": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN25": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN26": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN27": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN28": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN29": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN30": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN31": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN32": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN33": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN34": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN35": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN36": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN37": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN38": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN39": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN40": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN41": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN42": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN43": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN44": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN45": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN46": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN47": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN48": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
},
"MULTI_TOKEN49": {
"description": "Optional token for an additional bot client to increase speed.",
"required": false
}
},
"formation": {
"web": {
"quantity": 1
}
}
}