{"id":16661270,"url":"https://github.com/willbasky/chatsocket","last_synced_at":"2025-07-26T02:14:01.919Z","repository":{"id":178786083,"uuid":"662354591","full_name":"willbasky/chatsocket","owner":"willbasky","description":"Multi language implementation of simple chat with websockets for educational purposes","archived":false,"fork":false,"pushed_at":"2023-07-11T04:48:26.000Z","size":19,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T21:17:14.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willbasky.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":"2023-07-05T00:43:28.000Z","updated_at":"2023-07-05T01:28:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2e064de-5205-4e3b-b0b1-d463e547f3df","html_url":"https://github.com/willbasky/chatsocket","commit_stats":null,"previous_names":["willbasky/chatsocket"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willbasky/chatsocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willbasky%2Fchatsocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willbasky%2Fchatsocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willbasky%2Fchatsocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willbasky%2Fchatsocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willbasky","download_url":"https://codeload.github.com/willbasky/chatsocket/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willbasky%2Fchatsocket/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267105350,"owners_count":24036803,"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-07-26T02:00:08.937Z","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":[],"created_at":"2024-10-12T10:34:22.945Z","updated_at":"2025-07-26T02:14:01.895Z","avatar_url":"https://github.com/willbasky.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chatsocket\n\nMulti language implementation of simple chat with websockets for educational purposes\n\n## Features\n\n1. Many clients can be run\n2. Time measurement for every roundtrip (message - acknowledgement)\n3. Server send messages individually to every client\n\n## Roadmap\n\n- [x] Haskell\n- [ ] PureScript\n- [x] Ocaml\n- [ ] Python\n- [ ] TypeScript\n- [ ] Rust\n- [ ] Kotlin\n\n## How to use\n\n### Haskell\n\n```shell\nstack run server\n```\nin another tab of the console:\n\n```shell\nstack run client\n```\nIn client type further message to register client:\n\n    Hi! I am \u003cname\u003e\n\n### Ocaml\n\nRun server:\n\n```shell\n dune exec -- chatsocket -s\n ```\nRun client in another tab of the console:\n\n```shell\n dune exec -- chatsocket\n```\n\n## Functionality\n\n### Haskell\n\n1. Sending p2p messages with format: user # message\n2. Counting time of roundtrip for common messages\n\n### Ocaml\n\n1. Sending p2p messages with int \u003cid\u003emessage. For example 0hello\n2. Counting time of roundtrip for common messages\n3. Command id#ping return pong from opponent\n4. Command id#close on server closes client, on client asks server to send Close signal and close client.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillbasky%2Fchatsocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillbasky%2Fchatsocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillbasky%2Fchatsocket/lists"}