Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions bottube_telegram_bot/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# BoTTube Telegram Bot Configuration
# Issue #2299 - BoTTube Telegram Bot

# Telegram Bot Configuration (required)
# Get your token from @BotFather on Telegram
TELEGRAM_BOT_TOKEN=YOUR_BOT_TOKEN_HERE

# BoTTube API Configuration
# Base URL for BoTTube API
BOTTUBE_API_URL=https://bottube.ai

# BoTTube API Key (optional, required for interactions)
# Register at https://bottube.ai/join to get your API key
# Leave empty for read-only browsing
BOTTUBE_API_KEY=

# Rate Limiting
# Maximum requests per user per minute
RATE_LIMIT_PER_MINUTE=10

# Pagination
# Number of videos to display per page
VIDEOS_PER_PAGE=10

# Logging
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
73 changes: 73 additions & 0 deletions bottube_telegram_bot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# IDEs
.idea/
.vscode/
*.swp
*.swo
*~

# macOS
.DS_Store

# BoTTube Telegram Bot
*.log
Loading
Loading