jackowner / trtmp

Go live easily and stream videos in Telegram channels.

Home Page:https://t.me/callsmusic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TRTMP

A bot for streaming in Telegram live streams.

Get Started

Use a Cloud Platform

Heroku

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.

https://t.me/callsmusic

License:Do What The F*ck You Want To Public License


Languages

Language:Go 94.2%Language:Shell 5.3%Language:Procfile 0.4%