-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_sample.env
56 lines (56 loc) · 2.58 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
# REQUIRED CONFIG
BOT_TOKEN = "5396374484:AAE70oVNgDIRe8n_bFFdeAFY3c0cUof9IWE"
GDRIVE_FOLDER_ID = "0AFgwchtN1vLNUk9PVA"
OWNER_ID = 1936548626
DOWNLOAD_DIR = "/usr/src/app/downloads"
DOWNLOAD_STATUS_UPDATE_INTERVAL = 8
AUTO_DELETE_MESSAGE_DURATION = 20
IS_TEAM_DRIVE = "True"
TELEGRAM_API = 9010331
TELEGRAM_HASH = "4bdcf833e7c72ff3dced11146226eb62"
# OPTIONAL CONFIG
DATABASE_URL = "postgres://oflhdgne:[email protected]/oflhdgne"
AUTHORIZED_CHATS = "" # Split by space
SUDO_USERS = "1936548626 1124027085" # Split by space
IGNORE_PENDING_REQUESTS = "True"
USE_SERVICE_ACCOUNTS = "True"
INDEX_URL = "https://tnufl.vnit.workers.dev/0:"
STATUS_LIMIT = "4" # Recommended limit is 4
# Leech
TG_SPLIT_SIZE = "" # leave it empty for max size (2GB)
AS_DOCUMENT = ""
UPTOBOX_TOKEN = ""
MEGA_API_KEY = ""
MEGA_EMAIL_ID = ""
MEGA_PASSWORD = ""
BLOCK_MEGA_FOLDER = "True"
BLOCK_MEGA_LINKS = "True"
STOP_DUPLICATE = "True"
RECURSIVE_SEARCH = "" # Fill True or False to search in sub-folders or not (only for shared-drive ID or root, you can't use it with folder ID)
SHORTENER = ""
SHORTENER_API = ""
# qBittorrent
IS_VPS = "" # Don't set this to True even if you're using VPS, unless facing error with web server
SERVER_PORT = "97" # Only For VPS even if IS_VPS is False
BASE_URL_OF_BOT = "104.208.104.245:97" # Web Link, Required for Heroku to avoid sleep or use worker if you don't want to use web (selection)
# If you want to use Credentials externally from Index Links, fill these vars with the direct links
# These are optional, if you don't know about them, simply leave them empty
ACCOUNTS_ZIP_URL = ""
TOKEN_PICKLE_URL = ""
MULTI_SEARCH_URL = "" # You can use gist raw link (remove commit id from the link, like config raw link check Heroku guide)
# To use limit leave space between number and unit. Available units are (gb or GB, tb or TB)
TORRENT_DIRECT_LIMIT = "20 gb"
TAR_UNZIP_LIMIT = "20 gb"
CLONE_LIMIT = "50 tb"
MEGA_LIMIT = ""
# View Link button to open file Index Link in browser instead of direct download link
# You can figure out if it's compatible with your Index code or not, open any video from you Index and check if its URL ends with ?a=view, if yes make it True it will work (Compatible with Bhadoo Drive Index)
VIEW_LINK = ""
# Add more buttons (Three buttons are already added including Drive Link, Index Link, and View Link, you can add extra buttons too, these are optional)
# If you don't know what are below entries, simply leave them empty
BUTTON_FOUR_NAME = ""
BUTTON_FOUR_URL = ""
BUTTON_FIVE_NAME = ""
BUTTON_FIVE_URL = ""
BUTTON_SIX_NAME = ""
BUTTON_SIX_URL = ""