{"id":41160386,"url":"https://github.com/wuxs/gotify-webhook","last_synced_at":"2026-01-22T19:21:39.956Z","repository":{"id":214138335,"uuid":"735798391","full_name":"wuxs/gotify-webhook","owner":"wuxs","description":"Forwards messages to webhook servers","archived":false,"fork":false,"pushed_at":"2025-02-20T02:16:46.000Z","size":54,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-20T03:21:59.955Z","etag":null,"topics":["gotify-plugin","webhook"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wuxs.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-12-26T05:38:22.000Z","updated_at":"2025-02-20T02:16:49.000Z","dependencies_parsed_at":"2024-06-21T02:17:19.628Z","dependency_job_id":"83d5831e-78a7-4b26-a986-01d9e4b976cc","html_url":"https://github.com/wuxs/gotify-webhook","commit_stats":null,"previous_names":["wuxs/multi-notify","wuxs/gotify-webhook"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wuxs/gotify-webhook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuxs%2Fgotify-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuxs%2Fgotify-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuxs%2Fgotify-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuxs%2Fgotify-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wuxs","download_url":"https://codeload.github.com/wuxs/gotify-webhook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuxs%2Fgotify-webhook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28669092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T17:07:18.858Z","status":"ssl_error","status_checked_at":"2026-01-22T17:05:02.040Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["gotify-plugin","webhook"],"created_at":"2026-01-22T19:21:39.211Z","updated_at":"2026-01-22T19:21:39.951Z","avatar_url":"https://github.com/wuxs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gotify-webhook\n\nA plugin forwarding messages to Webhook servers for [gotify/server](https://github.com/gotify/server)\nusing [gotify/plugin-api](https://github.com/gotify/plugin-api).\n\n## Getting Started\n\n1. Clone this repository.\n2. Download `gomod-cap` with `make download-tools` \n1. Build plugin with `make GOTIFY_VERSION=\"v2.5.0\" build`.\n1. Copy `build/webhook-linux-amd64.so` to the Gotify server plugin directory.\n1. Restart the Gotify server.\n1. Configure this plugin in the Gotify web console.\n1. Enable the plugin in the Gotify web console.\n\n## Configuration Guide\n\n### Webhook\n\nYou can configure multiple webhooks to which messages can be forwarded to.\n\nA full example is as follows:\n\n```yaml\n- url: http://pool:5678/webhook-test/mqtt\n  apps:\n    - 1\n    - 7\n    - 4\n  method: POST\n  header:\n    Content-Type: application/json\n  body: \"{{.title}}\\n\\n{{.message}}\"\n```\n\n#### Field specification\n\n| Field  | Sub-field    | Type            | Required | Default    | Description             |\n| ---    | ---          | ---             | ---      | ---        | ---                     |\n| url    |              | URL             | Y        |            | Webhook URL             |\n| apps   |              | Array           | N        |            | Gotify application IDs. |\n| method |              | String          | N        | POST       | HTTP request method.    |\n| header |              | Key-value pairs | N        |            | HTTP request headers.   |\n|        | Content-Type | String          | N        | text/plain |                         |\n| body   |              | String          | N        |            | HTTP request body.      |\n\n##### Application ID\n\nWhen configured, only messages from these applications can be forwarded to this webhook. Otherwise, \nevery message is forwarded.\n\nApplication IDs can be found by sending a request to the Gotify REST-API, which is delivered along\nwith your Gotify server. You can visit it through the relative path `/docs`, for example, if your\nGotify's URL is `http://pool:9090/`, then you can visit the REST-API through `http://pool:9090/docs`.\n\n##### Body\n\nThe body field can either be a plain string or a template. As the latter, the following placeholders\nare supported:\n\n- `{{.title}}`: Title of the forwarded message.\n- `{{.message}}`: Content of the forwarded message.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuxs%2Fgotify-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwuxs%2Fgotify-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuxs%2Fgotify-webhook/lists"}