{"id":25063749,"url":"https://github.com/alina1412/game_bot","last_synced_at":"2026-05-02T18:36:30.164Z","repository":{"id":276146399,"uuid":"924009546","full_name":"alina1412/game_bot","owner":"alina1412","description":"a game bot for vk chat","archived":false,"fork":false,"pushed_at":"2025-02-08T07:08:16.000Z","size":159,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T01:05:02.687Z","etag":null,"topics":["alembic","docker","fastapi","make","poetry","pytest","python","rabbitmq","sqlalchemy","vk-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alina1412.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-29T08:50:12.000Z","updated_at":"2025-02-08T07:08:19.000Z","dependencies_parsed_at":"2025-02-06T15:32:55.903Z","dependency_job_id":"062bc567-1235-43c3-8649-89798f3c7c1b","html_url":"https://github.com/alina1412/game_bot","commit_stats":null,"previous_names":["alina1412/game_bot"],"tags_count":0,"template":false,"template_full_name":"alina1412/fastapi-draft","purl":"pkg:github/alina1412/game_bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alina1412%2Fgame_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alina1412%2Fgame_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alina1412%2Fgame_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alina1412%2Fgame_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alina1412","download_url":"https://codeload.github.com/alina1412/game_bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alina1412%2Fgame_bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263833416,"owners_count":23517373,"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","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":["alembic","docker","fastapi","make","poetry","pytest","python","rabbitmq","sqlalchemy","vk-api"],"created_at":"2025-02-06T18:45:14.314Z","updated_at":"2026-05-02T18:36:30.158Z","avatar_url":"https://github.com/alina1412.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## VK Game Bot 🎮 (with FastApi and VK api)\nA game bot for VK chat built with FastAPI and VK API.\n\nThis bot integrates with VK chat for gameplay, uses RabbitMQ for message queuing and PostgreSQL for data storage.\n\nIt requires token for vk bot in config.yml.\n\n### 🛠️ Technology Stack\n- Core: Python, FastAPI, VK API\n- Database: PostgreSQL, SQLAlchemy, Alembic\n- Infrastructure: Docker, RabbitMQ\n- Tools: Poetry, pytest, make\n\n### Quick Start\nPrerequisites\n- Python 3.10.x (see .python-version)\n- Docker\n- Poetry (optional)\n  \n###  📸 Screenshots\n![bot_vk](https://github.com/user-attachments/assets/d19d9be1-2d9d-45c4-ad60-bef6717ed6a6)\n\n\n### Setup\n- check file .python-version\n- creating virtual environment or (`pyenv exec python -m venv .venv`), \n- `cp .env.example .env`  # Configure your variables\n- `cp config_example.yml config.yml` # Configure your variables\n- `poetry install`\n- `make up` # Starts PostgreSQL and RabbitMQ in docker\n- `make alembic`\n- running using poetry and make: `make run`\n- Access API docs: http://localhost:8000/docs/\n\n\n### notes\nenter docker container (example):\n`docker exec -it 47dece677d93  bash`\n\nin host console:\n`psql -h 127.0.0.1 -p 5433 -U user postgres -d db_game`\n\n\n### alembic:\n\n`alembic init -t async migration`\n`alembic revision --autogenerate -m 'initial'`\n\nedit files configs:\n`sqlalchemy.url = postgresql+asyncpg://%(DB_USERNAME)s:%(DB_PASSWORD)s@%(DB_HOST)s:%(DB_PORT)s/%(DB_NAME)s`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falina1412%2Fgame_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falina1412%2Fgame_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falina1412%2Fgame_bot/lists"}