{"id":24517489,"url":"https://github.com/futuretea/homelab-webhook","last_synced_at":"2025-03-15T11:10:07.984Z","repository":{"id":65193942,"uuid":"504625599","full_name":"futuretea/homelab-webhook","owner":"futuretea","description":"apps -\u003e homelab-webhook -\u003e serverchan -\u003e wechat","archived":false,"fork":false,"pushed_at":"2023-12-04T03:13:39.000Z","size":52,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T01:36:33.141Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/futuretea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-06-17T17:49:57.000Z","updated_at":"2023-05-29T01:24:09.000Z","dependencies_parsed_at":"2023-12-04T04:22:23.093Z","dependency_job_id":"699aa04f-0c8f-49a9-8ec6-5b5418dd7aba","html_url":"https://github.com/futuretea/homelab-webhook","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futuretea%2Fhomelab-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futuretea%2Fhomelab-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futuretea%2Fhomelab-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futuretea%2Fhomelab-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/futuretea","download_url":"https://codeload.github.com/futuretea/homelab-webhook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719399,"owners_count":20336607,"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":"2025-01-22T01:34:11.537Z","updated_at":"2025-03-15T11:10:07.962Z","avatar_url":"https://github.com/futuretea.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# homelab-webhook\n\n## Architecture\n\napps -\u003e homelab-webhook -\u003e serverchan -\u003e wechat\n\n## Setup\n```bash\nSERVER_CHAN_SEND_KEY=\u003cyour serverchan key\u003e\ndocker run -itd --name homelab-webhook \\\n  --restart=unless-stopped \\\n  -p 8080:8080 \\\n  -e SERVER_CHAN_SEND_KEY=${SERVER_CHAN_SEND_KEY} \\\n  futuretea/homelab-webhook:latest\n```\n\n## Uptime-Kuma notify setting\n![setup.png](setup.png)\n\n## Harvester post install notify setting\nRefer to https://github.com/harvester/harvester-installer/pull/57\n\n```yaml\ninstall:\n  webhooks:\n    - event: SUCCEEDED\n      method: POST\n      url: http://\u003chomelab-webhook\u003e:8080/harvester-serverchan/SUCCEEDED\n      headers:\n        Content-Type:\n           - 'application/json; charset=utf-8'\n      payload: |\n        {\n          \"hostname\": \"{{.Hostname}}\",\n          \"ipv4\": \"{{.IPAddrV4}}\",\n          \"ipv6\": \"{{.IPAddrV6}}\",\n          \"mac\": \"{{.MACAddr}}\"\n        }\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuturetea%2Fhomelab-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuturetea%2Fhomelab-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuturetea%2Fhomelab-webhook/lists"}