{"id":20322239,"url":"https://github.com/sudor2spr/op-file-to-link-bot","last_synced_at":"2025-04-11T19:12:00.034Z","repository":{"id":215310663,"uuid":"738626626","full_name":"SudoR2spr/Op-FILE-TO-LINK-Bot","owner":"SudoR2spr","description":"A Telegram bot to turn all media and documents files to instant direct download and stream link @SudoR2spr","archived":false,"fork":false,"pushed_at":"2024-02-21T15:10:08.000Z","size":64,"stargazers_count":9,"open_issues_count":5,"forks_count":23,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T15:06:44.627Z","etag":null,"topics":["file-to-link-bot","pyrogram-bot","python-3","python3","telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/Opleech_WD","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SudoR2spr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-03T16:59:54.000Z","updated_at":"2024-09-24T02:17:47.000Z","dependencies_parsed_at":"2024-01-03T18:23:53.973Z","dependency_job_id":"34a9fd59-3455-47e6-a7b7-591f8d4b5bfb","html_url":"https://github.com/SudoR2spr/Op-FILE-TO-LINK-Bot","commit_stats":null,"previous_names":["sudor2spr/op-file-to-link-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudoR2spr%2FOp-FILE-TO-LINK-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudoR2spr%2FOp-FILE-TO-LINK-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudoR2spr%2FOp-FILE-TO-LINK-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudoR2spr%2FOp-FILE-TO-LINK-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SudoR2spr","download_url":"https://codeload.github.com/SudoR2spr/Op-FILE-TO-LINK-Bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465345,"owners_count":21108244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file-to-link-bot","pyrogram-bot","python-3","python3","telegram-bot"],"created_at":"2024-11-14T19:19:54.894Z","updated_at":"2025-04-11T19:12:00.013Z","avatar_url":"https://github.com/SudoR2spr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- RAINBOW LINE TOP --\u003e\n\u003cimg src=\"https://github.com/SudoR2spr/SudoR2spr/raw/main/assets/line-neon.gif\" width=\"100%\"\u003e\n\n\u003c!-- GIF HEADER --\u003e\n\u003cimg src=\"https://github.com/SudoR2spr/SudoR2spr/raw/main/assets/banner-header.gif\"\u003e\n\u003cimg src=\"https://github.com/SudoR2spr/SudoR2spr/raw/main/assets/line-neon.gif\" width=\"100%\"\u003e\n\n\n[![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code\u0026pause=1000\u0026color=4250F7\u0026background=FF512800\u0026center=true\u0026vCenter=true\u0026width=435\u0026lines=%F0%9D%90%96%F0%9D%90%8E%F0%9D%90%8E%F0%9D%90%83%F0%9D%90%9C%F0%9D%90%AB%F0%9D%90%9A%F0%9D%90%9F%F0%9D%90%AD+%F0%9D%90%8C%F0%9D%90%A2%F0%9D%90%AB%F0%9D%90%AB%F0%9D%90%A8%F0%9D%90%AB+%F0%9D%90%99%F0%9D%90%A8%F0%9D%90%A7%F0%9D%90%9E%E2%84%A2)](https://git.io/typing-svg)\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\n\n[![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code\u0026pause=1000\u0026color=4250F7\u0026background=FF512800\u0026center=true\u0026vCenter=true\u0026width=435\u0026lines=%F0%9D%90%96%F0%9D%90%8E%F0%9D%90%8E%F0%9D%90%83%F0%9D%90%9C%F0%9D%90%AB%F0%9D%90%9A%F0%9D%90%9F%F0%9D%90%AD+%F0%9D%90%8C%F0%9D%90%A2%F0%9D%90%AB%F0%9D%90%AB%F0%9D%90%A8%F0%9D%90%AB+%F0%9D%90%99%F0%9D%90%A8%F0%9D%90%A7%F0%9D%90%9E%E2%84%A2)](https://git.io/typing-svg)\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \n \n \u003cp align=\"center\"\u003e\n    A Telegram bot to turn all media and documents files to instant direct download and stream link .\n    \u003cbr /\u003e\n   \u003c/strong\u003e\u003c/a\u003e\n\n\n\n\u003chr\u003e\n\n## Please Follow me so you know whenever I release a new Project!❤️‍🔥\n\n### Op FILE TO LINK Bot\n\n## 🍁 About This Bot :\n\n![streamingfileAngelBot-professional-live_1](https://graph.org/file/948fc22cf79a6d0a4d210.jpg)\n\n\u003c/p\u003e\n\u003cp align='center'\u003e\n    This bot will give you stream links for Telegram files without the need of waiting till the download completes\n\u003c/p\u003e\n\n\n## 🛠 How to make your own :\n\n\n#### 🛠 Click on This Drop-down and get more details\n\u003cbr\u003e\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eDeploy on Heroku:\u003c/b\u003e\u003c/summary\u003e\n\n\n\u003ca href=\"https://youtu.be/lBJZdaA04Ig\"\u003e\u003cimg src=\"https://img.shields.io/badge/Watch%20Tutorial%20On%20YouTube-red.svg?logo=Youtube\"\u003e\u003c/a\u003e                     \n\n\u003ch4\u003e So Follow Above Video 👆 and then deploy other wise bot won't work\u003c/h4\u003e\n\nPress the below button to Fast deploy on Heroku/Raiwlay\nEither you could locally host or deploy on [Heroku](https://heroku.com)\n### 💜 Heroku\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/SudoR2spr/Op-FILE-TO-LINK-Bot)\n\n\u003cbr\u003e\n\n\nthen goto the \u003ca href=\"#mandatory-vars\"\u003evariables tab\u003c/a\u003e for more info on setting up environmental variables. \u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eFeatures:\u003c/b\u003e\u003c/summary\u003e\n  \n\u003cp\u003e\n\n🚀Features\u003cp\u003e\n💥∝❍≕≻Superfast⚡️ download and stream links.\u003cbr\u003e\n💥∝❍≕≻No ads in generated links.\u003cbr\u003e\n💥∝❍≕≻Superfast interface.\u003cbr\u003e\n💥∝❍≕≻Along with the links you also get file information like name,size ,etc.\u003cbr\u003e\n💥∝❍≕≻Updates channel Support.\u003cbr\u003e\n💥∝❍≕≻Mongodb database support for broadcasting.\u003cbr\u003e\n💥∝❍≕≻Password Protection.\u003cbr\u003e\n💥∝❍≕≻User Freindly Interface.\u003cbr\u003e\n💥∝❍≕≻Ping check.\u003cbr\u003e\n💥∝❍≕≻User DC Check.\u003cbr\u003e\n💥∝❍≕≻Real time CPU , RAM , Internet usage. \u003cbr\u003e\n💥∝❍≕≻Custom Domain support. \u003cbr\u003e\n💥∝❍≕≻All unwanted code removed. \u003cbr\u003e\n💥∝❍≕≻A lot more tired of writing check out by deploying it. \n\n## 𝐁𝐨𝐭𝐟𝐚𝐭𝐡𝐞𝐫 𝐂𝐨𝐦𝐦𝐚𝐧𝐝𝐬\n```\nstart - ⚡️ bot alive cheking\nlist - 📚 commands list\nhelp - 🤷‍♂️ how to how\nabout - 🤖 Bot Details\n```\n\n\nand to stop the whole bot,\n do \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eC\u003c/kbd\u003e\n\nSetting up things\n\nIf you're on Heroku, just add these in the Environmental Variables\nor if you're Locally hosting, create a file named `config.env` in the root directory and add all the variables there.\nAn example of `config.env` file:\n\n```py\nAPI_ID=12345\nAPI_HASH=esx576f8738x883f3sfzx83\nBOT_TOKEN=55838383:yourtbottokenhere\nBIN_CHANNEL=-100\nPORT=8080\nFQDN=your_server_ip\nOWNER_ID=your_user_id\nDATABASE_URL=mongodb_uri\n```\n  \u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eVars and Details :\u003c/b\u003e\u003c/summary\u003e\n\n`API_ID` : Goto [my.telegram.org](https://my.telegram.org) to obtain this.\n\n`API_HASH` : Goto [my.telegram.org](https://my.telegram.org) to obtain this.\n  \n`MY_PASS` : Bot PASSWORD\n\n`BOT_TOKEN` : Get the bot token from [@BotFather](https://telegram.dog/BotFather)\n\n`BIN_CHANNEL` : Create a new channel (private/public), add [@missrose_bot](https://telegram.dog/MissRose_bot) as admin to the channel and type /id. Now copy paste the ID into this field.\n  \n`OWNER_USERNAME` : U should be knowing it afterall it's your username dont remember it? just go to settings!\n\n`OWNER_ID` : Your Telegram User ID\n\n`DATABASE_URL` : MongoDB URI for saving User IDs when they first Start the Bot. We will use that for Broadcasting to them. I will try to add more features related with Database. If you need help to get the URI you can click on logo below!\n\n[![mongo](https://telegra.ph/file/fd68906852c71fdd68bef.jpg)](https://www.youtube.com/watch?v=HhHzCfrqsoE)\n\n Option Vars\n\n`UPDATES_CHANNEL` : Put a Public Channel Username, so every user have to Join that channel to use the bot. Must add bot to channel as Admin to work properly.\n\n`BANNED_CHANNELS` : Put IDs of Banned Channels where bot will not work. You can add multiple IDs \u0026 separate with \u003ckbd\u003eSpace\u003c/kbd\u003e.\n\n`SLEEP_THRESHOLD` : Set a sleep threshold for flood wait exceptions happening globally in this telegram bot instance, below which any request that raises a flood wait will be automatically invoked again after sleeping for the required amount of time. Flood wait exceptions requiring higher waiting times will be raised. Defaults to 60 seconds.\n\n`WORKERS` : Number of maximum concurrent workers for handling incoming updates. Defaults to `3`\n\n`PORT` : The port that you want your webapp to be listened to. Defaults to `8080`\n\n`WEB_SERVER_BIND_ADDRESS` : Your server bind adress. Defauls to `0.0.0.0`\n\n`NO_PORT` : If you don't want your port to be displayed. You should point your `PORT` to `80` (http) or `443` (https) for the links to work. Ignore this if you're on Heroku.\n\n`FQDN` :  A Fully Qualified Domain Name if present. Defaults to `WEB_SERVER_BIND_ADDRESS` \u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eCredits \u0026 Disclaimer and How to Use :\u003c/b\u003e\u003c/summary\u003e\n\n:warning: **Before using the  bot, don't forget to add the bot to the `BIN_CHANNEL` as an Admin**\n \n`/start` : To check if the bot is alive or not.\n\nTo get an instant stream link, just forward any media to the bot and boom, its fast af.\n  \n![image](https://user-images.githubusercontent.com/88939380/145798095-3cdad108-96b0-4391-a540-cad144d6b864.png)\n\n----\n\n\n\n----\n### Credits : \n\n- [Adarsh Goel](https://github.com/adarsh-goel)\n- Thanks To Adarsh Developer for stream feature ❤️\n- [Telegrage Link](https://t.me/Opleech)\n- Everyone In This Journey !\n\n\n## Connect with me \u003cimg src=\"https://media.giphy.com/media/iY8CRBdQXODJSCERIr/giphy.gif\" width=\"30px\"\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://t.me/WD_Topic_Group\"\u003e\u003cimg src=\"https://img.shields.io/badge/-Wᴅ Tᴏᴘɪᴄ Gʀᴏᴜᴘ%20%20-0077B5?style=flat\u0026logo=Telegram\u0026logoColor=white\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://t.me/WD_Contact_Bot\"\u003e\u003cimg src=\"https://img.shields.io/badge/-𝐖𝐎𝐎𝐃𝐜𝐫𝐚𝐟𝐭,𝐬 𝐁𝐨𝐭%20%20-0077B5?style=flat\u0026logo=Telegram\u0026logoColor=white\"/\u003e\u003c/a\u003e  \n\u003ca href=\"https://t.me/Opleech\"\u003e\u003cimg title=\"Telegram\" src=\"https://img.shields.io/static/v1?label=WD.Zone\u0026message=TG\u0026color=blue-green\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n \n-----\n## Credits: [𝐖𝐎𝐎𝐃𝐜𝐫𝐚𝐟𝐭](https://t.me/Farooq_is_KING)\n\n🦋 Last Edited on: 01/03/2023\n\nFork the repo and edit as per your needs.\n\n## Disclaimer\n[![GNU Affero General Public License 2.0](https://www.gnu.org/graphics/agplv3-155x51.png)](https://www.gnu.org/licenses/agpl-3.0.en.html#header)    \nLicensed under [GNU AGPL 2.0.](https://github.com/SudoR2spr/Op-FILE-TO-LINK-Bot/blob/master/LICENSE)\nSelling The Codes To Other People For Money Is *Strictly Prohibited*.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudor2spr%2Fop-file-to-link-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsudor2spr%2Fop-file-to-link-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudor2spr%2Fop-file-to-link-bot/lists"}