Go to file
blank X 122aa375a6
Blacklist non-printable ascii chars from Content-{Type,Disposition}
2022-02-12 13:30:38 +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 Blacklist non-printable ascii chars from Content-{Type,Disposition} 2022-02-12 13:30:38 +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