This repository is a patch for TG-FileStream.
First, clone and setup the base project:
https://github.com/SpringsFern/TG-FileStream
Follow the setup instructions provided in that repository's README file.
Make sure TG-FileStream is fully working before continuing.
You can install this plugin using either of the following methods.
Clone this repository inside the patches directory of TG-FileStream.
Your folder structure should look like this:
<TG-FileStream base folder>/
│
├── .git
├── tgfs/
│ ├── patches/
│ │ └── tgfs-webplayer ← clone this repo here
Example:
cd <TG-FileStream base folder>/tgfs/patches
git clone https://github.com/SpringsFern/tgfs-webplayerInstall required dependency:
pip3 install aiohttp-jinja2You can install this plugin directly via pip using the Git repository:
pip3 install git+https://github.com/SpringsFern/tgfs-webplayer
This method uses TGFS entry-point plugin loading and does not require placing files inside the patches directory.
After installation, start or restart TG-FileStream:
python3 -m tgfs
Or restart the service if running in the background.
The WebPlayer patch should now be active.
Make sure you restart the bot after adding the patch.