Skip to content

alerrad/referral-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Referral Telegram Bot 🤖

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.

preview mini-app preview

Key Features 🚀

  • 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.

To-do 📝

  • Add admin panel
  • Complete multi-language support

Quick Start 🛠

  1. Clone this repo
  2. Configure .env(s) as in .example
  3. Run bot's compose docker-compose up --build -d
  4. Host the mini-app on any provider & copy link
  5. Embed the link to your bot through @BotFather on Telegram

Contribution 🤝

Contributions are welcome! Feel free to open issues or submit pull requests.

  1. Fork the project
  2. Create your Feature Branch
  3. Commit your Changes & push to the Branch
  4. Open a Pull Request

License

Distributed under MIT License.

About

Ideal bot for building and growing your community in telegram.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published