{"id":19204661,"url":"https://github.com/openttd/dorpsgek","last_synced_at":"2025-05-12T16:09:53.083Z","repository":{"id":36984754,"uuid":"205524312","full_name":"OpenTTD/DorpsGek","owner":"OpenTTD","description":"DorpsGek is an IRC bot, that for example bridges GitHub events to IRC.","archived":false,"fork":false,"pushed_at":"2025-04-01T01:43:00.000Z","size":195,"stargazers_count":2,"open_issues_count":1,"forks_count":4,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-20T14:43:00.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenTTD.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,"zenodo":null}},"created_at":"2019-08-31T09:32:04.000Z","updated_at":"2025-02-15T09:56:22.000Z","dependencies_parsed_at":"2024-01-04T09:56:31.221Z","dependency_job_id":"86520cde-08d1-48db-a80c-4d16aa04f430","html_url":"https://github.com/OpenTTD/DorpsGek","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTTD%2FDorpsGek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTTD%2FDorpsGek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTTD%2FDorpsGek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTTD%2FDorpsGek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenTTD","download_url":"https://codeload.github.com/OpenTTD/DorpsGek/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253773923,"owners_count":21962195,"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":[],"created_at":"2024-11-09T13:09:17.786Z","updated_at":"2025-05-12T16:09:53.035Z","avatar_url":"https://github.com/OpenTTD.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DorpsGek\n\n[![GitHub License](https://img.shields.io/github/license/OpenTTD/dorpsgek)](https://github.com/OpenTTD/dorpsgek/blob/main/LICENSE)\n\nDorpsGek is an IRC bot with several tasks:\n- It bridges GitHub Events to IRC\n- It handles channel moderation (`@op`, `@kick`, ..)\n- It shows when someone was last seen (`@seen`)\n- It logs channels for backlog reading\n\n## Development\n\nThis server is based on [Limnoria](https://github.com/ProgVal/Limnoria).\nBecause of many issues and shortcomings in Limnoria, there are some quirks in this codebase.\nFor example, configuration is generated by the `dorpsgek` module, as otherwise it is nearly impossible to bring secrets inside the bot without storing them inside the git repository.\n\nIt is build and tested with Python 3.11.\n\n### Running a local server\n\n#### Dependencies\n\n- Python3.11 or higher.\n\n#### Preparing your venv\n\nTo start it, you are advised to first create a virtualenv:\n\n```bash\npython3 -m venv .env\n.env/bin/pip install -r requirements.txt\n```\n\n#### Starting a local server\n\nYou can start the HTTP server by running:\n\n```bash\n.env/bin/python -m dorpsgek --port 8000 --channel dorpsgek-test\n```\n\nThis will start the IRC bot and it will join `#dorpsgek-test` on OFTC.\nSee `--help` for further configuration.\nAlthough you can start `supybot DorpsGek-generated.conf`, we strongly suggest to always use the `dorpsgek` module as bootstrap for starting the bot.\n\n### Running via docker\n\n```bash\ndocker build -t openttd/dorpsgek:local .\ndocker run --rm -p 127.0.0.1:8000:80 openttd/dorpsgek:local\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenttd%2Fdorpsgek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenttd%2Fdorpsgek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenttd%2Fdorpsgek/lists"}