{"id":20605025,"url":"https://github.com/abdullah-ch/websockets-authentication-server","last_synced_at":"2025-04-15T02:26:54.993Z","repository":{"id":160588868,"uuid":"635454841","full_name":"abdullah-ch/websockets-authentication-server","owner":"abdullah-ch","description":"This Repository implements an Authenticated Websocket Server built in Node Js along ws library.","archived":false,"fork":false,"pushed_at":"2023-05-03T17:30:12.000Z","size":21,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T14:11:39.024Z","etag":null,"topics":["hacktoberfest","nodejs","server","websocket","ws"],"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/abdullah-ch.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-05-02T18:23:28.000Z","updated_at":"2025-01-21T17:27:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"f77931a0-2c88-4e9b-ab43-78b2467260c0","html_url":"https://github.com/abdullah-ch/websockets-authentication-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullah-ch%2Fwebsockets-authentication-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullah-ch%2Fwebsockets-authentication-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullah-ch%2Fwebsockets-authentication-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullah-ch%2Fwebsockets-authentication-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdullah-ch","download_url":"https://codeload.github.com/abdullah-ch/websockets-authentication-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248993132,"owners_count":21195143,"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":["hacktoberfest","nodejs","server","websocket","ws"],"created_at":"2024-11-16T09:26:10.079Z","updated_at":"2025-04-15T02:26:54.975Z","avatar_url":"https://github.com/abdullah-ch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# websockets-authentication-server\n\nThis Repository implements an Authenticated Websocket Server built in Node Js along ws library.\n\n## Features\n\n### Authenticated connections only\nThis server only allows authenticated clients to make a WebSocket connection. If an unauthenticated client attempts to connect, the server will destroy the socket connection request and send a 401 Unauthorized response.\n\n### Ping messages\nTo ensure that the connection is still alive, the server sends ping messages to connected clients after regular intervals. This helps to prevent the connection from being terminated due to inactivity.\n\n### Heartbeat monitoring\nThe server monitors the heartbeat status of clients and terminates the connection if it does not receive any response from the client after a certain interval. This ensures that the server can free up resources and prevent idle connections from consuming unnecessary resources.\n\n## Getting started\nTo get started with this server, you'll need to have Node.js and npm installed on your machine. You'll also need to clone this repository to your local machine.\n\nOnce you have the repository cloned, you can install the necessary dependencies by running:\n\n### `npm install`\nYou can then start the server by running:\n\n### `npm run dev`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullah-ch%2Fwebsockets-authentication-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdullah-ch%2Fwebsockets-authentication-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullah-ch%2Fwebsockets-authentication-server/lists"}