Features: - Create and manage sticker packs - Add existing sticker sets to database - Automatic image optimization (512px, WebP conversion) - GIF to animated video sticker conversion (WebM, VP9) - Background removal (local rembg + optional Remove.bg API) - Hybrid API with retry logic and usage tracking - Premium status detection - SQLite database for persistence - Docker containerization - Complete OPENCODE.md documentation Technical Stack: - python-telegram-bot 22.7 - Pillow for image processing - FFmpeg for video conversion - rembg for local background removal - aiosqlite for async database operations
7 lines
273 B
Plaintext
7 lines
273 B
Plaintext
# Telegram Sticker Bot Configuration
|
|
BOT_TOKEN=your_bot_token_here
|
|
OWNER_ID=your_telegram_user_id_here
|
|
|
|
# Optional: Remove.bg API Key for background removal
|
|
# If not set, only local processing is available (50 free calls/month)
|
|
REMOVE_BG_API_KEY=your_remove_bg_api_key_here |