# TGyD0 **Repository Path**: lnroboczy/TGyD0 ## Basic Information - **Project Name**: TGyD0 - **Description**: No description available - **Primary Language**: Unknown - **License**: Unlicense - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-17 - **Last Updated**: 2021-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # YtbDownBot Telegram bot that utilize youtube-dl functionality for downloading video directly to telegram. Simple clone of https://t.me/VideoTubeBot. # Deploy to ibm cloud [![Deploy to IBM Cloud](https://cloud.ibm.com/devops/setup/deploy/button.png)](https://cloud.ibm.com/devops/setup/deploy?repository=https://github.com/bnsave100/TGyD0&branch=master) # Dependencies Install `ffmpeg`, `mediainfo` and `python3`. Python3 dependencies install via `pip3 install -r requirements.txt` # Running For running required phone number for bypassing telegram bot api upload files limitation to 50 MB. Set the following enviroment variables: 1. Bot token(from Bot Father): `BOT_API_TOKEN` 2. Chat id between bot and agent (regular client with phone number for bypass limit in 50MB): `BOT_AGENT_CHAT_ID` 3. Chat id between agent(regular client with phone number for bypass limit in 50MB) and bot: `CHAT_WITH_BOT_ID` 4. Api id (https://core.telegram.org/api/obtaining_api_id): `API_ID` 5. Api hash (https://core.telegram.org/api/obtaining_api_id): `API_HASH` 6. Telegram client session string for telethon StringSession: `CLIENT_SESSION` Note: for deploying webhook branch you must set also webhook url via calling `https://api.telegram.org/bot/setWebhook?url=` (`webhook-url` path is `bot_domanin+/bot` like `mybot.com/bot`) Use master branch if you want to use polling instead. Build by: `go build` Run by: `./YtbDownBot`