Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.
/ RJBot Public archive

Telegram bot for downloading media from RadioJavan.com

License

Notifications You must be signed in to change notification settings

radinshayanfar/RJBot

Repository files navigation

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