Multifunctional telegram bot for ksiVPN project based on aiogram framework and using modules: asyncpg2, apscheduler, aiomoney, gpt4free. Deployment is possible using Docker with docker-compose.
- aiogram2 support
- PostgreSQL usage
- P2P payments via YooMoney
- ChatGPT integration
- subscription mechanics: renewal, expiration notifications
- promocodes mechanics
- referral system mechanics
- personal account mechanics
- localizations support
- panels for unauthorized users, authorized users and admin
- rapid deployment via Docker
- database backups via bot
- asynchronous code
- logging
Use Case diagram can be found here.
- Install Docker with Docker Compose according to the official instructions.
- Install git according to the official instructions.
- Register new telegram bot using BotFather and get bot's token.
git clone https://github.com/exmanka/ksiVPN-telegram-bot.git
— download the repository to your computer.cd ksiVPN-telegram-bot
— move to project directory.- Change text file
.env
according to your needs.
Important: all environment variables marked with# !
sign MUST be entered! docker compose up
— build images and run containers.
Now you can write to your bot and enjoy all its pre-installed features. You are free to play with functionality and database filling. Learn something new for yourself! 🎉
🔥 ksiVPN — an open source student project that has become something more not only for its creator, but also for most customers .Thanks to hard work, the use of basic modern protocols and competent server rental, the project is able to provide the highest quality VPN connection for the minimum cost.
PROMO_GITHUB_2049