Skip to content

Stream audio in Telegram calls using GramJS and tgcallsjs

License

Notifications You must be signed in to change notification settings

kavinduaj12/callsmusic2

 
 

Repository files navigation

Calls Music 2 — Stream audio in Telegram calls using GramJS and tgcallsjs

Requirements

This bot needs a Linux system, Node JS version 15 or newer with the packages specified in the package.json, ffmpeg, Google Chrome or Chromium to work.

Deployment

Config

  1. Copy example.env to .env and fill it with your credentials.
  2. Install the required Node JS packages:
    npm install
  3. Run:
    npm start

Docker

  1. Build:
    docker build -t musicplayer .
  2. Run:
    docker run --env-file .env musicplayer

Heroku

Deploy to Heroku

  • You can generate a string session here.

Commands

Command Usage
/play play the replied audio file
/pause pause the audio stream
/resume resume the audio stream
/skip skip the current audio stream
/stop clear the queue and remove the userbot from the call

License

GNU Affero General Public License v3.0

Read more

Credits

About

Stream audio in Telegram calls using GramJS and tgcallsjs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.2%
  • Shell 5.7%
  • Dockerfile 1.1%