Skip to content

notdedsec/Embed-Robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embed-Robot

A Telegram inline bot that generates embeds for video URLs from YouTube, Instagram, Twitter, TikTok, and many other platforms.

Quick Start

  1. Get a bot token from @BotFather
  2. Copy example.env to .env and add your BOT_TOKEN
  3. Run the bot:
uv run --upgrade main.py

Usage

Type @your_bot_name <video_url> in any Telegram chat to generate an embed.

Configuration

Edit .env file:

  • BOT_TOKEN: Your Telegram bot token (required)
  • YTDL_WORKERS: Comma-separated list of worker URLs (optional)
  • PO_TOKEN: YouTube po_token for enhanced access (optional)
  • COOKIES_BROWSER & COOKIES_PROFILE: Browser cookies for restricted content (optional)

Worker API

The project includes a Vercel-compatible worker API in the worker/ directory that can be deployed and used in YTDL_WORKERS to avoid rate limits.

Acknowledgments

About

Simple telegram bot for embedding videos from social media links using yt-dlp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages