{"id":15154348,"url":"https://github.com/kerelko/team-finder-telegram-bot","last_synced_at":"2026-03-04T08:01:04.246Z","repository":{"id":249814626,"uuid":"817289708","full_name":"KERELKO/team-finder-telegram-bot","owner":"KERELKO","description":"Redis+MongoDB telegram bot that helps users to find teammates for different games.","archived":false,"fork":false,"pushed_at":"2025-05-26T14:16:19.000Z","size":307,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T19:48:15.620Z","etag":null,"topics":["docker-compose","mongo","mongodb","python","python-telegram-bot","python3","redis","redis-database","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","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/KERELKO.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":"2024-06-19T11:58:43.000Z","updated_at":"2025-04-25T19:26:40.000Z","dependencies_parsed_at":"2024-08-06T16:58:44.887Z","dependency_job_id":"e6117acb-9970-4845-9a48-fe51357d209f","html_url":"https://github.com/KERELKO/team-finder-telegram-bot","commit_stats":{"total_commits":34,"total_committers":2,"mean_commits":17.0,"dds":"0.11764705882352944","last_synced_commit":"579e5e90edffe5cafc70fb7e2a57c2eb19013525"},"previous_names":["kerelko/team-finder-telegram-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KERELKO/team-finder-telegram-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KERELKO%2Fteam-finder-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KERELKO%2Fteam-finder-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KERELKO%2Fteam-finder-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KERELKO%2Fteam-finder-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KERELKO","download_url":"https://codeload.github.com/KERELKO/team-finder-telegram-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KERELKO%2Fteam-finder-telegram-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30075905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker-compose","mongo","mongodb","python","python-telegram-bot","python3","redis","redis-database","telegram","telegram-bot"],"created_at":"2024-09-26T17:21:57.298Z","updated_at":"2026-03-04T08:01:04.229Z","avatar_url":"https://github.com/KERELKO.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Team-finder-telegram-bot\nThe __Team Finder Telegram Bot__ helps users find teammates for different games.\nIt is powered by [Redis](https://redis.io/)  and [MongoDB](https://www.mongodb.com/) \n\n## Technoogies\n  - [Redis](https://redis.io/): Used as temporary storage for quick data access.\n  - [MongoDB](https://www.mongodb.com/): Serves as the primary database for storing user data.\n  - [Python-telegram-bot](https://python-telegram-bot.org/): The main library for interacting with the Telegram API.\n\n## Brief overview\n### Data collection\n1. The bot collects user data, which is then saved to __MongoDB__\n\n![image](https://github.com/user-attachments/assets/1b6c4cc6-4ffc-4178-9bf7-4434c2fadeb6)\n\n### User options\n2. After data collection, the user has two options:  \n   - Create a team  \n   - search for a team to join\n\n### Joining a Team\n4. If the user chooses to join a team, he simply uses the __/find__ command. The bot then tries to find the best match based on the data provided by the user.\n![image](https://github.com/user-attachments/assets/d4dd9722-d2bb-493f-9403-989ff1f4a6cb)\n\n### Creating a Team\n5. If the user chooses to create a team, they provide the necessary information to the bot.\nThe bot stores this data in __Redis__, which saves and indexes it for a certain time\n(15 minutes by default). During this period, other users can join the team.\n\n![image](https://github.com/user-attachments/assets/191918f3-2616-462a-b099-ee5564a08d15)\n\n## Structure\n```\n.\n├── data\n│   └── mongodb\n├── docker-compose.yaml\n├── Dockerfile\n├── games.json\n├── LICENSE\n├── main.py\n├── Makefile\n├── poetry.lock\n├── pyproject.toml\n├── README.md\n├── src\n│   ├── bot\n│   │   ├── constants.py\n│   │   ├── filters.py\n│   │   ├── handlers\n│   │   │   ├── base.py\n│   │   │   ├── commands.py\n│   │   │   ├── conversations.py\n│   │   │   └── __init__.py\n│   │   ├── __init__.py\n│   │   └── utils\n│   │       ├── __init__.py\n│   │       └── parsers.py\n│   ├── common\n│   │   ├── config.py\n│   │   ├── di.py\n│   │   ├── filters.py\n│   │   ├── __init__.py\n│   │   └── utils.py\n│   ├── domain\n│   │   ├── entities\n│   │   │   ├── games\n│   │   │   │   ├── base.py\n│   │   │   │   ├── impl.py\n│   │   │   │   └── __init__.py\n│   │   │   └── __init__.py\n│   │   └── __init__.py\n│   ├── infra\n│   │   ├── __init__.py\n│   │   └── repositories\n│   │       ├── base.py\n│   │       ├── impl.py\n│   │       └── __init__.py\n│   └── __init__.py\n└── tests\n    ├── conftest.py\n    ├── details\n    │   ├── conftest.py\n    │   ├── __init__.py\n    │   ├── test_mongo_repo.py\n    │   └── test_redis_repo.py\n    ├── domain\n    │   ├── entities\n    │   │   ├── conftest.py\n    │   │   ├── __init__.py\n    │   │   ├── test_games.py\n    │   │   ├── test_groups.py\n    │   │   └── test_user.py\n    │   └── __init__.py\n    └── __init__.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerelko%2Fteam-finder-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkerelko%2Fteam-finder-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerelko%2Fteam-finder-telegram-bot/lists"}