-
Notifications
You must be signed in to change notification settings - Fork 5
/
config_sample.env
269 lines (231 loc) · 13.3 KB
/
config_sample.env
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
# Remove this line before deploying
_____REMOVE_THIS_LINE_____=True
# RECOMMNED SETUP
## Setup only Required Config & DATABASE_URL
## Rest of variable can be setup using BOT by /bsetting command
# REQUIRED CONFIG
OWNER_ID = # @Username
BOT_TOKEN = "" # Bot Name API
GDRIVE_FOLDER_ID = "" # Drive / Folder name to remember
TELEGRAM_API =
TELEGRAM_HASH = ""
IS_TEAM_DRIVE = ""
DOWNLOAD_DIR = "/usr/src/app/downloads"
DOWNLOAD_STATUS_UPDATE_INTERVAL = 5
AUTO_DELETE_MESSAGE_DURATION = 60
AUTO_DELETE_UPLOAD_MESSAGE_DURATION = -1 # Minimum recommended 120
# OPTIONAL CONFIG
DATABASE_URL = ""
AUTHORIZED_CHATS = "" # Must be Started with -100xxxxxxx
SUDO_USERS = ""
IGNORE_PENDING_REQUESTS = ""
USE_SERVICE_ACCOUNTS = ""
INDEX_URL = "" # Must not end with /
STATUS_LIMIT = "4" # Recommended value 2
STOP_DUPLICATE = ""
CMD_INDEX = ""
UPTOBOX_TOKEN = ""
TORRENT_TIMEOUT = ""
EXTENSION_FILTER = ""
INCOMPLETE_TASK_NOTIFIER = ""
# TURN ON/OFF FUCTIONS
LEECH_ENABLED = "" # Default is False (only use by owner/sudo); Make it True (for authorized chats)
MIRROR_ENABLED = "" # Default is False (only use by owner/sudo); Make it True (for authorized chats)
WATCH_ENABLED = "" # Default is False (only use by owner/sudo); Make it True (for authorized chats)
CLONE_ENABLED = "" # Default is False (only use by owner/sudo); Make it True (for authorized chats)
ANILIST_ENABLED = "" # Default is False (only use by owner/sudo); Make it True (for authorized chats)
WAYBACK_ENABLED = "" # Default is False (only use by owner/sudo); Make it True (for authorized chats)
MEDIAINFO_ENABLED = "" # Default is False (only use by owner/sudo); Make it True (for authorized chats)
SET_BOT_COMMANDS = "" # Default is False
# Update
UPSTREAM_REPO = ""
UPSTREAM_BRANCH = ""
# PM SUPPORT
BOT_PM = "" # If this True any User can Enable/Disable BOT_PM by using Usetting
FORCE_BOT_PM = "" # NOTE: # For this the BOT_PM must be True
# If this True then NO User can Enable/Disable BOT_PM by using Usetting
# Leech
LEECH_LOG = "" # Must be Started with -100xxxxxxx
LEECH_LOG_URL = "" # Use Invite link for PUBLIC/PRIVATE Leech log
LEECH_LOG_INDEXING = "" # Default is False make it True if you want leech file indexing in leech log channel
# Mirror
MIRROR_LOGS = "" # Must be Started with -100xxxxxxx
MIRROR_LOG_URL = "" # Use Invite link for PUBLIC/PRIVATE Mirror log
LINK_LOGS = "" # Must be Started with -100xxxxxxx
# Other
TG_SPLIT_SIZE = "" # Each User can set its own using usetting
EQUAL_SPLITS = "" # Each User can Enable/Disable using usetting
AS_DOCUMENT = "" # Each User can Change Document/Media using usetting
PAID_SERVICE = "" # Default is False
TIMEZONE = "Asia/Kolkata" # Checkout for Different timezone list https://bit.ly/2JtQfVI
# Telegraph UI
TITLE_NAME = ""
AUTHOR_NAME = ""
AUTHOR_URL = ""
GD_INFO = ""
# Force Sub Channel
FSUB = ""
CHANNEL_USERNAME = ""
FSUB_CHANNEL_ID =
# qBittorrent
BASE_URL_OF_BOT = "" # Required to avoid sleeping of our depoyed apps
SERVER_PORT = ""
WEB_PINCODE = ""
QB_SEED = ""
# QUEUE SYSTEM NOTE: If you want to fill QUEUE_DOWNLOAD or QUEUE_UPLOAD, then QUEUE_ALL value must be greater than or equal to the greatest one and less than or equal to summation of QUEUE_UPLOAD and QUEUE_DOWNLOAD
QUEUE_ALL = "" # Number(int) of parallel tasks of downloads from (mega, telegram, yt-dlp, gdrive) + all uploads
QUEUE_DOWNLOAD = "" # Number(int) of parallel tasks of downloads from (mega, telegram, yt-dlp, gdrive)
QUEUE_UPLOAD = "" # Number(int) of all parallel uploading tasks
# RSS (DATABASE_URL is Necessary for Rss)
RSS_DELAY = "" # Default is 900
RSS_COMMAND = "" # Command for the desired action eg. /mirror or /leech
RSS_CHAT_ID = "" # Chat ID (Started with -100xxxxxxx) where rss links will be sent
USER_SESSION_STRING = "" # Use it for 4GB leeching
# Private Files
ACCOUNTS_ZIP_URL = "" # Recommended to use
TOKEN_PICKLE_URL = "" # Recommended to use
MULTI_SEARCH_URL = ""
YT_COOKIES_URL = ""
NETRC_URL = ""
# Mega
MEGA_API_KEY = ""
MEGA_EMAIL_ID = ""
MEGA_PASSWORD = ""
# Shortener
SHORTENER = "" # Seperate multiple shortner with space
SHORTENER_API = "" # Seperate multiple shortner API with space
# GDTOT COOKIE
CRYPT = ""
# UNIFIED LOGIN (AppDrive, DriveApp, GDFlix, DriveBit, DriveLinks, DriveSharer, DriveAce, DrivePro)
UNIFIED_EMAIL = ""
UNIFIED_PASS = ""
# HUBDRIVE COOKIES
HUBDRIVE_CRYPT = ""
# (KATDRIVE + KOLOP + DRIVEHUB) COOKIES
KATDRIVE_CRYPT = ""
# (DRIVEFIRE + DRIVEBUZZ) COOKIES
DRIVEFIRE_CRYPT = ""
# Limits
TOTAL_TASKS_LIMIT = "" # Limit Total Max Task At a time (int value)
USER_TASKS_LIMIT = "" # Limit User Max Task At a time (int value)
STORAGE_THRESHOLD = "" # Free Space that must be left in bot (int value without GB/MB)
TORRENT_DIRECT_LIMIT = "" # Limit the size of torrent download (int value without GB/MB)
ZIP_UNZIP_LIMIT = "" # Limit the size of Zip/Unzip (int value without GB/MB)
CLONE_LIMIT = "" # Limit the size of Clone (int value without GB/MB)
LEECH_LIMIT = "" # Limit the size of Leech (int value without GB/MB)
MEGA_LIMIT = "" # Limit the size of MEGA links (int value without GB/MB)
TIME_GAP = "-1" # Restrict User for accepting the consecutive link at a time (int value in seconds, -1 means no restriction)
# Progress Strings
FINISHED_PROGRESS_STR = '⬢' # '●' '■' # Get Any from https://coolsymbol.com
UN_FINISHED_PROGRESS_STR = ' ∘' # '○' '□'
# THEME
EMOJI_THEME = "" # Default is False
SHOW_LIMITS_IN_STATS = "" # Default is false
#VIEW STYLE
TELEGRAPH_STYLE = "" # Default is False
#BRANDING
CREDIT_NAME = ""
#DYNAMIC IMAGES
PICS = "" # Add multiple telgraph image links that are seperated by spaces
WALLFLARE_SEARCH = "" # Put Keyword to Download Images from wallpaperflare.com, Seperate Multiple Words by + instead of space, eg: attack+on+titan
WALLTIP_SEARCH = "" # Put Keyword to Download Images from wallpapertip.com, Seperate Multiple Words by - instead of space, eg: attack-on-titan
WALLCRAFT_CATEGORY = "" # Put Category Name, Available: 3D, abstract, animals, anime, art, black, cars, city, dark, fantasy, flowers, food, holidays, love, macro, minimalism, motorcycles, music, nature, others, milies, space, sport, technologies, textures, vector, words
PIXABAY_API_KEY = "" # Sign Up Pixabay.com and Get API Key to Automatically Add 200 Images in Photos List
PIXABAY_CATEGORY = "" # Put Category Name, Available: backgrounds, fashion, nature, science, education, feelings, health, people, religion, places, animals, industry, computer, food, sports, transportation, travel, buildings, business, music
PIXABAY_SEARCH = "" # Put Keyword to Download Images from Pixabay.com Limit : 100 characters
#FONT STYLE
NAME_FONT = "" # Default Name of File on Upload message, Available Options : b, code, i, u, strike, spoiler
CAPTION_FONT = "" # Default Caption of Leeched files, Available Options : b, code, i, u, strike, spoiler
# Buttons
DISABLE_DRIVE_LINK = ""
VIEW_LINK = ""
SOURCE_LINK = ""
DELETE_BTN = ""
BUTTON_FOUR_NAME = ""
BUTTON_FOUR_URL = ""
BUTTON_FIVE_NAME = ""
BUTTON_FIVE_URL = ""
START_BTN1_NAME = ""
START_BTN1_URL = ""
START_BTN2_NAME = ""
START_BTN2_URL = ""
# MIRROR RELATED : (Commands)
START_COMMAND = "" # Default is "start"
MIRROR_COMMAND = "" # Default is "mirror"
ZIP_COMMAND = "" # Default is "zipmirror"
UNZIP_COMMAND = "" # Default is "unzipmirror"
CANCEL_COMMAND = "" # Default is "cancel"
LIST_COMMAND = "" # Default is "list"
SEARCH_COMMAND = "" # Default is "search"
STATUS_COMMAND = "" # Default is "status"
STATS_COMMAND = "" # Default is "stats"
HELP_COMMAND = "" # Default is "help"
CLONE_COMMAND = "" # Default is "clone"
COUNT_COMMAND = "" # Default is "count"
YTDL_COMMAND = "" # Default is "ytdl"
YTDLZIP_COMMAND = "" # Default is "ytdlzip"
QBMIRROR_COMMAND = "" # Default is "qbmirror"
QBZIP_COMMAND = "" # Default is "qbzipmirror"
QBUNZIP_COMMAND = "" # Default is "qbunzipmirror"
BTSELECT_COMMAND = "" #Deafault is "btsel"
# LEECH RELATED : (Commands)
LEECH_COMMAND = "" # Default is "leech"
LEECHSET_COMMAND = "" # Default is "leechset"
SETTHUMB_COMMAND = "" # Default is "setthumb"
UNZIPLEECH_COMMAND = "" # Default is "unzipleech"
ZIPLEECH_COMMAND = "" # Default is "zipleech"
QBLEECH_COMMAND = "" # Default is "qbleech"
QBUNZIPLEECH_COMMAND = "" # Default is "qbunzipleech"
QBZIPLEECH_COMMAND = "" # Default is "qbzipleech"
YTDLLEECH_COMMAND = "" # Default is "ytdlleech"
YTDLZIPLEECH_COMMAND = "" # Default is "ytdlleechzip"
# SUDO COMMANDS
AUTH_COMMAND = "" # Default is "authorize"
UNAUTH_COMMAND = "" # Default is "unauthorize"
ADDSUDO_COMMAND = "" # Default is "addsudo"
RMSUDO_COMMAND = "" # Default is "rmsudo"
RESTART_COMMAND = "" # Default is "restart"
SPEED_COMMAND = "" # Default is "speedtest"
USERS_COMMAND = "" # Default is "users"
PAID_COMMAND = "" # Default is "paid"
ADDPAID_COMMAND = "" # Default is "addpaid"
RMPAID_COMMAND = "" # Default is "rmpaid"
CANCEL_ALL_COMMAND = "" # Default is "cancelall
LOG_COMMAND = "" # Default is "log"
DELETE_COMMAND = "" # Default is "del"
USAGE_COMMAND = "" # Default is "usage"
RSSLIST_COMMAND = ""
RSSGET_COMMAND = ""
RSSSUB_COMMAND = ""
RSSUNSUB_COMMAND = ""
RSSSET_COMMAND = ""
SHELL_COMMAND = ""
EXEHELP_COMMAND = ""
# EXTRA COMMANDS
SCRAPE_COMMAND = "" # Default is "scrape"
PING_COMMAND = "" # Default is "ping"
SPEEDTEST_COMMAND = "" # Default is "speedtest"
MEDIAINFO_COMMAND = "" # Default is "mediainfo"
HASH_COMMAND = "" # Default is "hash"
WAYBACK_COMMAND = "" # Default is "wayback"
BOT_SETTING = "" # Default is "bsetting"
USERSET_COMMAND = "" # Default is "usetting"
# TORRENT SEARCH
SEARCH_API_LINK = ""
SEARCH_LIMIT = ""
SEARCH_PLUGINS = '["https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/rarbg.py",
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/piratebay.py",
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/legittorrents.py",
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/limetorrents.py",
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/torrentscsv.py",
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/zooqle.py",
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/eztv.py",
"https://raw.githubusercontent.com/MaurizioRicci/qBittorrent_search_engines/master/kickass_torrent.py",
"https://raw.githubusercontent.com/MaurizioRicci/qBittorrent_search_engines/master/yts_am.py",
"https://raw.githubusercontent.com/MadeOfMagicAndWires/qBit-plugins/master/engines/linuxtracker.py",
"https://raw.githubusercontent.com/MadeOfMagicAndWires/qBit-plugins/master/engines/nyaasi.py",
"https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/ettv.py",
"https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/glotorrents.py",
"https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/thepiratebay.py",
"https://raw.githubusercontent.com/nindogo/qbtSearchScripts/master/magnetdl.py",
"https://raw.githubusercontent.com/khensolomon/leyts/master/yts.py"]'