{"id":23388784,"url":"https://github.com/dashezup/ezpointsbot","last_synced_at":"2025-10-09T07:14:50.553Z","repository":{"id":130550982,"uuid":"372965992","full_name":"dashezup/ezPointsBot","owner":"dashezup","description":"Telegram Bot for upvote and downvote messages","archived":false,"fork":false,"pushed_at":"2021-09-01T08:22:56.000Z","size":25,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T07:14:49.961Z","etag":null,"topics":["mariadb","pyrogram","python","telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/ezPointsBot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dashezup.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-01T21:30:24.000Z","updated_at":"2024-07-21T20:52:00.000Z","dependencies_parsed_at":"2023-03-19T13:19:44.420Z","dependency_job_id":null,"html_url":"https://github.com/dashezup/ezPointsBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dashezup/ezPointsBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashezup%2FezPointsBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashezup%2FezPointsBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashezup%2FezPointsBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashezup%2FezPointsBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashezup","download_url":"https://codeload.github.com/dashezup/ezPointsBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashezup%2FezPointsBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000991,"owners_count":26082972,"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-09T02:00:07.460Z","response_time":59,"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":["mariadb","pyrogram","python","telegram-bot"],"created_at":"2024-12-22T02:34:30.660Z","updated_at":"2025-10-09T07:14:50.533Z","avatar_url":"https://github.com/dashezup.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## EZ Points Bot (ezPointsBot)\n\nTelegram Bot for upvote and downvote messages\n\n### Usage\n\n- [add @ezPointsBot to your groups](https://t.me/ezPointsBot?startgroup=_) to\n  use it\n- `+|-` (as a reply) upvote/downvote\n- `++|-- [reason]` (as a reply) upvote/downvote with reasons specified\n- `/points` get top points in the group or user points (as a reply)\n\n### Setup\n\nThis bot uses MariaDB for saving notes\n\n#### Requirements\n\n- Python 3.8 or higher\n- A [Telegram API key](https://docs.pyrogram.org/intro/setup#api-keys)\n- A Telegram Bot created with [BotFather](https://t.me/BotFather) with\n  \"group privacy mode\" disabled\n- `libmariadbclient`\n\nShell\n\n```\nsudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql\n# start MariaDB service\n```\n\nSQL\n\n```\n-- sudo mysql -u root\nDROP USER IF EXISTS ezpoints;\nDROP DATABASE IF EXISTS ezpoints;\nCREATE DATABASE ezpoints;\nGRANT CREATE,DELETE,INSERT,SELECT,UPDATE ON ezpoints.* TO `ezpoints`@`localhost` IDENTIFIED BY 'password';\nFLUSH PRIVILEGES;\n```\n\n### Run the Bot\n\nCreate a new `config.ini`, copy-paste the following and replace the values with\nyour own\n\n```\n[pyrogram]\napi_id = 1234567\napi_hash = 0123456789abcdef0123456789abcdef\nbot_token = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11\n```\n\nRun it\n\n```\nvirtualenv venv\nvenv/bin/pip install -U -r requirements.txt\nexport MARIADB_HOST=\"localhost\"\nexport MARIADB_PORT=\"3306\"\nexport MARIADB_PASSWORD=\"password\"\nvenv/bin/python bot.py\n```\n\n### License\n\nAGPL-3.0-or-later\n\n```\nezPointsBot, Telegram Bot for upvote and downvote messages\nCopyright (C) 2021  Dash Eclipse\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU Affero General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashezup%2Fezpointsbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashezup%2Fezpointsbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashezup%2Fezpointsbot/lists"}