{"id":16395471,"url":"https://github.com/williamd1k0/rgbot","last_synced_at":"2025-06-27T02:37:14.907Z","repository":{"id":43247475,"uuid":"192860809","full_name":"williamd1k0/rgbot","owner":"williamd1k0","description":"Rinha de Galo BOT :rooster:","archived":false,"fork":false,"pushed_at":"2023-10-03T23:51:26.000Z","size":13807,"stargazers_count":5,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T21:07:03.263Z","etag":null,"topics":["bot","mastodon-bot","pillow","ponyorm","python","python3","twitter-bot"],"latest_commit_sha":null,"homepage":"https://twitter.com/rinhadegalobot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/williamd1k0.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}},"created_at":"2019-06-20T06:19:36.000Z","updated_at":"2024-03-12T15:27:12.000Z","dependencies_parsed_at":"2025-02-11T18:44:29.203Z","dependency_job_id":null,"html_url":"https://github.com/williamd1k0/rgbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/williamd1k0/rgbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamd1k0%2Frgbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamd1k0%2Frgbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamd1k0%2Frgbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamd1k0%2Frgbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williamd1k0","download_url":"https://codeload.github.com/williamd1k0/rgbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamd1k0%2Frgbot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262179247,"owners_count":23271199,"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":["bot","mastodon-bot","pillow","ponyorm","python","python3","twitter-bot"],"created_at":"2024-10-11T05:04:54.616Z","updated_at":"2025-06-27T02:37:14.881Z","avatar_url":"https://github.com/williamd1k0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RGBot :rooster: (Rinha de Galo BOT)\n\n![heroku](https://img.shields.io/static/v1?label=heroku\u0026message=deployed\u0026color=success\u0026style=flat-square\u0026logo=heroku)\n\u003c!-- The Heroku badge is static because it's deployed via Heroku Scheduler --\u003e\n![python](https://img.shields.io/badge/python-3.5%2B-blue.svg?style=flat-square)\n![godot](https://img.shields.io/badge/Godot-3.1%2B-blue.svg?style=flat-square)\n\n## Introdução\n\n\u003e**NÃO APOIAMOS RINHA DE GALO REAL. NÃO PARTICIPE DE ATIVIDADES ILÍCITAS.**\n\n**Rinha de Galo Bot** é um bot automático onde dois galos aleatoriamente gerados/selecionados são postos para lutar em turnos.\nPor ser automático, você não pode influenciar a luta - apenas torça pelo seu galo favorito!\n\n## Como funciona?\n\n- Dois galos são gerados, com **Vitalidade**, **Pontos de Ataque** e **quatro ataques**;\n- O bot seleciona, aleatoriamente, um dos galos para atacar o outro;\n- O bot seleciona, aleatoriamente, um dos ataques do galo escolhido;\n- Cada ataque tem um valor de Pontos de Ataque que são gastos quando usado;\n- Se o ataque escolhido não puder ser realizado por falta de Pontos de Ataque, o galo não ataca e perde um turno;\n- Vence quem fizer o outro galo perder completamente a Vitalidade.\n\n## Contas ativas\n\nMastodon: https://botsin.space/@rgbot\n\nTwitter: https://twitter.com/rinhadegalobot\n\n## Desenvolvimento\n\n### Servidor\n\n- Python 3.5+\n- PostgreSQL (ou SQLite3)\n\n### Bibliotecas\n\n- pony (ORM/Banco de dados)\n- pillow (Manipulador de imagens)\n- psycopg2 (PostgreSQL para Python)\n- tweepy (Twitter API)\n- Mastodon.py (Mastodon API)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamd1k0%2Frgbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliamd1k0%2Frgbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamd1k0%2Frgbot/lists"}