-
Notifications
You must be signed in to change notification settings - Fork 10
/
app.json
106 lines (106 loc) · 3.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
105
106
{
"name": "Python-Drive-Bot",
"description": "Telegram-Direct-Mirror to G-Drive",
"logo": "https://telegra.ph/file/e15e9ac9c5885b015e3ab.jpg",
"keywords": [
"telegram",
"bot",
"aria",
"python"
],
"repository": "https://github.com/AbirHasan2005/magneto-python-aria.git",
"website": "https://github.com/AbirHasan2005/magneto-python-aria/tree/main",
"success_url": "https://github.com/AbirHasan2005/magneto-python-aria/blob/main/README.md",
"stack": "container",
"env": {
"ENV": {
"description": "Setting this to ANYTHING will enable webhooks when in env mode",
"value": "ANYTHING"
},
"BOT_TOKEN": {
"description": "The telegram bot token that you get from @BotFather.",
"value": "",
"required": true
},
"GDRIVE_FOLDER_ID": {
"description": "This is the folder ID of the Google Drive Folder to which you want to upload all the mirrors.",
"value": "",
"required": true
},
"DOWNLOAD_DIR": {
"description": "The path to the local folder where the downloads should be downloaded to.",
"value": "/app/downloads",
"required": false
},
"DOWNLOAD_STATUS_UPDATE_INTERVAL": {
"description": "A short interval of time in seconds after which the Mirror progress message is updated. (I recommend to keep it 5 seconds at least).",
"value": "5",
"required":false
},
"OWNER_ID": {
"description": "The Telegram user ID (not username) of the owner of the bot.",
"value": "",
"required": true
},
"AUTO_DELETE_MESSAGE_DURATION": {
"description": "Interval of time (in seconds), after which the bot deletes it's message (and command message) which is expected to be viewed instantly. Note: Set to -1 to never automatically delete messages.",
"value": "20",
"required": false
},
"IS_TEAM_DRIVE": {
"description": "Set to 'True' if GDRIVE_FOLDER_ID is from a Team Drive else False or Leave it empty.",
"value": "",
"required": false
},
"USE_SERVICE_ACCOUNTS": {
"description": "Whether to use service accounts or not. For this to work see 'Using service accounts' section below.",
"value": "",
"required": false
},
"INDEX_URL": {
"description": "Refer to https://github.com/maple3142/GDIndex/ The URL should not have any trailing '/'.",
"value": "",
"required": false
},
"TELEGRAM_API": {
"description": "This is to authenticate to your telegram account for downloading Telegram files. You can get this from https://my.telegram.org DO NOT put this in quotes.",
"value": "",
"required": true
},
"TELEGRAM_HASH": {
"description": "This is to authenticate to your telegram account for downloading Telegram files. You can get this from https://my.telegram.org.",
"value": "",
"required": true
},
"TELEGRAPH_TOKEN": {
"description": "Open this link to generate telegraph token ==> https://telegraph-token.sonywegas.repl.run",
"value": "",
"required": false
},
"MEGA_API_KEY": {
"description": "To authenticate Mega.",
"value": "",
"required": false
},
"MEGA_EMAIL_ID": {
"description": "Mega Email.",
"value": "",
"required": false
},
"MEGA_PASSWORD": {
"description": "Mega Password.",
"value": "",
"required": false
},
"USER_SESSION_STRING": {
"description": "Open this link to generate session string ==> https://string-session.sonywegas.repl.run",
"value": "",
"required": true
}
},
"addons": [
{
"plan": "heroku-postgresql"
}
]
}