A Telegram bot to all media and documents files to web link .

Overview

GitHub Repo stars GitHub forks GitHub contributors GitHub repo size GitHub commit activity GitHub Bot Support

FileStreamBot

Cover Image

A Telegram bot to all media and documents files to web link .

Report a Bug | Request Feature


๐Ÿ About This Bot :

FileStreamBot Logo

This bot will give you stream links for Telegram files without the need of waiting till the download completes

โ™ข How to make your own :

Either you could locally host or deploy on Heroku


โ™ข Click on This Drop-down and get more details


Deploy on Heroku :
  1. Fork This Repo
  2. Click on Deploy Easily

So Follow Above Steps ๐Ÿ‘† and then also deply other wise not work

Press the below button to Fast deploy on Heroku

Deploy

then goto the variables tab for more info on setting up environmental variables.

Host it on VPS Locally :
git clone https://github.com/avipatilpro/FileStreamBot
cd FileStreamBot
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
python3 -m WebStreamer

and to stop the whole bot, do CTRL+C

Setting up things

If you're on Heroku, just add these in the Environmental Variables or if you're Locally hosting, create a file named .env in the root directory and add all the variables there. An example of .env file:

API_ID=12345
API_HASH=esx576f8738x883f3sfzx83
BOT_TOKEN=55838383:yourtbottokenhere
BIN_CHANNEL=-100
PORT=8080
FQDN=your_server_ip
OWNER_ID=your_user_id
DATABASE_URL=mongodb_uri
Vars and Details :

API_ID : Goto my.telegram.org to obtain this.

API_HASH : Goto my.telegram.org to obtain this.

BOT_TOKEN : Get the bot token from @BotFather

BIN_CHANNEL : Create a new channel (private/public), add @missrose_bot as admin to the channel and type /id. Now copy paste the ID into this field.

OWNER_ID : Your Telegram User ID

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 ask in Me Telegram.

Option Vars

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.

BANNED_CHANNELS : Put IDs of Banned Channels where bot will not work. You can add multiple IDs & separate with Space.

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.

WORKERS : Number of maximum concurrent workers for handling incoming updates. Defaults to 3

PORT : The port that you want your webapp to be listened to. Defaults to 8080

WEB_SERVER_BIND_ADDRESS : Your server bind adress. Defauls to 0.0.0.0

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.

FQDN : A Fully Qualified Domain Name if present. Defaults to WEB_SERVER_BIND_ADDRESS

How to Use :

โš ๏ธ Before using the bot, don't forget to add the bot to the BIN_CHANNEL as an Admin

/start : To check if the bot is alive or not.

To get an instant stream link, just forward any media to the bot and boom, its fast af.

Channel Support

Bot also Supported with Channels. Just add bot Channel as Admin. If any new file comes in Channel it will edit it with Get Download Link Button.

๐Ÿ”ท Thanks to :

Contributions By percentage

  • EverythingSuckz He owns the source code ;-; 80% code
  • Adarsh Goel for making some changes according to my taste + I added new features ๐Ÿ˜Ž 15% code
  • All who had helped me with logics and plus who have helped EverythingSuckz 5% code
  • I dont own the source code . As told earlier I just made some changes I dont own it's base code ๐Ÿ˜‡
  • Feel free to contribute
  • ๐Ÿ˜€
Python interface to the World Bank Indicators and Climate APIs

wbpy A Python interface to the World Bank Indicators and Climate APIs. Readthedocs Github source World Bank API docs The Indicators API lets you acces

Matt Duck 47 Oct 31, 2022
A python api to get info on covid-19

A python api to get info on covid-19

roof 2 Sep 18, 2022
A Python wrapper for the WooCommerce API.

WooCommerce API - Python Client A Python wrapper for the WooCommerce REST API. Easily interact with the WooCommerce REST API using this library. Insta

WooCommerce 171 Dec 25, 2022
Follow pixiv account from twitter profile

Follow pixiv account from twitter profile

Genshi 7 Apr 11, 2022
The source code of the bot that displays erotic images on Discord

่ชฌๆ˜Ž ใ“ใฎใ‚ณใƒผใƒ‰ใฏDiscord.pyใจNeko APIใ‚’ไฝฟใฃใŸNsfw็”ปๅƒ่กจ็คบใƒœใƒƒใƒˆใฎใ‚ฝใƒผใ‚นใ‚ณใƒผใƒ‰ใงใ™ใ€‚ ๆˆไบบๅ‘ใ‘ใ‚ณใƒณใƒ†ใƒณใƒ„ใ‚’ๅซใ‚€ใƒœใƒƒใƒˆใชใฎใงใ€ไธๅฟซใซใชใ‚‹ๆ–นใฏใ“ใฎใƒœใƒƒใƒˆใฎไฝœๆˆไธญๆญขใ‚’ใŠใ™ใ™ใ‚ใ—ใพใ™ใ€‚ ไฝฟใ„ๆ–น ใพใšใ€install.batใ‚’่ตทๅ‹•ใ—ใฆใใ ใ•ใ„ใ€‚ ใใฎใ‚ใจใซใ€config.json ใ‚’้–‹ใ

