A Telegram bot that can stream Telegram files to users over HTTP.

Overview

T.ME_FILE_TO_LINK

Hi iam a file to link bot....best Bot telegram

Telegram File To Link Generation Bot

A Telegram bot that can stream Telegram files to users over HTTP.

Setup

Install dependencies (see requirements.txt), configure environment variables (see below) and run with python3 -m tgfilestream.

A reverse proxy is recommended to add TLS. When using a reverse proxy, keep HOST as-is, but add the publicly accessible URL to PUBLIC_URL. The URL should include the protocol, e.g. https://example.com.

You can also tap the Deploy To Heroku button below to deploy straight to Heroku!

With Bot Token & Session String

Deploy

Without Session String

Deploy

Watch our YouTube video for more details - How To Create Your Own Telegram File To Link Generation Bot

Environment variables

  • TG_API_ID (required) - Your Telegram API ID.
  • TG_API_HASH (required) - Your Telegram API hash.
  • TG_SESSION_NAME (defaults to tgfilestream) - The name of the Telethon session file to use.
  • TG_BOT_FATHER_TOKEN - Your bot token, as a string..
  • PORT (defaults to 8080) - The port to listen at.
  • HOST (defaults to localhost) - The host to listen at.
  • PUBLIC_URL (defaults to http://localhost:8080) - The prefix for links that the bot gives.
  • TRUST_FORWARD_HEADERS (defaults to false) - Whether or not to trust X-Forwarded-For headers when logging requests.
  • DEBUG (defaults to false) - Whether or not to enable extra prints.
  • LOG_CONFIG - Path to a Python basic log config. Overrides DEBUG.
  • REQUEST_LIMIT (default 5) - The maximum number of requests a single IP can have active at a time.
  • CONNECTION_LIMIT (default 20) - The maximum number of connections to a single Telegram datacenter.
  • TG_START_MESG - The message that should be shown in Telegram chat, in case of non-media message.

How to get TG_SESSION_NAME string

Run Console in Heroku python3 GenerateStringSession.py and follow.

  • Note: When it will ask for Phone Number and Bot token Give Bot token value

OR use online terminal

Run

Issue Bot stopped responding

If bot is not responding, open https:// .herokuapp.com/ and try again. Issue - https://github.com/tulir/tgfilestream/issues/9

Add members to unlimited telegram channels and groups

Program Features ๐Ÿ“Œ Coded with Python version 10. ๐Ÿ“Œ without the need for a proxy. ๐Ÿ“Œ without the need for a Telegram ID. ๐Ÿ“Œ Ability to add infinite p

hack4lx 10 Nov 25, 2022
Calendars for various securities exchanges.

IMPORTANT NOTE This package is currently unmaintained as the sponsor, quantopian, is going through corporate changes. As such there is a fork of this

Quantopian, Inc. 545 Jan 07, 2023
JAWS Pankration 2021 - DDD on AWS Lambda sample

JAWS Pankration 2021 - DDD on AWS Lambda sample What is this project? This project contains sample code for AWS Lambda with domain models. I presented

Atsushi Fukui 21 Mar 30, 2022
Wechat based auto reply with pyautogui

Python-ๅพฎไฟก ่‡ชๅŠจๅ›žๅค ็ปƒๆ‰‹~ ไธ€็›ดๆƒณๅšไธช็ป™ๅพฎไฟกๅ‘ไธชๆถˆๆฏ๏ผŒๅฐฑๅฏไปฅ่ท‘Python็จ‹ๅบ๏ผŒๅนถๅฐ†็ป“ๆžœๅ‘้€็ป™ๆˆ‘็š„ไธœ่ฅฟ๏ผŒไน‹ๅ‰็œ‹ไบ† B็ซ™@ไธ้ซ˜ๅ…ดๅฐฑๅ–ๆฐด ็š„่ง†้ข‘๏ผŒ็ปˆไบŽๆœ‰ไบ†็ตๆ„Ÿ~ ไฝฟ็”จ็š„ๆ˜ฏๆจกๆ‹Ÿ็‚นๅ‡ปๆ–นๆกˆ๏ผŒ่ฏทๆฑ‚ๆœŸ้—ดๆ˜ฏไธ่ƒฝๆ“ไฝœไบ†ใ€‚ ๅบ“ pyautogui ็”จไบŽๆจกๆ‹Ÿ้ผ ๆ ‡้”ฎ็›˜ๆ“ไฝœๅ’Œๅฎšไฝๆ“ไฝœไฝ็ฝฎ pyperclip ๅ‰ช่ดดๆฟ

Vito Song 1 Oct 22, 2022
Wrapper for Between - ๋น„ํŠธ์œˆ์„ ์œ„ํ•œ ํŒŒ์ด์ฌ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ

PyBetween Wrapper for Between - ๋น„ํŠธ์œˆ์„ ์œ„ํ•œ ํŒŒ์ด์ฌ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ Legal Disclaimer ์˜ค์ง ๊ต์œก์  ๋ชฉ์ ์œผ๋กœ๋งŒ ์‚ฌ์šฉํ• ์ˆ˜ ์žˆ์œผ๋ฉฐ, ๋น„ํŠธ์œˆ์€ VCNC์˜ ์ž์‚ฐ์ž…๋‹ˆ๋‹ค. ์•…์˜์  ๊ณต๊ฒฉ์— ์ด์šฉํ• ์‹œ ์ฒ˜๋ฒŒ ๋ฐ›์„์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์‚ฌ์šฉ์— ๋”ฐ๋ฅธ ์ฑ…์ž„์€ ์‚ฌ์šฉ์ž๊ฐ€

1 Mar 15, 2022
๐Ÿš€๐Ÿ”ฅไฝฟ็”จPython่ฟžๆŽฅ้˜ฟ้‡Œไบ‘็›˜, ๅฎž็Žฐไบ†ๅฎ˜ๆ–นๅคง้ƒจๅˆ†ๅŠŸ่ƒฝ ๐Ÿ‘๐Ÿ‘

aligo ๐Ÿš€ ๐Ÿ”ฅ ไฝฟ็”จPython่ฟžๆŽฅ้˜ฟ้‡Œไบ‘็›˜, ๅฎž็Žฐไบ†ๅฎ˜ๆ–นๅคง้ƒจๅˆ†ๅŠŸ่ƒฝ ๐Ÿ‘ ๐Ÿ‘ ไธบไบ†ๅฎŒๅ–„ไปฃ็ ๆ็คบ, ๆ–นไพฟๅคงๅฎถไปฃ็ ไนฆๅ†™, aligo ๅผ•ๅ…ฅไบ†ไธ€ไบ› python 3.8 ็š„ๆ–ฐ็‰นๆ€ง, ๆ‰€ไปฅ่ฆๆฑ‚ python = 3.8.* pip install aligo ๆˆ– pip install ali

455 Jan 08, 2023
Joshua McDonagh 1 Jan 24, 2022
A modular Telegram Python bot running on python3 with a sqlalchemy, redis, telethon.

GilbertAnimeBot A modular Telegram Python bot running on python3 with a sqlalchemy, redis, telethon. How to setup/deploy. Read these notes carefully b

Kishore 1 Jan 23, 2022
Efetuar teste de automaรงรฃo usando linguagem gherkin

๐Ÿš€ Teste-de-Automaรงรฃo - QA---CI-T ๐Ÿš€ Descriรงรฃo โ€ข Primeira Parte โ€ข Segunda Parte โ€ข Terceira Parte Contributors Descriรงรฃo Efetuamos testes de automaรงรฃo

Eliel martins 6 Dec 07, 2021
A Discord API Wrapper for Userbots/Selfbots written in Python.

DisCum A simple, easy to use, non-restrictive, synchronous Discord API Wrapper for Selfbots/Userbots written in Python. -using requests and websockets

Liam 450 Dec 27, 2022
A Python library for inserting an reverse shell attached to Telegram in any Python application.

py tel reverse shell the reverse shell in your telgram! What is this? This program is a Python library that you can use to put an inverted shell conne

Torham 12 Dec 28, 2022
A drop-in vanilla discord.py cog to add slash command support with little to no code modifications

discord.py /slash cog A drop-in vanilla discord.py cog that acts as a translation layer to add slash command support with little to no code modificati

marshall 3 Jun 01, 2022
NewpaperNews-API - Json data of the news with python

NewsAPI API Documentation BASE_URL = "https://saurav.tech/NewsAPI/" top_headline

Aryaman Prakash 2 Sep 23, 2022
A customizable, multilanguage Telegram shop bot with Telegram Payments support

Greed A customizable, multilanguage Telegram shop bot with Telegram Payments support! Demo Send a message to @greedtestbot on Telegram to view a demo

Stefano Pigozzi 328 Dec 29, 2022
Simple Telegram Bot for generating BalckPearl BBCode Templates

blackpearl-bbcode-bot Simple Telegram Bot for generating BlackPearl BBCode Templates Written in Pyrogram Features - ๐ŸŽ‰ IMDB Info fetching from files -

D. Luffy 5 Oct 19, 2022
Command-line program to download videos from YouTube.com and other video sites

youtube-dl - download videos from youtube.com or other video platforms INSTALLATION DESCRIPTION OPTIONS CONFIGURATION OUTPUT TEMPLATE FORMAT SELECTION

youtube-dl 116.4k Jan 07, 2023
Bagas Mirror&Leech Bot is a multipurpose Telegram Bot written in Python for mirroring files on the Internet to our beloved Google Drive. Based on python-aria-mirror-bot

- [ MAYBE UPDATE & ADD MORE MODULE ] Bagas Mirror&Leech Bot Bagas Mirror&Leech Bot is a multipurpose Telegram Bot written in Python for mirroring file

4 Nov 23, 2021
๐€ ๐ฆ๐จ๐๐ฎ๐ฅ๐š๐ซ ๐“๐ž๐ฅ๐ž๐ ๐ซ๐š๐ฆ ๐†๐ซ๐จ๐ฎ๐ฉ ๐ฆ๐š๐ง๐š๐ ๐ž๐ฆ๐ž๐ง๐ญ ๐›๐จ๐ญ ๐ฐ๐ข๐ญ๐ก ๐ฎ๐ฅ๐ญ๐ข๐ฆ๐š๐ญ๐ž ๐Ÿ๐ž๐š๐ญ๐ฎ๐ซ๐ž๐ฌ !!

๐‡๐จ๐ฐ ๐“๐จ ๐ƒ๐ž๐ฉ๐ฅ๐จ๐ฒ For easiest way to deploy this Bot click on the below button ๐Œ๐š๐๐ž ๐๐ฒ ๐’๐ฎ๐ฉ๐ฉ๐จ๐ซ๐ญ ๐†๐ซ๐จ๐ฎ๐ฉ ๐’๐จ๐ฎ๐ซ๐œ๐ž๐ฌ ๐†๐ž๐ง๐ž?

Mukesh Solanki 1 Dec 10, 2021
Telegram Group Management Bot based on Pyrogram

Komi-San Telegram Group Management Bot based on Pyrogram More updates coming soon Support Group Open a Pull request if you wana contribute Example for

33 Nov 07, 2022
A discord token grabber made in Python 3

Discord Token Grabber A Discord token grabber written in Python 3. This version of the grabber only supports Windows. Features Transfers via Discord w

Mega145 4 Aug 04, 2022