{"id":19243081,"url":"https://github.com/gekalogiros/websockets","last_synced_at":"2026-06-14T18:33:55.978Z","repository":{"id":150732925,"uuid":"89062998","full_name":"gekalogiros/websockets","owner":"gekalogiros","description":"A JSR reference implementation of a websockets server/client using Jetty","archived":false,"fork":false,"pushed_at":"2017-04-22T10:51:20.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T14:46:53.218Z","etag":null,"topics":["websocket-application","websocket-client","websocket-jsr","websocket-server","websockets-jetty"],"latest_commit_sha":null,"homepage":"","language":"Java","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/gekalogiros.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-22T10:49:24.000Z","updated_at":"2018-06-25T13:32:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1814af4-5d4a-4c6f-a8a9-4fa8435610ca","html_url":"https://github.com/gekalogiros/websockets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gekalogiros/websockets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gekalogiros%2Fwebsockets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gekalogiros%2Fwebsockets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gekalogiros%2Fwebsockets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gekalogiros%2Fwebsockets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gekalogiros","download_url":"https://codeload.github.com/gekalogiros/websockets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gekalogiros%2Fwebsockets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34333806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"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":["websocket-application","websocket-client","websocket-jsr","websocket-server","websockets-jetty"],"created_at":"2024-11-09T17:16:37.278Z","updated_at":"2026-06-14T18:33:55.938Z","avatar_url":"https://github.com/gekalogiros.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebSockets Reference Implemetation\nA JSR WebSockets reference implementation using Jetty\n\n## Build\n\n```\ngradle build\n```\n\n## Run\n```\nchmod +x run.sh\n./run.sh\n```\n\n## What to Expect\n\nOnce you run the app,  you should be able to see the server sending the current time to two different clients over websockets\n\n```\nSession Opened: websocket-1\nClient c40abed0-9c7f-4d8a-af1a-dd9e26ca3cca Connected. Session: WebSocketSession[websocket=JsrAnnotatedEventDriver[websocket=com.gkalogiros.websockets.ClientEndpoint@5baf20bb],behavior=CLIENT,connection=WebSocketClientConnection@678a804e{IDLE}{f=Flusher[queueSize=0,aggregateSize=0,failure=null],g=Generator[CLIENT,validating],p=Parser@878fba4[ExtensionStack,s=START,c=0,len=0,f=null,p=WebSocketPolicy@2f02ed06[behavior=CLIENT,maxTextMessageSize=65536,maxTextMessageBufferSize=32768,maxBinaryMessageSize=65536,maxBinaryMessageBufferSize=32768,asyncWriteTimeout=60000,idleTimeout=300000,inputBufferSize=4096]]},remote=WebSocketRemoteEndpoint@68d63909[batching=true],incoming=JsrAnnotatedEventDriver[websocket=com.gkalogiros.websockets.ClientEndpoint@5baf20bb],outgoing=ExtensionStack[queueSize=0,extensions=[],incoming=org.eclipse.jetty.websocket.jsr356.JsrSession,outgoing=org.eclipse.jetty.websocket.client.io.WebSocketClientConnection]]\nClient c40abed0-9c7f-4d8a-af1a-dd9e26ca3cca: 2017-04-22T11:43:51.549\nSession Opened: websocket-2\nClient cef3d290-fb0c-4202-993f-c5b97e3fe204 Connected. Session: WebSocketSession[websocket=JsrAnnotatedEventDriver[websocket=com.gkalogiros.websockets.ClientEndpoint@23f714fb],behavior=CLIENT,connection=WebSocketClientConnection@2d30eef5{IDLE}{f=Flusher[queueSize=0,aggregateSize=0,failure=null],g=Generator[CLIENT,validating],p=Parser@290f7f8b[ExtensionStack,s=START,c=0,len=0,f=null,p=WebSocketPolicy@6c0de4ce[behavior=CLIENT,maxTextMessageSize=65536,maxTextMessageBufferSize=32768,maxBinaryMessageSize=65536,maxBinaryMessageBufferSize=32768,asyncWriteTimeout=60000,idleTimeout=300000,inputBufferSize=4096]]},remote=WebSocketRemoteEndpoint@77c66578[batching=true],incoming=JsrAnnotatedEventDriver[websocket=com.gkalogiros.websockets.ClientEndpoint@23f714fb],outgoing=ExtensionStack[queueSize=0,extensions=[],incoming=org.eclipse.jetty.websocket.jsr356.JsrSession,outgoing=org.eclipse.jetty.websocket.client.io.WebSocketClientConnection]]\nClient c40abed0-9c7f-4d8a-af1a-dd9e26ca3cca: 2017-04-22T11:43:54.537\nClient cef3d290-fb0c-4202-993f-c5b97e3fe204: 2017-04-22T11:43:56.479\nClient c40abed0-9c7f-4d8a-af1a-dd9e26ca3cca: 2017-04-22T11:43:57.541\nClient cef3d290-fb0c-4202-993f-c5b97e3fe204: 2017-04-22T11:43:59.478\nClient c40abed0-9c7f-4d8a-af1a-dd9e26ca3cca: 2017-04-22T11:44:00.539\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgekalogiros%2Fwebsockets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgekalogiros%2Fwebsockets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgekalogiros%2Fwebsockets/lists"}