GithubHelp home page GithubHelp logo

rayanfer32 / tgindexpro Goto Github PK

View Code? Open in Web Editor NEW
100.0 8.0 136.0 719 KB

File Stream Index of Telegram Chat / Channel / Group.

Home Page: https://rayanfer32.github.io/TgindexPro

License: GNU General Public License v3.0

Python 50.45% HTML 49.28% JavaScript 0.26%
playlist-generator telegram index tgindexpro tgindex static permalinks streaming video playlist

tgindexpro's Introduction

Telegram Index Pro

Get your media streaming right from your telegram chat into VLC player and web player. No Downloads to wait for!! Easy to Share !!

Open Source Love GPLv3 license GitHub forks GitHub Stars

Deploy Now!

Highlights

  • Create permanent/Static links for your telegram index (No interruptions if deployed on repl.it )
  • Index of a selected channel/chat.
  • Stream/Play media directly in VLC player
  • View messages and media files on the browser.
  • Search through the channel/chat.
  • Download media files through browser/download managers.

Demo

website index

Bonus content

playlist creator

Deploy Guide

One Click Deploy (Easy):

Step 1:

Click here > Run on repl.it

Step 2:

Environment Variables. repl secrets sidebar

Add these Environment Variables (Secrets) in the sidebar

Variable Name Value
API_ID (required) Telegram api_id obtained from https://my.telegram.org/apps.
API_HASH (required) Telegram api_hash obtained from https://my.telegram.org/apps.
INDEXING_CHAT (required) Chat_ID of the chat you are using for index (add chat id echo bot to ur group or channel and make it admin to show chat id)

Step 3:

Press Run button on top.

  • Enter your phone number only (Bot token is not supported)

  • Enter the recieved OTP

  • Now copy the session string to the secrets.

Variable Name Value
SESSION_STRING (required) String obtained by running $ python3 app/generate_session_string.py. (Login with the telegram account which is a participant of the given channel (or chat).

Press Run button on top to start the webserver.

Step 4:

Preventing repl from going offline:

Open uptimerobot.com and add your index site under HTTP(s)

This will ping the site every 5 minutes and prevent repl from shutting down.

Manual Deployment:

  • Install dependencies.
 pip3 install -U -r requirements.txt
  • Environment Variables. PORT (optional) | Port on which app should listen to, defaults to 8080. HOST (optional) | Host name on which app should listen to, defaults to 0.0.0.0. DEBUG (optional) | Give some value to set logging level to debug, info by default.

  • Run app.

$ python3 -m app

API

Here's the api description. API

Contributions

Contributions are welcome.

Credits

Orignal Tgindex Developer @odysseusmax.

License

Code released under The GNU General Public License.

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.