/MuaathBots

PHP Useful Telegram bots hosted in Heroku free

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Muaath Bots

Licence: GPL v3.0 Bot API Version: 5.5.1

Muaath Bots is some PHP Telegram bots that can be recreated by everyone.

Features

  • Doesn't use any databases
  • Open source and uses git
  • Can be hosted in Heroku free
  • Configuration stored in environment variables
  • Uses GitHub Actions
  • Bots uses Simple Bot API Library
  • Single file for webhook
  • Supports Translations.

Bots

Avaliable bots:

Coming soon:

FAQ

Question Answer
What's minimum version of bots? Bot API 5.3
Why Muaath bots doesn't uses databases? To make it free hosted in Heroku, Also because this project doesn't get money to buy good hosting offers good databases.
Is there any idea to pay for hosting bots? Currently, No. Because this project hasn't any money source like some bots.

Issues, Pull requests, And Questions

Please read Contributing guidelines

Importing project

Before importing this project, Read these instructions please:

  • Generate your tokens for the the imported Bots, And each token should follow (Bot settings) in README.md for each bot.
  • Create Heroku account, At first we suggest using free Heroku.

Import project now:

Deploy on Heroku

(Optional) And if you want to edit on the code, Complete these instructions:

  • Install Git And Heroku CLI.
  • Use command cd <my_dir> in terminal, And replace <my_dir> with directory to create the project in.
  • Use command heroku git:clone -a <app_name> in terminal, And replace <app_name> with app name you choosed for Heroku.
  • After editing the files, You can use git push heroku main to upload the code into Heroku.
  • To upload the new code in GitHub, You'll need to process the following code (In Windows):
cd %USERPROFILE%
mkdir .ssh
cd .ssh
ssh-keygen -t ed25519 -C "same_email_registered_in_github@example.com" -f github_key
ssh-add github_key
  • Note: Add your registered email address in GitHub in the email section.
  • Now go to: Add new SSH token in GitHub
  • Open and copy .pub file and paste it in the field
  • Add any title like: "GitHub key"
  • Use git remote add github only first time you want to upload code to GitHub.
  • Use git push github main to upload (push) the main branch to GitHub.

Licence

This project is under GPL v3.0 Licence.