{"id":28715504,"url":"https://github.com/dismob/github","last_synced_at":"2026-04-24T22:36:53.631Z","repository":{"id":298982885,"uuid":"1000909845","full_name":"dismob/github","owner":"dismob","description":"A dismob plugin to create an endpoint for github webhooks and display custom messages on Discord","archived":false,"fork":false,"pushed_at":"2025-06-13T23:40:15.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-14T00:31:03.332Z","etag":null,"topics":["bot","discord","discord-bot","discord-py","dismob","modular","modularity","module","modules","plugin","plugins","python","python-3","python3","webhook","webhooks"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dismob.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":"2025-06-12T14:04:09.000Z","updated_at":"2025-06-13T23:44:50.000Z","dependencies_parsed_at":"2025-06-14T00:31:05.149Z","dependency_job_id":"cd320a48-7585-4cbb-944d-f1a2769f43df","html_url":"https://github.com/dismob/github","commit_stats":null,"previous_names":["dismob/github"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dismob/github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dismob%2Fgithub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dismob%2Fgithub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dismob%2Fgithub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dismob%2Fgithub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dismob","download_url":"https://codeload.github.com/dismob/github/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dismob%2Fgithub/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259910742,"owners_count":22930713,"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","discord-py","dismob","modular","modularity","module","modules","plugin","plugins","python","python-3","python3","webhook","webhooks"],"created_at":"2025-06-15T02:10:15.081Z","updated_at":"2026-04-24T22:36:53.604Z","avatar_url":"https://github.com/dismob.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Webhook Endpoint\n\nThis is a [dismob](https://github.com/dismob/dismob) plugin which creates an endpoint server to receive github webhooks.\n\nYou can then configure how you want the bot using the added slash commands to post messages in your discord server when webhooks are received.\n\n## Installation\n\n\u003e [!IMPORTANT]\n\u003e You need to have an already setup [dismob](https://github.com/dismob/dismob) bot. Follow the instruction there to do it first.\n\nJust download/clone (or add as submodule) this repo into your dismob's `plugins` folder.  \nThe path **must** be `YourBot/plugins/github/main.py` at the end.\n\nThe default port of the endpoint is `8080`, but you can configure it by defining `WEBHOOK_PORT` in your `.env` file.  \nYou can also define the webhook secret by setting the `WEBHOOK_SECRET` value in your `.env` file.\n\nSomething like that:\n\n```txt\nWEBHOOK_PORT=\"5555\"\nWEBHOOK_SECRET=\"your webhook secret\"\n```\n\nOnce your bot is up and live, run those commands on your discord server:\n\n```\n!modules load github\n!sync\n```\n\n\u003e [!NOTE]\n\u003e Replace the prefix `!` by your own bot prefix when doing those commands!\n\nThen you can reload your discord client with `Ctrl+R` to see the new slash commands.\n\n## Commands\n\nCommand | Description\n--- | ---\n`/github webhook-settings \u003cwebhook event\u003e [params ...]` | Create or update settings for a specific webhook event. If no parameters are passed, display the current settings for the event.\n`/github enable-webhook-event \u003cwebhook event\u003e \u003cenable\u003e` | Enable or disable a specific webhook event\n\nYou can use any data sent by the webhook in your title and messages.\nFor example, a `release.published` event will have some data about the release and its repo.  \nFor example, `release[html_url]` will holds the link to the github release, and `release[name]` will holds the name of the github release.\n\nAn example command:\n\n```\n/github webhook-settings event:release.published title:{release[name]} message:New release! :tada: \\nGet it [here]({release[html_url]})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdismob%2Fgithub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdismob%2Fgithub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdismob%2Fgithub/lists"}