Skip to content

Instantly share code, notes, and snippets.

@RubanDurai
Created September 2, 2021 07:21
Show Gist options
  • Save RubanDurai/281686e5867bfa2805fd9e0fcdcf6958 to your computer and use it in GitHub Desktop.
Save RubanDurai/281686e5867bfa2805fd9e0fcdcf6958 to your computer and use it in GitHub Desktop.
# Remove this line before deploying
# REQUIRED CONFIG
BOT_TOKEN = "1864675579:AAFuz4_58c9Y1-qE06gulY8qVlYwuEGBuKE"
GDRIVE_FOLDER_ID = "1YRCjWVYzQDcpBqWEoR5ejV0tjpBeSDvK"
OWNER_ID = 1389078939
DOWNLOAD_DIR = "/usr/src/app/downloads"
DOWNLOAD_STATUS_UPDATE_INTERVAL = 5
AUTO_DELETE_MESSAGE_DURATION = -1
IS_TEAM_DRIVE = "true"
TELEGRAM_API = 6596420
TELEGRAM_HASH = "d052e942057719c009374ea083a1a57d"
# OPTIONAL CONFIG
DATABASE_URL = ""
AUTHORIZED_CHATS = "1389078939 -1001572566466" # Split by space
SUDO_USERS = "" # Split by space
IGNORE_PENDING_REQUESTS = ""
USE_SERVICE_ACCOUNTS = ""
INDEX_URL = "https://tnrockers.tnrockers.workers.dev/0:/TN%20MIRROR%202%20%E2%9A%A1/"
STATUS_LIMIT = "" # Recommend limit status to 4 tasks
UPTOBOX_TOKEN = ""
MEGA_API_KEY = "uUsSnT7a"
MEGA_EMAIL_ID = ""
MEGA_PASSWORD = ""
BLOCK_MEGA_FOLDER = ""
BLOCK_MEGA_LINKS = ""
STOP_DUPLICATE = ""
SHORTENER = ""
SHORTENER_API = ""
# qBittorrent
IS_VPS = "" # Don't set this to True even if VPS, unless facing error with web server
SERVER_PORT = "80" # Only if IS_VPS is True
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, simply leave them, don't fill anything in them.
ACCOUNTS_ZIP_URL = ""
TOKEN_PICKLE_URL = "https://tnrockers.tnrockers.workers.dev/0:/TN%20MIRROR%202%20%E2%9A%A1//token.pickle"
# To use limit leave space between number and unit. Available units is (gb or GB, tb or TB)
TORRENT_DIRECT_LIMIT = ""
TAR_UNZIP_LIMIT = ""
CLONE_LIMIT = ""
MEGA_LIMIT = ""
# Required for Heroku
HEROKU_API_KEY = "48d306e7-055e-4844-a926-139806ccce5c"
HEROKU_APP_NAME = "tnrockersmirror"
# 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 the END of link from browser link bar is ?a=view, if yes make it "True" it will work (Compatible with Bhadoo Index Code)
VIEW_LINK = ""
# Add more buttons (Three buttons are already added of 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, Don't fill anything in them.
BUTTON_FOUR_NAME = ""
BUTTON_FOUR_URL = ""
BUTTON_FIVE_NAME = ""
BUTTON_FIVE_URL = ""
BUTTON_SIX_NAME = ""
BUTTON_SIX_URL = ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment