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.
A simple Telegram bot to extract media links from Radio Javan share link. This bot was developed for educational purposes.
- Create a new bot via @BotFather and grab your token (keep it secure).
- Make a copy of the repository in your server.
$ git clone --depth=1 https://github.com/radinshayanfar/RJBot.git
- Install
curl
according to your PHP version.
$ sudo apt install php8.0-curl
- Create a MySQL database.
- Rename
.env.example
file to.env
and edit it's content according to your configuration.
$ mv .env.example .env
$ vi .env
- Run install script to finish installation.
$ php install/install.php