{"id":23388776,"url":"https://github.com/dashezup/tgbot","last_synced_at":"2025-04-11T06:45:02.199Z","repository":{"id":55312764,"uuid":"324253213","full_name":"dashezup/tgbot","owner":"dashezup","description":"A collection of Pyrogram Smart Plugins for Telegram bots","archived":false,"fork":false,"pushed_at":"2022-03-13T20:16:21.000Z","size":108,"stargazers_count":23,"open_issues_count":2,"forks_count":12,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-03-25T04:41:29.464Z","etag":null,"topics":["extensions","plugins","pyrogram","python","telegram","telegram-bot","tgbot"],"latest_commit_sha":null,"homepage":"","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}},"created_at":"2020-12-24T23:37:23.000Z","updated_at":"2025-03-01T16:40:41.000Z","dependencies_parsed_at":"2022-08-14T20:41:34.506Z","dependency_job_id":null,"html_url":"https://github.com/dashezup/tgbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashezup%2Ftgbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashezup%2Ftgbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashezup%2Ftgbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashezup%2Ftgbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashezup","download_url":"https://codeload.github.com/dashezup/tgbot/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358549,"owners_count":21090401,"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":["extensions","plugins","pyrogram","python","telegram","telegram-bot","tgbot"],"created_at":"2024-12-22T02:34:28.991Z","updated_at":"2025-04-11T06:45:02.171Z","avatar_url":"https://github.com/dashezup.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tgbot\n\nA collection of Pyrogram Smart Plugins for Telegram bots, made with\n[Pyrogram Smart Plugins](https://docs.pyrogram.org/topics/smart-plugins)\n\n- Some of the plugins are used in [@ezupdevbot](https://t.me/ezupdevbot)\n  (exclusive use in Dash's groups)\n- `media.music` plugin is ported to the Heroku deployment friendly project\n  [tgmusicbot](https://github.com/callsmusic/tgmusicbot)\n\n## Plugins\n\n| Plugin                   | Description                                                |\n|--------------------------|------------------------------------------------------------|\n| `admin.call-adimn`       | @admin in groups                                           |\n| `captcha.emoji_buttons`  | 4 random emojis for group CAPTCHA                          |\n| `captcha.one_button`     | one button for group CAPTCHA                               |\n| `media.music`            | download music from YouTube/SoundCloud/Mixcloud            |\n| `media.ytdl_with_button` | download videos from various sites                         |\n| `vcsets.notes`           | notes for Telegram group @VCSets                           |\n| `commands`               | some commands such like `!start` and `!help`               |\n| `pin`                    | /pin a message and open a poll for loud pin                |\n| `ping`                   | reply to ping with pong for checking if the bot was online |\n\n## Requirements\n\n- Python 3.6 or higher (some plugins may require higher versions)\n- A [Telegram API key](https://docs.pyrogram.org/intro/setup#api-keys)\n- A [Telegram bot token](https://t.me/botfather)\n\n## Run\n\n1. `virtualenv venv` to create a virtual environment\n2. install `python3-devel zlib-devel libjpeg-turbo-devel libwebp-devel`, clear\n   cache of pip (`~/.cache/pip` on linux distro)\n   for building wheel for Pillow.\n   `venv/bin/pip install -U -r requirements.txt` to install the requirements\n3. Create a new `config.ini` file, copy-paste the following and replace the\n   values with your own. Exclude or include plugins to fit your needs.\n   Create `config.py` and add constants that are specified in module docstrings\n   of enabled plugins.\n   ```\n   [pyrogram]\n   api_id = 1234567\n   api_hash = 0123456789abcdef0123456789abcdef\n   bot_token = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11\n\n   [plugins]\n   root = plugins\n   exclude = welcome\n   ```\n4. Run with `venv/bin/python tgbot.py`\n5. Stop with \u003ckbd\u003eCTRL+C\u003c/kbd\u003e\n\n## License\n\nAGPL-3.0-or-later\n\n```\ntgbot, a collection of Pyrogram Smart Plugins for Telegram bots\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%2Ftgbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashezup%2Ftgbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashezup%2Ftgbot/lists"}