GithubHelp home page GithubHelp logo

sallat-m / filetolink Goto Github PK

View Code? Open in Web Editor NEW
84.0 1.0 199.0 46 KB

A Telegram Bot to generate permanent Stream and Download links for any Telegram file

License: GNU General Public License v3.0

Python 99.92% Procfile 0.08%

filetolink's Introduction

Telegram File To Stream Link


⚠️ The Bot is Dead. Don't deploy it

This bot will give you permanent Stream and Download links for Telegram files

Variables

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

ARCHIVE_CHANNEL_ID : Create a new channel (private/public), post anything in the channel, forward the post to @message_ids_bot, now copy and paste chat_forward in this field.

Bot_Channel_UserName : [Optional] The UserName of any channel to force users to join it before using the bot, Make sure to make the bot admin in this channel

Session_String : [Optional] Use session_generator.py to generate Pyrogram Session String, If you don't add it the bot will create a new session every Restarting.

How to use the bot

⚠️ Before using the bot, don't forget to add the bot to the ARCHIVE_CHANNEL_ID as an admin

/start : To check if the bot is alive.

To get download and stream links, just forward any file to the bot.

⚠️ If you want to download the link don't use 1DM, instead you can use ADM or IDM(on PC)

faQ

  • How long the links will remain valid or is there any expiration time for the links generated by the bot?

The links will be valid as longs as your bot is alive, you haven't deleted the Message from Archive Channel and you haven't deleted Archive Channel

Contact me

Telegram Channel

You can PM me on @ooom09

filetolink's People

Contributors

sallat-m avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

filetolink's Issues

use repo in personal server

hi
i'm new in paython and i have a server and want to run this repo in my server.
please help me to do that.

Update the repo

Please update the repo code because mare existing repo is not depoing on GitHub. So i can create my personal bot .

errors

Traceback (most recent call last):
2022-07-11T01:03:35.960000+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.8/runpy.py", line 194, in _run_module_as_main
2022-07-11T01:03:35.960102+00:00 app[web.1]: return _run_code(code, main_globals, None,
2022-07-11T01:03:35.960104+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.8/runpy.py", line 87, in _run_code
2022-07-11T01:03:35.960187+00:00 app[web.1]: exec(code, run_globals)
2022-07-11T01:03:35.960196+00:00 app[web.1]: File "/app/FileToLink/main.py", line 15, in
2022-07-11T01:03:35.960271+00:00 app[web.1]: from FileToLink.server import app
2022-07-11T01:03:35.960273+00:00 app[web.1]: File "/app/FileToLink/server.py", line 6, in
2022-07-11T01:03:35.960338+00:00 app[web.1]: from quart import Quart, abort, request, send_file, redirect
2022-07-11T01:03:35.960340+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.8/site-packages/quart/init.py", line 3, in
2022-07-11T01:03:35.960398+00:00 app[web.1]: from jinja2 import escape, Markup
2022-07-11T01:03:35.960422+00:00 app[web.1]: ImportError: cannot import name 'escape' from 'jinja2' (/app/.heroku/python/lib/python3.8/site-packages/jinja2/init.py)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.