burn / README.md
mrpoddaa's picture
Upload 7 files
3710155 verified
|
Raw
History Blame Contribute Delete
1.59 kB
metadata
title: MoviePluz Pipeline Bot
emoji: 🎬
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false

MoviePluz Pipeline Bot

Telegram bot that triggers the full subtitle burn pipeline directly on this HuggingFace Space.

Setup

1. Add Secrets (Settings β†’ Repository secrets)

Secret Value
BOT_TOKEN Your Telegram bot token
LOG_CHAT_ID Log channel (e.g. @MoviePluzLogsChannel)
CHAT_ID File store channel (e.g. @MoviePluzFileStoreChannel)
API_ID Telegram API ID
API_HASH Telegram API hash
SESSION_CODE Pyrogram session string
ABYSS_API_KEY Abyss.to API key
ALLOWED_USER_IDS Comma-separated Telegram user IDs allowed to trigger (leave empty to allow all)

2. Register the Telegram Webhook

After the Space is running, open this URL once in your browser:

https://YOUR-SPACE-NAME.hf.space/set_webhook?url=https://YOUR-SPACE-NAME.hf.space/webhook

3. Use the bot

Send /start to your bot β†’ pipeline runs automatically.

Commands

Command Description
/start Fetch next movie from API and run full pipeline
/status Check if pipeline is currently running
/help Show help message

Pipeline Flow

  1. Fetch movie details from trigger-bot.s-dulaksha-com.workers.dev/get-movie
  2. Download source video
  3. burn_1080 β€” encode 1080p with Sinhala subtitles burned in
  4. plain_all β€” encode 1080p/720p/480p plain (no subs) and upload
  5. downscale_upload β€” downscale burned 1080p β†’ 720p/480p, Abyss upload, post final JSON