{"id":22364701,"url":"https://github.com/stark-x/websocketchatroom","last_synced_at":"2025-07-02T16:38:01.773Z","repository":{"id":173063704,"uuid":"125024184","full_name":"Stark-X/WebSocketChatroom","owner":"Stark-X","description":"Training for websocket","archived":false,"fork":false,"pushed_at":"2018-05-03T16:25:01.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T15:26:24.807Z","etag":null,"topics":["learning","python","training","websocket"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stark-X.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":"2018-03-13T09:18:07.000Z","updated_at":"2018-05-03T16:25:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"5bdd2464-e4ea-49a9-98a5-1be8f85d34a8","html_url":"https://github.com/Stark-X/WebSocketChatroom","commit_stats":null,"previous_names":["stark-x/websocketchatroom"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Stark-X/WebSocketChatroom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stark-X%2FWebSocketChatroom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stark-X%2FWebSocketChatroom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stark-X%2FWebSocketChatroom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stark-X%2FWebSocketChatroom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stark-X","download_url":"https://codeload.github.com/Stark-X/WebSocketChatroom/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stark-X%2FWebSocketChatroom/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263176828,"owners_count":23425834,"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":["learning","python","training","websocket"],"created_at":"2024-12-04T17:25:01.794Z","updated_at":"2025-07-02T16:38:01.746Z","avatar_url":"https://github.com/Stark-X.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebSocketChatroom\nThis project is set up for practicing the websocket with `Tornado`.\nEveryone could easily join the chatroom on bowser or other clients.\n\n## Prerequisistes\n- Python3\n- [pipenv](https://github.com/pypa/pipenv)\n\n## Usage\n\n1. Install dependencis by `pipenv`\n```\npipenv install\n```\n2. Start the server in the virtualenv\n```\npipenv run python server.py\n```\n3. Use JavaScript on browser to verify\nOpen the browser DEV tools, use the console on it to enter below command.\n```\nvar ws = new WebSocket(\"ws://localhost:8080\")\nws.onmessage = evt =\u003e {console.log(evt.data)}\nws.send('{\"name\": \"abc\", \"action\": \"add\"}')\nws.send('{\"action\": \"say\", \"message\": \"Hello world!\"}')\nws.send('{\"action\": \"close\"}')\n```\n\n## Configuration\n- logger settings in `config/logger.ini`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstark-x%2Fwebsocketchatroom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstark-x%2Fwebsocketchatroom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstark-x%2Fwebsocketchatroom/lists"}