ใฏใชใใ 1 Dec 28, 2021
MusicBot is the original Discord music bot written for Python 3.5+, using the discord.py library

The original MusicBot for Discord (formerly SexualRhinoceros/MusicBot)

Just Some Bots 2.9k Jan 02, 2023
Discovery is an open-source Discord Bot with the main features Tickets, Moderation, Giveaways and Reaction roles.

Discovery is an open-source Discord Bot with the main features Tickets, Moderation, Giveaways and Reaction roles.

1 Dec 29, 2021
์นผ๋งŒ ํ•„ํ„ฐ๋Š” ์–ด๋ ต์ง€ ์•Š์•„(์ €์ž ๊น€์„ฑํ•„) ํŒŒ์ด์ฌ ์ฝ”๋“œ(Unofficial)

KalmanFilter_Python ์นผ๋งŒ ํ•„ํ„ฐ๋Š” ์–ด๋ ต์ง€ ์•Š์•„(์ €์ž ๊น€์„ฑํ•„) ์ฑ…์„ ๊ณต๋ถ€ํ•˜๋ฉด์„œ, Matlab ์ฝ”๋“œ๋ฅผ Python์œผ๋กœ ๋ณ€ํ™˜ํ•œ ๊ฒƒ์ž…๋‹ˆ๋‹ค. Contents Part01. Recursive Filter Chapter01. Average Filter Chapter0

Donghun Park 20 Oct 28, 2022
Python-based Snapchat score booster using pyautogui module

Snapchat Snapscore Botter Python-based Snapchat score booster using pyautogui module. Click here to report bugs. Usage Download ZIP here and extract t

477 Dec 31, 2022
3X Fast Telethon Based Bot

๐Ÿ“บ YouTube Song Downloader Bot For Telegram ๐Ÿ”ฎ 3X Fast Telethon Based Bot โšœ Easy To Deploy ๐Ÿค—

@Dk_king_offcial 1 Dec 09, 2021
Documentation and Samples for the Official HN API

Hacker News API Overview In partnership with Firebase, we're making the public Hacker News data available in near real time. Firebase enables easy acc

Y Combinator Hacker News 9.6k Jan 03, 2023
Automatically send commands to send Twitch followers to any Twitch account.

Automatically send commands to send Twitch followers to any Twitch account. You just need to be in a Twitch follow bot Discord server!

Thomas Keig 6 Nov 27, 2022
Python Dialogflow CX Scripting API (SCRAPI)

Python Dialogflow CX Scripting API (SCRAPI) A high level scripting API for bot builders, developers, and maintainers. Table of Contents Introduction W

Google Cloud Platform 39 Dec 09, 2022
๐ŸŽ€ First and most powerfull open source clicktune botter

CTB ๐Ÿ–ค Follow me here: Discord | YouTube | Twitter | Github ๐Ÿบ Features: /* *- The first *- Fast *- Proxy support: http/s, socks4/5, premieum (w

Iั‚ั•_ัดฮนcะฝั‡#1337 22 Aug 29, 2022
Gathers data and displays metrics related to climate change and resource depletion on a PowerBI report.

Apocalypse Status Dashboard Purpose Climate change and resource depletion are grave long-term dangers. The code in this repository will pull data from

Summer Is Here 1 Nov 12, 2021
Code release for Transferable Curriculum for Weakly-Supervised Domain Adaptation (AAAI2019)

TCL Code release for Transferable Curriculum for Weakly-Supervised Domain Adaptation (AAAI2019) Dataset Office-31 dataset, with 0.4 label noise Requir

THUML @ Tsinghua University 17 Jul 07, 2022
Discord Crypto Payment Cards Selfbot

A Discord selfbot that serves the purpose of displaying text and QR versions of your BTC, LTC & ETH payment information for easy and simple commercial or personal transactions.

2 Apr 12, 2022
This is a okay that is okay that means none is okay

Owner: Masterolic ๐Ÿ‡ฎ๐Ÿ‡ณ CatUB A Powerful, Smart And Simple Userbot In Telethon. Credits This is A Remix Bot Of Many UserBot. DARKCOBRA FridayUserBot Ja

Masterolic 1 Nov 28, 2021
๐Ÿง‘โ€๐Ÿ’ผ Python wrapper for the Seek API

seek-com-au-api ๐Ÿง‘โ€๐Ÿ’ผ Python wrapper for the seek.com.au API (unofficial) Installation Using Python = 3.6: pip install -e git+https://github.com/tomq

Tom Quirk 1 Oct 24, 2021
A bot written in Python to automate attending classes on MyClass (Codetantra).

codetantrabot This is python program to attend class on myclass(codetantra) Prerequisites You should have Python3 and Pip installed on your system Run

Aniket Kumar 1 Feb 08, 2022