-
Notifications
You must be signed in to change notification settings - Fork 555
/
app.json
80 lines (79 loc) · 3.14 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
{
"name": "Mega-Deployer",
"description": "Deploy the original Mega.nz-Bot",
"logo": "https://github.com/Itz-fork/Mega.nz-Bot/blob/nightly/assests/logo.png?raw=true",
"keywords": [
"Telegram Bot",
"Mega.nz",
"Cloud Storage",
"File Transfer",
"Deployment"
],
"website": "https://t.me/NexaBotsUpdates",
"repository": "https://github.com/Itz-fork/X-Bin-Patch",
"success_url": "https://t.me/NexaBotsUpdates",
"env": {
"APP_ID": {
"description": "Your unique Telegram APP ID, obtained from my.telegram.org",
"required": true
},
"API_HASH": {
"description": "Your Telegram API HASH, also acquired from my.telegram.org",
"required": true
},
"BOT_TOKEN": {
"description": "Your bot token. Obtain it from @BotFather on Telegram",
"required": true
},
"AUTH_USERS": {
"description": "A list of Telegram user IDs who are authorized to interact with your bot. Keep control over who can use its features. Separate IDs with spaces. For details, visit https://megabot.hirusha.codes/config-vars",
"required": true,
"value": "*"
},
"MONGO_URI": {
"description": "Optional: The connection string to your MongoDB database, if you wish to use multi-user feature",
"required": false
},
"LOG_CHAT": {
"description": "Optional: The chat ID where you want to receive user activity logs. Ensure the bot has admin privileges in this chat.",
"required": false
},
"MEGA_EMAIL": {
"description": "Optional: Your Mega account email address. Use this to associate the bot with a specific Mega account for private deployments.",
"required": false
},
"MEGA_PASSWORD": {
"description": "Optional: The password for your Mega account specified in MEGA_EMAIL.",
"required": false
},
"USE_ENV": {
"description": "Set this to 'true' if you're running a private bot with a single Mega account using MEGA_EMAIL and MEGA_PASSWORD.",
"required": false,
"value": "false"
},
"TG_MAX_SIZE": {
"description": "Optional: Customize the maximum file size (in bytes) that users can upload to Telegram through your bot. Defaults to Telegram's limit of 2GB.",
"required": false,
"value": "2040108421"
},
"CYPHER_KEY": {
"description": "A unique key for encrypting user email and password data in the database. It's highly recommended to generate a new key for security. For guidance, see https://megabot.hirusha.codes/config-vars",
"required": true,
"value": "rjthz12go4udR8CkoTLI0L8pk418PCBFT7KP8EuDIKM="
},
"CHUNK_SIZE": {
"description": "Optional: Adjust the amount of data (in bytes) that the bot reads into memory when downloading files from direct download links. This can impact performance and memory usage.",
"required": false,
"value": "524288"
}
},
"addons": [],
"buildpacks": [],
"formation": {
"worker": {
"quantity": 1,
"size": "eco"
}
},
"stack": "container"
}