70 lines
3.2 KiB
Bash
70 lines
3.2 KiB
Bash
# Remove this line before deploying
|
|
_____REMOVE_THIS_LINE_____=True
|
|
|
|
# Please read this for filling instructions: https://github.com/SlamDevs/slam-mirrorbot#setting-up-config-file
|
|
|
|
# REQUIRED CONFIG
|
|
GITHUB_TOKEN = "" #GitHub Token, Don't Leak This Token, Or Your Account Will Be Compromised!, Keep It A Secret, Get Your Token From: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
|
|
GITHUB_ORG_NAME = "" #Your GitHub Organization Name
|
|
GITHUB_USER_NAME = "" #Your GitHub Username
|
|
GITHUB_DUMPER_REPO_NAME = "dumper" #Leave Untouched If You Have Forked My Repos
|
|
GITHUB_DUMMY_REPO_NAME = "dummy" #Leave Untouched If You Have Forked My Repos
|
|
TELEGRAM_CHANNEL_NAME = "" #Channel Tag Where Your Dumps Will Be Posted Example: @boxdumps
|
|
DUMPER_REPO_WORKFLOW_URL = "" #Example: https://github.com/box-automation1/dumper/actions
|
|
GITHUB_USER_EMAIL = "" #Email Of Your GitHub Account
|
|
BOT_TOKEN = ""
|
|
GDRIVE_FOLDER_ID = ""
|
|
OWNER_ID =
|
|
DOWNLOAD_DIR = "/usr/src/app/downloads"
|
|
DOWNLOAD_STATUS_UPDATE_INTERVAL = 8
|
|
AUTO_DELETE_MESSAGE_DURATION = 20
|
|
IS_TEAM_DRIVE = ""
|
|
TELEGRAM_API =
|
|
TELEGRAM_HASH = ""
|
|
# OPTIONAL CONFIG
|
|
DATABASE_URL = ""
|
|
AUTHORIZED_CHATS = "" # Split by space
|
|
SUDO_USERS = "" # Split by space
|
|
IGNORE_PENDING_REQUESTS = ""
|
|
USE_SERVICE_ACCOUNTS = ""
|
|
INDEX_URL = ""
|
|
STATUS_LIMIT = "" # 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 = ""
|
|
BLOCK_MEGA_LINKS = ""
|
|
STOP_DUPLICATE = ""
|
|
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 = "80" # Only For VPS even if IS_VPS is False
|
|
BASE_URL_OF_BOT = "" # 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 = ""
|
|
TAR_UNZIP_LIMIT = ""
|
|
CLONE_LIMIT = ""
|
|
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 = ""
|