Muaath Bots is some PHP Telegram bots that can be recreated by everyone.
- 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.
Avaliable bots:
- Test payment 2.0 Bot | @TestPaymentV2Bot.
- Remove Inline Buttons Bot | @RemoveInlineButtonsBot.
Coming soon:
- getChat method Bot | @getChatMethodBot.
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. |
Please read Contributing guidelines
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:
(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.
This project is under GPL v3.0 Licence.