File Stream Index of Telegram Chat / Channel / Group.
Get your media streaming right from your telegram chat into VLC player and web player. No Downloads to wait for!! Easy to Share !!
Environment Variables.
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) |
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). |
Run
button on top to start the webserver.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.
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
Here's the api description. API
Contributions are welcome.
Orignal Tgindex Developer @odysseusmax.
Code released under The GNU General Public License.