Go to file
blank X 3a30cf29c1
Return 416 if Range doesn't start with bytes=
2021-06-06 22:03:47 +07:00
.gitignore Initial commit 2021-01-16 10:33:53 +07:00
LICENSE Initial commit 2021-01-16 10:33:53 +07:00
README.md Initial commit 2021-01-16 10:33:53 +07:00
example-config.yaml Add hmac 2021-03-04 19:16:07 +07:00
requirements.txt Initial commit 2021-01-16 10:33:53 +07:00
streamtg.py Return 416 if Range doesn't start with bytes= 2021-06-06 22:03:47 +07:00

README.md

StreamTG

Stream files from Telegram

Installation Instructions

  1. Install python3
  2. pip3 install -r requirements.txt
  3. Copy example-config.yaml to config.yaml and edit it

Start

python3 streamtg.py
If you want to set a custom port, have a PORT environment variable

How to Use

http://localhost:8080/?chat_id=-1001289824958&message_id=5302&message_id=5304&token=DIi4aXHn440PTPXJE1yVyIoU2L4bLGiyjC1Fd7usKAMZYWVcp5p0P792G4YlbNnIcWCLypXbUFJkVzKqhh0AkJYSWqJbsAy8TjA