{"id":28374096,"url":"https://github.com/phillmckinnon/webhook_alert_electronjs_gui","last_synced_at":"2026-05-15T13:01:59.265Z","repository":{"id":293698923,"uuid":"984852435","full_name":"PhillMckinnon/Webhook_Alert_ElectronJS_GUI","owner":"PhillMckinnon","description":"A GUI version of my previous webhook project (https://github.com/PhillMckinnon/Play-sound-on-webhook-alert)","archived":false,"fork":false,"pushed_at":"2025-05-16T16:56:27.000Z","size":1255,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T01:33:11.014Z","etag":null,"topics":["alert-system","api-listener","audio-alerts","desktop-app","electron","express","expressjs","gui","javascript","jquery","nodejs","notification-system","sound-alerts","sqlite3","uptime-kuma","webhook"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/PhillMckinnon.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-05-16T16:05:27.000Z","updated_at":"2025-05-17T15:02:19.000Z","dependencies_parsed_at":"2025-05-16T17:40:24.643Z","dependency_job_id":"739fc9d7-a9ac-4aae-939b-350e7c0bc00a","html_url":"https://github.com/PhillMckinnon/Webhook_Alert_ElectronJS_GUI","commit_stats":null,"previous_names":["phillmckinnon/webhook_alert_electronjs_gui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PhillMckinnon/Webhook_Alert_ElectronJS_GUI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhillMckinnon%2FWebhook_Alert_ElectronJS_GUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhillMckinnon%2FWebhook_Alert_ElectronJS_GUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhillMckinnon%2FWebhook_Alert_ElectronJS_GUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhillMckinnon%2FWebhook_Alert_ElectronJS_GUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhillMckinnon","download_url":"https://codeload.github.com/PhillMckinnon/Webhook_Alert_ElectronJS_GUI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhillMckinnon%2FWebhook_Alert_ElectronJS_GUI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33067476,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["alert-system","api-listener","audio-alerts","desktop-app","electron","express","expressjs","gui","javascript","jquery","nodejs","notification-system","sound-alerts","sqlite3","uptime-kuma","webhook"],"created_at":"2025-05-29T21:10:43.836Z","updated_at":"2026-05-15T13:01:59.247Z","avatar_url":"https://github.com/PhillMckinnon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Webhook_Alert_ElectronJS_GUI\r\n![Electron.js](https://img.shields.io/badge/Electron-2C2E3A?style=for-the-badge\u0026logo=electron\u0026logoColor=9FEAF9) ![ExpressJS](https://camo.githubusercontent.com/9789aea7953b74289df6760a71e717321e750032579075e89744c592f46461aa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f457870726573732e6a732d3030303030303f7374796c653d666f722d7468652d6261646765266c6f676f3d65787072657373266c6f676f436f6c6f723d7768697465) ![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge\u0026logo=javascript\u0026logoColor=black) ![jQuery](https://img.shields.io/badge/jQuery-0769AD?style=for-the-badge\u0026logo=jquery\u0026logoColor=white) ![Node.js](https://camo.githubusercontent.com/5efede1ede485921a068d065e72eae3446b1d4f9c8aba580ab290b060e1d436a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4e6f64652e6a732d3333393933333f7374796c653d666f722d7468652d6261646765266c6f676f3d6e6f64652e6a73266c6f676f436f6c6f723d7768697465) ![SQLite3](https://img.shields.io/badge/SQLite-003B57?style=for-the-badge\u0026logo=sqlite\u0026logoColor=white) \r\n\r\nThis project is a fork of (https://github.com/PhillMckinnon/Play-sound-on-webhook-alert) \r\n---\r\n\r\nAn application that listens for incoming webhook requests and plays a corresponding `.wav` sound file when a webhook is received, but with a GUI and packed into ElectronJS. Designed to be a simple and customisable alert system that can be integrated and used with various services (e.g ![Uptime Kuma](https://github.com/louislam/uptime-kuma)).\r\n\r\n![forgit](https://github.com/user-attachments/assets/fab7c8e9-012f-4996-82fc-04f7dc7fe097)\r\n\r\nThe app was developed during my practical workshop experience ( 07/04/2025 - 30/04/2025 )\r\n\r\n\r\n## Features\r\n- Listens for webhook requests on multiple endpoints (`/webhook0`, `/webhook1`, `/webhook2`, etc.).\r\n- Plays a specific `.wav` file for each webhook endpoint.\r\n- Logs incoming webhook data and playback status.\r\n- Easy to set up and use.\r\n\r\n## Prerequisites\r\n- Node.js installed on your system.\r\n- NPM (Node Package Manager) installed.\r\n\r\n\r\n## General Setup Instructions\r\n\r\n### 1. Clone the Repository\r\nClone this repository to your local machine:\r\n```bash\r\ngit clone https://github.com/PhillMckinnon/Webhook_Alert_ElectronJS_GUI\r\ncd Webhook_Alert_ElectronJS_GUI\r\n```\r\n\r\n### 2. Install Dependencies\r\nInstall the required Node.js dependencies:\r\n```bash\r\nnpm install\r\n```\r\n\r\n### 3. Configure Sound Files\r\nPlace your `.wav` sound files in the sounds directory. Ensure the filenames match the names  (e.g., `error2.wav`, `success2.wav`, etc.).\r\n\r\n### 4. Run the Application\r\nStart the application\r\n```bash\r\nnpm start\r\n```\r\nThe application will start listening on port `3000`. You can change it by editing port.json (located at UserDataDir).\r\n\r\n---\r\n\r\n## Building\r\n\r\n### 1. Clone the Repository\r\nClone this repository to your local machine:\r\n```bash\r\ngit clone https://github.com/PhillMckinnon/Webhook_Alert_ElectronJS_GUI\r\ncd Webhook_Alert_ElectronJS_GUI\r\n```\r\n\r\n### 2. Build the app\r\n```bash\r\nnpm run build\r\n```\r\n\r\n### 3. Configure Sound Files\r\nPlace your `.wav` sound files in the sounds directory. Ensure the filenames match the names  (e.g., `error2.wav`, `success2.wav`, etc.).\r\n\r\n### 4. Run the Application\r\nStart the application\r\n```bash\r\nrun the .exe on windows or ./webhooking in the output directory on linux\r\n```\r\n\r\n---\r\n\r\n## Usage\r\nOnce the application is running, you can send POST requests to the following endpoints to trigger sound alerts:\r\n- `/webhook0` → Plays `success0.wav/error.wav`\r\n- `/webhook1` → Plays `success1.wav/error1.wav`\r\n- `/webhook2` → Plays `success2.wav/error2.wav`\r\n- `/webhook3` → Plays `success3.wav/error3.wav`\r\n- `/webhook4` → Plays `success4.wav/error4.wav`\r\n\r\nMy custom body for Uptime Kuma:\r\n![notification_settings](https://github.com/user-attachments/assets/91098122-e543-4e6b-8902-e54d8476837d)\r\n\r\n```bash\r\nCUSTOM BODY\r\n-----------\r\n{\r\n  \"heartbeat\": {\r\n    \"status\": \"{{ heartbeatJSON.status }}\",\r\n    \"msg\": \"{{ heartbeatJSON.msg }}\",\r\n    \"time\": \"{{ heartbeatJSON.time }}\"\r\n  },\r\n  \"monitor\": {\r\n    \"name\": \"{{ monitorJSON.name }}\",\r\n    \"url\": \"{{ monitorJSON.url }}\"\r\n  },\r\n  \"msg\": \"{{ msg }}\"\r\n}\r\n\r\nADDITIONAL HEADERS\r\n------------------\r\n{\r\n\"Content-Type\": \"application/json\"\r\n}\r\n```\r\n\r\n\r\n## Customization\r\n- Modify the port number in the port.json file if needed.\r\n- Replace the `.wav` files with your own sound files.\r\n\r\n---\r\n\r\n## Troubleshooting\r\n- Ensure the `.wav` files are in the correct directory and have the correct filenames.\r\n- Make sure the application has the necessary permissions to access the sound files.\r\n\r\n---\r\n\r\n## License\r\nThis project is open-source and available under the [MIT License](LICENSE).\r\n\r\n\r\nEnjoy using the Webhook Sound Alert System! If you have any questions or issues, feel free to open an issue on GitHub.\r\n\r\n---\r\n\r\n## **📫Contact**\r\n\r\nFor any questions or feedback, feel free to reach out to:\r\n\r\n    Email: phillipmckinnonwork@proton.me\r\n    GitHub: @PhillMckinnon \r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphillmckinnon%2Fwebhook_alert_electronjs_gui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphillmckinnon%2Fwebhook_alert_electronjs_gui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphillmckinnon%2Fwebhook_alert_electronjs_gui/lists"}