Code Monkey home page Code Monkey logo

trtmp's Introduction

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.

trtmp's People

Contributors

roj1512 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.