Beetube

A telegram 🤖 bot for music, videos, movies, EDM tracks, torrent downloads, files and more. [![https://t.me/beetube_bot](https://img.shields.io/badge/🤖%20Telegram-Bot-neon.svg)](https://t.me/beetube_bot) [![https://t.me/beetubers](https://img.shields.io/badge/💬%20Telegram-Channel-blue.svg)](https://t.me/beetubers) [![Beetube CI](https://github.com/kodjunkie/beetube-bot/workflows/Beetube%20CI/badge.svg)](https://github.com/kodjunkie/beetube-bot/actions) License: MIT

Demo

The deployed version can be found on telegram as @beetube_bot

Features

Installation

Beetube by default have been setup for easy deployment on heroku

Requirements

Telegram Setup (required)

  1. Create a new bot via @BotFather and note the token
  2. Type /setcommands
  3. Select the bot you just created
  4. Copy and paste the texts below as the bot's commands
  start - start a conversation with the bot
  search - search through any category
  keyboard - show custom keyboard
  about - about this bot

Install on Local Machine

$ git clone https://github.com/kodjunkie/beetube-bot.git
$ cd beetube-bot
$ cp .env.example .env # update .env accordingly
# install dependencies
$ npm install
# have mongodb daemon running
# start the bot
$ npm start

Installation via Docker

$ git clone https://github.com/kodjunkie/beetube-bot.git
$ cd beetube-bot
$ cp .env.example .env # update .env accordingly
#
# build the container
$ docker build -t beetube-bot .
# run the container
$ docker run --name beetube --env-file=.env -it beetube-bot

Installation via Docker Compose

$ git clone https://github.com/kodjunkie/beetube-bot.git
$ cd beetube-bot
$ cp .env.example .env # update .env accordingly
#
# To boot-up first time only
# Or whenever docker file is modified (builds the container)
$ docker compose up --build
# To boot-up without building the container (regular use)
$ docker compose up
# To shut-down
$ docker compose down

Liked it?

Hope you liked this project, don't forget to give it a star ⭐

Tests

$ npm test

# via docker
$ docker exec -it beetube npm test

License

This project is opened under the MIT 2.0 License which allows very broad use for both academic and commercial purposes.