You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blank X 122aa375a6
Blacklist non-printable ascii chars from Content-{Type,Disposition}
1 year ago
.gitignore Initial commit 2 years ago
LICENSE Initial commit 2 years ago
README.md Initial commit 2 years ago
example-config.yaml Add hmac 2 years ago
requirements.txt Initial commit 2 years ago
streamtg.py Blacklist non-printable ascii chars from Content-{Type,Disposition} 1 year ago

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