Skip to content
forked from callsmusic/trtmp

Go live easily and stream videos in Telegram channels.

License

Notifications You must be signed in to change notification settings

Mao-urban/trtmp

 
 

Repository files navigation

TRTMP

A bot for streaming in Telegram live streams.

Get Started

Manually

Prerequisites

Install

  1. Create a new directory.
mkdir trtmp && cd $_
  1. Download a binary from the latest release. If you’re on Debian or a Debian-based Linux distribution, you can just run the following:
curl -s https://raw.githubusercontent.com/callsmusic/trtmp/main/scripts/install.debian.sh | bash

Configure

In order to configure the bot, you have to set the following environmental variables:

  • BOT_TOKEN
  • RTMP_KEY
  • RTMP_URL

Or put them in a .env in the directory.

Run

chmod +x ./your_binary # Only for Unix-like systems.
./your_binary

Commands

Note: Commands are triggered with the "/" prefix.

stream

Starts streaming the provided video or URI leading to a media.

  • You can stream from 100+ platforms. Including popular ones like YouTube, Twitter, Facebook, etc.

  • There’s no limit in the duration of the provided media, it can be one second or a live stream.

  • If streaming, the stream should be stopped with /stop before using this command.

stop

Stops the active stream.

now

Tells who is currently streaming what.

License

You just DO WHAT THE FUCK YOU WANT TO.

About

Go live easily and stream videos in Telegram channels.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 92.2%
  • Shell 7.4%
  • Procfile 0.4%