-
-
Notifications
You must be signed in to change notification settings - Fork 172
/
app.json
178 lines (178 loc) · 6.53 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
{
"name": "Mirrorbot137 ",
"description": "A Telegram Mirror bot",
"logo": "https://telegra.ph/file/3c4237dd056fcc3ed36d4.jpg",
"keywords": [
"bot",
"telegram",
"python",
"mirror"
],
"repository": "https://github.com/rahulkhatri137/mirrorbot137",
"success_url": "https://github.com/rahulkhatri137/mirrorbot137/blob/master/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.",
"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.",
"required": true
},
"DOWNLOAD_DIR": {
"description": "The path to the local folder where the downloads should be downloaded to.",
"value": "/home/RK137/mirror-bot/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 of the Owner of the Bot. Get it by using /info in @MissRose_bot.",
"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": "-1",
"required": true
},
"IS_TEAM_DRIVE": {
"description": "Set to 'True' if GDRIVE_FOLDER_ID is from a Team Drive else False or Leave it empty.",
"required": false
},
"USE_SERVICE_ACCOUNTS": {
"description": "Whether to use service accounts or not. For this to work see 'Using service accounts' in repo.",
"required": false
},
"AUTHORIZED_CHATS": {
"description": "Fill Chat ID you want to authorize.",
"required": false
},
"LOGS_CHATS": {
"description": "Fill Chat ID you want all files as backup.",
"required": false
},
"BOT_PM": {
"description": "Set to True if you want bot to send files to PM.",
"value": "False",
"required": false
},
"SUDO_USERS": {
"description": "Fill User ID you want to authorize.",
"required": false
},
"INDEX_URL": {
"description": "Refer to https://github.com/rahulkhatri137/GDIndex/ The URL should not have any trailing '/'.",
"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.",
"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.",
"required": true
},
"UPTOBOX_TOKEN": {
"description": "Uptobox premium token to mirror uptobox links. Get it from https://uptobox.com/my_account.",
"required": false
},
"MEGA_KEY": {
"description": "Mega.nz api key to mirror mega.nz links. Get it from https://mega.nz/sdk.",
"required": false
},
"MEGA_USERNAME": {
"description": "Your email id you used to sign up on mega.nz.",
"required": false
},
"MEGA_PASSWORD": {
"description": "Your password for your mega.nz account.",
"required": false
},
"BLOCK_MEGA_LINKS": {
"description": "If you want to remove mega.nz mirror support, set it to True.",
"required": false
},
"IGNORE_PENDING_REQUESTS": {
"description": "Set Ignore pending requests after restart. Default is `False`. `Bool`.",
"value": "True",
"required": false
},
"CLONE_LIMIT": {
"description": "To limit the size of Google Drive folder/file which you can clone. Don't add unit. Default unit is `GB`.",
"required": false
},
"STOP_DUPLICATE_CLONE": {
"description": "If this field is set to True, bot will check file in drive, if it is present in drive, downloading will be stopped.",
"value": "True",
"required": false
},
"SHORTENER": {
"description": "If you want to use shortener in Gdrive and index link.",
"required": false
},
"SHORTENER_API": {
"description": "Fill your shortener api key if you are using shortener.",
"required": false
},
"CUSTOM_FILENAME": {
"description": "Add custom word to leeched file name.",
"required": false
},
"AS_DOCUMENT": {
"description": "Default type of Telegram file upload. Default is `False` mean as media. `Bool`",
"required": false
},
"TG_SPLIT_SIZE": {
"description": "Size of split in bytes. Default is `2GB`.",
"required": false
},
"RECURSIVE_SEARCH": {
"description": "T/F And Fill drive_folder File Using Driveid.py Script.",
"required": false
},
"CRYPT": {
"description": "Cookie for gdtot google drive link generator.",
"required": false
},
"TOKEN_PICKLE_URL": {
"description": "Load your token.pickle externally from an Index Link. Fill this with the direct link of that file.",
"required": false
},
"DATABASE_URL": {
"description": "Your SQL Database URL.",
"required": false
},
"BUTTON_THREE_NAME": {
"description": "Extra buttons (optional).",
"required": false
},
"BUTTON_THREE_URL": {
"description": "Fill your URL if you are using extra buttons.",
"required": false
},
"BUTTON_FOUR_NAME": {
"description": "Extra buttons (optional).",
"required": false
},
"BUTTON_FOUR_URL": {
"description": "Fill your URL if you are using extra buttons.",
"required": false
},
"BUTTON_FIVE_NAME": {
"description": "Extra buttons (optional).",
"required": false
},
"BUTTON_FIVE_URL": {
"description": "Fill your URL if you are using extra buttons.",
"required": false
}
}
}