Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muaath5/muaathbots
PHP Useful Telegram bots hosted in Heroku free
https://github.com/muaath5/muaathbots
bot heroku heroku-app heroku-template php simple-bot-api telegram telegram-bot telegram-bot-api
Last synced: 21 days ago
JSON representation
PHP Useful Telegram bots hosted in Heroku free
- Host: GitHub
- URL: https://github.com/muaath5/muaathbots
- Owner: Muaath5
- License: gpl-3.0
- Created: 2021-05-20T08:13:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-01T07:02:53.000Z (about 3 years ago)
- Last Synced: 2023-07-25T15:45:05.705Z (over 1 year ago)
- Topics: bot, heroku, heroku-app, heroku-template, php, simple-bot-api, telegram, telegram-bot, telegram-bot-api
- Language: PHP
- Homepage:
- Size: 456 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Muaath Bots
[![Licence: GPL v3.0](https://img.shields.io/badge/Licence-GPL%20v3.0-green)](LICENCE)
[![Bot API Version: 5.5.1](https://img.shields.io/badge/Bot%20API%20Version-5.5.1-dodgerblue)](https://core.telegram.org/bots/api#december-7-2021)**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](https://github.com/Muaath5/SimpleBotAPI)
- Single file for webhook
- Supports Translations.## Bots
**Avaliable bots:**
- Test payment 2.0 Bot | [@TestPaymentV2Bot](https://t.me/TestPaymentV2Bot).
- Remove Inline Buttons Bot | [@RemoveInlineButtonsBot](https://t.me/RemoveInlineButtonsBot).**Coming soon:**
- getChat method Bot | [@getChatMethodBot](https://t.me/getChatMethodBot).## 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**](CONTRIBUTING.md)## 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](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Muaath5/MuaathBots)
**(Optional) And if you want to edit on the code, Complete these instructions:**
- Install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) And [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli).
- Use command `cd ` in terminal, And replace __ with directory to create the project in.
- Use command `heroku git:clone -a ` in terminal, And replace __ 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):
```sh
cd %USERPROFILE%
mkdir .ssh
cd .ssh
ssh-keygen -t ed25519 -C "[email protected]" -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](https://github.com/settings/ssh/new)
- 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](LICENCE).