{"id":22371826,"url":"https://github.com/0xk1f0/powerbot","last_synced_at":"2025-03-26T17:17:16.501Z","repository":{"id":154589635,"uuid":"600590133","full_name":"0xk1f0/powerBot","owner":"0xk1f0","description":"A do-it-all discord bot written in spaghetti python","archived":false,"fork":false,"pushed_at":"2024-12-04T19:44:38.000Z","size":10753,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T22:07:36.492Z","etag":null,"topics":["bot","discord","discord-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xk1f0.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":"2023-02-12T00:22:17.000Z","updated_at":"2024-12-04T19:44:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f92e82e-8a77-43b8-8bdc-08b71999a24a","html_url":"https://github.com/0xk1f0/powerBot","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/0xk1f0%2FpowerBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xk1f0%2FpowerBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xk1f0%2FpowerBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xk1f0%2FpowerBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xk1f0","download_url":"https://codeload.github.com/0xk1f0/powerBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245699262,"owners_count":20657987,"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","discord","discord-bot"],"created_at":"2024-12-04T20:30:29.735Z","updated_at":"2025-03-26T17:17:16.478Z","avatar_url":"https://github.com/0xk1f0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!NOTE]  \n\u003e Project in Maintenance Mode. Only doing Security related Updates.\n\n# powerBot\n\n[![Test, Build and Publish](https://github.com/0xk1f0/powerBot/actions/workflows/test_build_publish.yml/badge.svg)](https://github.com/0xk1f0/powerBot/actions/workflows/test_build_publish.yml)\n\nA do-it-all discord bot written in spaghetti python\n\n### What is integrated up to now\n\n- Basic Moderation Functions like user restricting and message deletion\n- Base32/64 Encode and Decode\n- MD5/SHA Checksum\n- Reddit fetching and Daily Posts to a specified channel via API\n- waifu.pics fetching via API\n- macvendors.com MAC-Address checking via API\n\n## Usage\n\n\u003e Don't forget to edit and rename the example `config.example` accordingly\n\n### Docker\n\nA docker image is autobuilt and pushed to this repo's registry using\na workflow.\n\n```bash\ndocker pull ghcr.io/0xk1f0/powerbot:master\n```\n\nYou can use the docker-compose file provided in this repo for easy deployment.\n\n\u003e Don't forget to set the preferred Timezone in the `docker-compose.yml` file\n\n```bash\ngit clone https://github.com/0xk1f0/powerBot\ncd powerBot/\ndocker-compose up --build\n```\n\nThe config location is handled by bind mounts, so the bot doesnt need to be rebuild when just the config changes.\n\n### Manual\n\nYou'll need to have Python installed for this to work\n\n```bash\ngit clone https://github.com/0xk1f0/powerBot\ncd powerBot/\npython -m venv env\nsource env/bin/activate\npip install -r requirements.txt\nDATA_PATH=\"./data\" CONF_PATH=\"./config\" DS_PATH=\"./src/bin\" python src/runbot.py\n```\n\n### Building the downscaler (`qds`)\n\nYou'll need to have Rust installed for this to work\n\n```bash\n# assuming you are in the cloned folder\ncd src/opt/qds\ncargo build --target x86_64-unknown-linux-musl --release\ncp target/x86_64-unknown-linux-musl/release/qds ../../bin/\n```\n\nYou could also implement other downscalers, although that could require some code modification.\n\n### Obtaining the API Keys\n\nDiscord and Reddit are straightforward, just google.\n\n## License\n\nGPL 3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xk1f0%2Fpowerbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xk1f0%2Fpowerbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xk1f0%2Fpowerbot/lists"}