-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
52 lines (46 loc) · 1.54 KB
/
.env.example
File metadata and controls
52 lines (46 loc) · 1.54 KB
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
TG_SERVER=http://telegram-bot-api:8081
TELEGRAM_API_ID=1234567
TELEGRAM_API_HASH=abc123
DB_URL=postgresql://postgres:postgres@db/ttbot-db
# tt-bot
BOT_TOKEN=12345:abcde
ADMIN_IDS=[1234567]
# SECOND_IDS=[1234567]
JOIN_LOGS=-1234567
STORAGE_CHANNEL_ID=12345
# Instagram RapidAPI settings
RAPIDAPI_KEY=abcde12345fgh67890ijklmnopqrstu
# API settings
BOTSTAT=abcdefg12345
MONETAG_URL=https://example.com/your-monetag-link/
# stats-bot
STATS_BOT_TOKEN=12345:abcde
STATS_IDS=[-1234567]
STATS_CHAT=-1234567
STATS_MESSAGE_ID=23
DAILY_STATS_MESSAGE_ID=24
# Logging settings (optional)
# LOG_LEVEL=INFO # Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
# yt-dlp settings (optional)
YTDLP_COOKIES=cookies.txt
# Proxy settings (load balancing with multiple proxies)
# Path to file with proxy list (one proxy URL per line)
PROXY_FILE=proxies.txt
# Use proxy only for TikTok API requests, not for media downloads
# PROXY_DATA_ONLY=false
# Include host machine's direct IP in round-robin rotation
# PROXY_INCLUDE_HOST=false
# Retry settings - 3-part retry strategy with proxy rotation
# Part 1: URL resolution retries (short URLs to full URLs)
URL_RESOLVE_MAX_RETRIES=3
# Part 2: Video info extraction retries (metadata)
VIDEO_INFO_MAX_RETRIES=3
# Part 3: Download retries (video/images/audio)
DOWNLOAD_MAX_RETRIES=3
# Limits (optional, 0 = no limit)
# Max concurrent videos per user in queue
MAX_USER_QUEUE_SIZE=0
# Use streaming for videos longer than this (seconds, 0 = never stream)
STREAMING_DURATION_THRESHOLD=300
# Maximum video duration in seconds (0 = no limit)
MAX_VIDEO_DURATION=0