{"id":24865014,"url":"https://github.com/alerrad/referral-bot","last_synced_at":"2025-10-14T08:36:25.108Z","repository":{"id":289101754,"uuid":"949520448","full_name":"alerrad/referral-bot","owner":"alerrad","description":"Open-source telegram bot template with leaderboard mini-app for referral links.","archived":false,"fork":false,"pushed_at":"2025-04-21T14:18:56.000Z","size":239,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-21T15:31:20.467Z","etag":null,"topics":["bot-template","referral-bot","telegram","telegram-bot","telegram-mini-app"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alerrad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-16T16:38:34.000Z","updated_at":"2025-04-21T14:19:00.000Z","dependencies_parsed_at":"2025-04-21T15:42:39.490Z","dependency_job_id":null,"html_url":"https://github.com/alerrad/referral-bot","commit_stats":null,"previous_names":["alerrad/referral-bot"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/alerrad/referral-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alerrad%2Freferral-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alerrad%2Freferral-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alerrad%2Freferral-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alerrad%2Freferral-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alerrad","download_url":"https://codeload.github.com/alerrad/referral-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alerrad%2Freferral-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018302,"owners_count":26086342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot-template","referral-bot","telegram","telegram-bot","telegram-mini-app"],"created_at":"2025-01-31T23:57:00.110Z","updated_at":"2025-10-14T08:36:25.103Z","avatar_url":"https://github.com/alerrad.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Referral Telegram Bot 🤖\n\nOpen-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.\n\n![](https://img.shields.io/badge/license-MIT-blue) ![](https://flat.badgen.net/github/stars/alerrad/referral-bot)\n\n![preview](./leaderboard-mini-app/public/preview.png)\n*mini-app preview*\n\n## Key Features 🚀\n\n- **Secure Invite Links**: Generate unique, secure invite links to accurately track referrals.\n- **Leaderboard Mini-App**: Visual leaderboard with real-time updates to enhance user engagement.\n- **Pagination \u0026 Search**: Quickly search participants by name and paginate results efficiently.\n- **Anti-Flood Protection**: Uses Redis caching to prevent spam and abuse.\n- **Personal Position Tracking**: Allows users to monitor their referral ranking easily.\n- **Scalable \u0026 Maintainable**: Structured codebase that's easy to extend or adapt.\n\n## To-do 📝\n\n- Add admin panel\n- Complete multi-language support\n\n## Quick Start 🛠\n\n1. Clone this repo\n2. Configure .env(s) as in .example\n3. Run bot's compose ```docker-compose up --build -d```\n4. Host the mini-app on any provider \u0026 copy link\n5. Embed the link to your bot through [@BotFather](https://t.me/BotFather) on Telegram\n\n## Contribution 🤝\nContributions are welcome! Feel free to open issues or submit pull requests.\n\n1) Fork the project\n2) Create your Feature Branch\n3) Commit your Changes \u0026 push to the Branch\n4) Open a Pull Request\n\n## License\n\nDistributed under [MIT License](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falerrad%2Freferral-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falerrad%2Freferral-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falerrad%2Freferral-bot/lists"}