Initial commit: Telegram Sticker Bot Manager

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
This commit is contained in:
coding
2026-03-25 08:59:38 +00:00
commit f634b884ec
12 changed files with 2708 additions and 0 deletions

7
.env.example Normal file
View File

@@ -0,0 +1,7 @@
# 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