{"id":29906726,"url":"https://github.com/sanwebinfo/deno-webhook-server","last_synced_at":"2026-05-08T04:04:23.005Z","repository":{"id":306741994,"uuid":"824178245","full_name":"sanwebinfo/deno-webhook-server","owner":"sanwebinfo","description":"Deno Webhook Server is a real-time server application built using Deno. It supports WebSocket connections for real-time updates it includes endpoints for triggering reloads and retrieving messages.","archived":false,"fork":false,"pushed_at":"2025-07-27T09:20:04.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T11:28:08.470Z","etag":null,"topics":["api","bulma","deno","deno-server","html","javascript","typscript","webhook","webhook-server","websocket","websocket-server"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/sanwebinfo.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":"2024-07-04T14:17:22.000Z","updated_at":"2025-07-27T09:20:08.000Z","dependencies_parsed_at":"2025-07-27T11:29:20.663Z","dependency_job_id":"cb4170b0-3c57-40c5-b1f4-3b8769e4bdfa","html_url":"https://github.com/sanwebinfo/deno-webhook-server","commit_stats":null,"previous_names":["sanwebinfo/deno-webhook-server"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sanwebinfo/deno-webhook-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanwebinfo%2Fdeno-webhook-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanwebinfo%2Fdeno-webhook-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanwebinfo%2Fdeno-webhook-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanwebinfo%2Fdeno-webhook-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanwebinfo","download_url":"https://codeload.github.com/sanwebinfo/deno-webhook-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanwebinfo%2Fdeno-webhook-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268297546,"owners_count":24228126,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","bulma","deno","deno-server","html","javascript","typscript","webhook","webhook-server","websocket","websocket-server"],"created_at":"2025-08-01T21:12:32.211Z","updated_at":"2026-05-08T04:04:22.972Z","avatar_url":"https://github.com/sanwebinfo.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deno Webhook Server\n\nDeno Webhook Server is a real-time server application built using Deno. It supports WebSocket connections for real-time updates it includes endpoints for triggering reloads and retrieving messages.  \n\n## Features\n\n- **WebSocket Support**: Real-time communication with clients.\n- **Message Handling**: send and receive messages with validation.\n- **Reload Trigger**: Notifies all connected clients to reload.  \n\n## Prerequisites\n\n- **Deno**: Ensure you have Deno installed. You can install it following the [official guide](https://deno.land/#installation).\n\n## Setup\n\n- clone the repository or Download\n\n```sh\ngit clone https://github.com/sanwebinfo/deno-webhook-server.git\ncd deno-webhook-server\n```\n\n- Install Dependencies\n\n```sh\ndeno cache server.ts\n```\n\n- Start the server using the following command\n\n```sh\n\ndeno run --allow-net --allow-env --allow-read --allow-write server.ts\n\nor\n\ndeno task start\n\n```\n\n## API Endpoints\n\n### WebSocket Endpoint\n\nURL: `/ws`\nMethod: WebSocket Upgrade\nDescription: Establish a WebSocket connection to receive real-time updates and message.  \n\n### Send Message Endpoint\n\n- URL: `/send-message`\n- Method: POST\n- Description: Sends a message to all connected WebSocket clients.\n- Request Body:\n\n```json\n{\n  \"message\": \"Your message here\"\n}\n```\n\n## Example curl Commands\n\n```sh\n\n## Send Message\ncurl -X POST http://localhost:8000/send-message \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"message\": \"Hello, WebSocket!\"}'\n```\n\n```sh\n\n# Retrieve all stored messages\ncurl -X GET http://localhost:8000/messages\n\n```\n\n## Static Page\n\n- open `http://localhost:8000` on Browser and check the WebSocket Activities\n\n## Hosting\n\n- Deno Deploy: \u003chttps://deno.com/deploy\u003e\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanwebinfo%2Fdeno-webhook-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanwebinfo%2Fdeno-webhook-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanwebinfo%2Fdeno-webhook-server/lists"}