{"repo":"dheison0/telegram-downloader","free":true,"listed":false,"github":"https://github.com/dheison0/telegram-downloader","clone":"git clone https://github.com/dheison0/telegram-downloader.git","description":"Telegram bot for downloading files without a graphical session running","language":"Python","stars":19,"topics":["bot","docker","pyrogram","python","telegram-bot"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"[Pyrogram Framework]: [My Telegram]: [BotFather]: Telegram downloader This is a simple bot to download telegram files directly to your own server without needing to keep telegram open or using telegram-cli, this uses Telegram's MTProto protocol to download files up to 4GB using the [Pyrogram Framework]. Setup To setup this bot on your own server you'll need a Telegram API ID/Hash, it can be created at [My Telegram] website, do this before continue If you want to run this bot on a docker server follow Environment variables guide and then Docker install guide. Install dependencies To install all needed dependencies use pip: If you have any issue, try to install build-essentials in your system, the psutil lib sometimes needs to be builded locally. Environment variables Observation: This bot support dot files( .env ) Now that you've your own ID/Hash it has to be passed to TELEGRAM API ID and TELEGRAM API HASH environment variables, you also need to set the bot token(create one [here][BotFather]) as BOT TOKEN , and if you want to download files from channels that doesn't allow forwarding/copying content you need to set PHONE NUMBER with your number that is used on a telegram account that is allowed to access the content you want to download. The default download folder is /data , if you want to set another location define that as DOWNLOAD FOLDER , default session storage path is /config but it can be set by CONFIG FOLDER , this can be usefull for saving session across updates. You","default_branch":null,"files":null,"tree":[],"storefront":"/r/dheison0","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dheison0/telegram-downloader/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}