Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cofob/marzbanbot
Simple marzban telegram bot
https://github.com/cofob/marzbanbot
Last synced: about 22 hours ago
JSON representation
Simple marzban telegram bot
- Host: GitHub
- URL: https://github.com/cofob/marzbanbot
- Owner: cofob
- License: gpl-3.0
- Created: 2024-02-18T19:37:09.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-04-18T16:09:45.000Z (7 months ago)
- Last Synced: 2024-10-12T00:25:48.438Z (27 days ago)
- Language: Python
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MarzbanBot
Marzbanbot is a Telegram bot that creates new configs in Marzban. The bot can be run using a Docker Compose file, which is located in the root folder of the repository.
## Prerequisites
Before running bot, you need to have Docker and Docker Compose installed on your system. If you don't have them installed, please follow the instructions at and to install them.
## Getting Started
1. Clone the repository using the following command:
```bash
git clone https://github.com/cofob/marzbanbot.git
```2. Go to the root folder of the repository:
```bash
cd marzbanbot
```3. Open the docker-compose.yml file in a text editor.
4. Replace the value of the TOKEN environment variable with your Telegram bot token. You can get a bot token by talking to the [BotFather](https://t.me/BotFather).
5. Replace other environment variables.
6. Save and close the docker-compose.yml file.
7. Run the following command to start bot:```bash
docker-compose up -d
```This will start the Docker container in detached mode, which means it will run in the background.
7. You can now interact with app by sending messages to your Telegram bot.
## Conclusion
Congratulations! You have successfully set up bot. If you have any questions or feedback, please feel free to reach out to the developers at [issues](https://github.com/cofob/marzban/issues).