{"id":27296249,"url":"https://github.com/konnovdev/cpop_bot","last_synced_at":"2025-08-01T12:03:30.831Z","repository":{"id":41974859,"uuid":"270295344","full_name":"konnovdev/cpop_bot","owner":"konnovdev","description":"telegram bot for cpop.tw","archived":false,"fork":false,"pushed_at":"2022-04-21T05:02:35.000Z","size":3789,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"dev-pyrogram","last_synced_at":"2024-04-19T22:44:37.259Z","etag":null,"topics":["aiogram","bot","cpop","pyrogram","telegram-bot"],"latest_commit_sha":null,"homepage":"https://cpop.tw","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/konnovdev.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}},"created_at":"2020-06-07T12:12:03.000Z","updated_at":"2024-04-19T22:44:37.260Z","dependencies_parsed_at":"2022-08-12T01:10:26.846Z","dependency_job_id":null,"html_url":"https://github.com/konnovdev/cpop_bot","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/konnovdev%2Fcpop_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konnovdev%2Fcpop_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konnovdev%2Fcpop_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konnovdev%2Fcpop_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konnovdev","download_url":"https://codeload.github.com/konnovdev/cpop_bot/tar.gz/refs/heads/dev-pyrogram","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248496569,"owners_count":21113858,"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":["aiogram","bot","cpop","pyrogram","telegram-bot"],"created_at":"2025-04-11T23:34:28.815Z","updated_at":"2025-04-11T23:34:29.383Z","avatar_url":"https://github.com/konnovdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tgbot\n\nA Telegram bot made with [Pyrogram Smart Plugins](https://docs.pyrogram.org/topics/smart-plugins)\n\n## Features\n- Get audio from a YouTube video - just send the video link, the bot will convert the music automatically.\n- Get current weather with **OpenWeatherApi** - use `/weather city`\n- Get a **wolframalpha** answer for the question - use `/wf your query`\n- Look up a word in **cedict** (Chinese/English dictionary) - use `/dic word`\n\n## Requirements\n\n- Python 3.6 or higher\n- A [Telegram API key](//docs.pyrogram.org/intro/setup#api-keys)\n- A [Telegram bot token](//t.me/botfather)\n\n## Run with venv\n\n1. `virtualenv venv` to create a virtual environment\n2. install `python3-devel zlib-devel libjpeg-turbo-devel libwebp-devel`,\n   clear cache of pip (`~/.cache/pip` on linux distro)\n   for building wheel for Pillow. with apt:\n   `apt install -y python3-dev zlib1g-dev libjpeg-turbo8-dev libwebp-dev`\n3. `venv/bin/pip install -U -r requirements.txt` to install the requirements\n4. Create a new `config.ini` file, copy-paste the following and replace with your own\n   values:\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```\n   Create `config.py` and add constants that are specified in config_example.py\n5. Run with `venv/bin/python tgbot.py`\n6. Stop with \u003ckbd\u003eCTRL+C\u003c/kbd\u003e\n\n## Run with docker\n\n1. Install docker and docker-compose\n2. Open the project directory in terminal and run `docker-compose up -d`\n3. You can stop the bot by executing `docker-compose down` (you must be in the project directory) \n\n## License\n\nAGPL-3.0-or-later\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonnovdev%2Fcpop_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonnovdev%2Fcpop_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonnovdev%2Fcpop_bot/lists"}