RJBot icon indicating copy to clipboard operation
RJBot copied to clipboard

Telegram bot for downloading media from RadioJavan.com

Note

RadioJavan has changed a lot since I first developed this bot, and I can't make time to maintain it. As a result, I'm archiving the bot.

RJBot

A simple Telegram bot to extract media links from Radio Javan share link. This bot was developed for educational purposes.

Installation

  1. Create a new bot via @BotFather and grab your token (keep it secure).
  2. Make a copy of the repository in your server.
$ git clone --depth=1 https://github.com/radinshayanfar/RJBot.git
  1. Install curl according to your PHP version.
$ sudo apt install php8.0-curl
  1. Create a MySQL database.
  2. Rename .env.example file to .env and edit it's content according to your configuration.
$ mv .env.example .env
$ vi .env
  1. Run install script to finish installation.
$ php install/install.php