Open-source referral telegram bot with leaderboard mini-app. Feel free to use this minimal version for your own projects or to extend logic of this one for your needs.
- Secure Invite Links: Generate unique, secure invite links to accurately track referrals.
- Leaderboard Mini-App: Visual leaderboard with real-time updates to enhance user engagement.
- Pagination & Search: Quickly search participants by name and paginate results efficiently.
- Anti-Flood Protection: Uses Redis caching to prevent spam and abuse.
- Personal Position Tracking: Allows users to monitor their referral ranking easily.
- Scalable & Maintainable: Structured codebase that's easy to extend or adapt.
- Add admin panel
- Complete multi-language support
- Clone this repo
- Configure .env(s) as in .example
- Run bot's compose
docker-compose up --build -d
- Host the mini-app on any provider & copy link
- Embed the link to your bot through @BotFather on Telegram
Contributions are welcome! Feel free to open issues or submit pull requests.
- Fork the project
- Create your Feature Branch
- Commit your Changes & push to the Branch
- Open a Pull Request
Distributed under MIT License.