{"id":21427162,"url":"https://github.com/anders-wind/ws-chat","last_synced_at":"2026-02-15T22:06:23.054Z","repository":{"id":39428659,"uuid":"201900173","full_name":"anders-wind/WS-Chat","owner":"anders-wind","description":"Websocket chat system. ","archived":false,"fork":false,"pushed_at":"2022-12-11T01:49:28.000Z","size":3673,"stargazers_count":2,"open_issues_count":25,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-10T15:05:07.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anders-wind.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}},"created_at":"2019-08-12T09:33:25.000Z","updated_at":"2024-12-31T13:34:40.000Z","dependencies_parsed_at":"2023-01-26T14:16:15.139Z","dependency_job_id":null,"html_url":"https://github.com/anders-wind/WS-Chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anders-wind/WS-Chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders-wind%2FWS-Chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders-wind%2FWS-Chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders-wind%2FWS-Chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders-wind%2FWS-Chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anders-wind","download_url":"https://codeload.github.com/anders-wind/WS-Chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders-wind%2FWS-Chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29490360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"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":[],"created_at":"2024-11-22T21:44:05.843Z","updated_at":"2026-02-15T22:06:23.036Z","avatar_url":"https://github.com/anders-wind.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WS-Chat\nA simple websocket based chat system.\n\n## Structure\nThe solution consists of two projects: a [VueJS](https://vuejs.org/) client project written in typescript using [Vuetify](https://vuetifyjs.com/en/) components, and a server written in C++ using the [seasocks](https://github.com/mattgodbolt/seasocks) and [rapidjson](http://rapidjson.org/) frameworks.\n\nThe core of the solution is the following files: \n- `client/src/store.ts`\n- `client/src/components/ChatComponent.vue`\n- `client/src/services/WebSocketService.ts`\n- `server_cpp/include/server_cpp/chat_service.hpp`\n\nThe chat system works by enabling a user to write his/her name, joining the chat service. At this point the user can then write messages to other users by specifying a username and message. \nThe system is ofcourse bare-bones and does not contain a lot of safety mechanisms that one would normally have in a chat system.\n\n## How to Build/Run\n\nMake sure to run: `git submodule init \u0026\u0026 git submodule update` after cloning the repository, and it is important that you do not have any services running on port `3000` or `8080`.\n\nI have tested the system on Ubuntu 19.04.\n\nEasiest way to run the solution is to run: `docker-compose up`. If you do not have docker or docker-compose installed follow the instructions below.\n\n\n### Client\n```\ncd client\nyarn install\nyarn serve\n```\n\n### Server\n```\ncd server_cpp\n./install_deps.sh\nmkdir -p build\ncd build\ncmake ..\ncmake --build .\n./server_cpp\n```\n\n### Demo\n\n- Open two browser tabs at localhost:8080, \n- input usernames in each, press \"Join Chat\"\n- input which user to write to and a message, press \"Send Message\"\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanders-wind%2Fws-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanders-wind%2Fws-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanders-wind%2Fws-chat/lists"}