Important
Only works on systems that can execute bash scripts and use ffmpeg.
Watch any anime with friends on your Telegram group.
You can use the /anime command to launch the streaming of an anime.
- ffmpeg
- python3
- Make a telegram bot
- Put the bot token and the stream url in a
.envfile at the root of the project as so:
BOT_TOKEN=...
STREAM_URL=...
- Setup python. (make a venv and
pip install -r requirements.txtin the src directory) - Launch the
src/main.pyfile. - Launch the stream from your telegram client. You can now use the bot
/helpon your telegram group
- Go to your group.
- Go to the stream settings.
- Copy the 'Stream Key' and the 'Server URL'.
- Populate the
.env'sSTREAM_URLwith this format:<stream_key><server_url>E.g.:STREAM_URL=rtmps://bv7-3.rtmp.t.me/s/9264019635:f87dKLOz61Pb7-3lfm8ijz
- https://www.siteguarding.com/en/how-to-get-telegram-bot-api-token
- Bot Settings > Group Privacy > then disable the privacy mode.
- Invite your bot to your group. If you've already invited it, kick him and re-invite it.
- Populate the
.envfile at the root of the project. COMPOSE_BAKE=true sudo docker compose up -d --build
"Quick and dirty".