{"id":18033919,"url":"https://github.com/sjkingo/websocket-chat","last_synced_at":"2025-09-03T08:32:05.901Z","repository":{"id":25699175,"uuid":"29135548","full_name":"sjkingo/websocket-chat","owner":"sjkingo","description":"A proof-of-concept chat server/client in WebSockets","archived":false,"fork":false,"pushed_at":"2015-01-12T17:59:20.000Z","size":116,"stargazers_count":17,"open_issues_count":2,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-20T13:32:40.582Z","etag":null,"topics":["asyncio","javascript","python","python-3","websocket-chat","websockets"],"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/sjkingo.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}},"created_at":"2015-01-12T12:59:30.000Z","updated_at":"2024-05-23T18:14:31.000Z","dependencies_parsed_at":"2022-06-30T01:32:25.184Z","dependency_job_id":null,"html_url":"https://github.com/sjkingo/websocket-chat","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/sjkingo%2Fwebsocket-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkingo%2Fwebsocket-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkingo%2Fwebsocket-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkingo%2Fwebsocket-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjkingo","download_url":"https://codeload.github.com/sjkingo/websocket-chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231861038,"owners_count":18437340,"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":["asyncio","javascript","python","python-3","websocket-chat","websockets"],"created_at":"2024-10-30T11:08:55.775Z","updated_at":"2024-12-30T12:41:17.382Z","avatar_url":"https://github.com/sjkingo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"websocket-chat\n==============\n\nA Websockets IRC-style chat server and client. It is written purely as a demo\nof Websockets functionality and probably servces no useful purpose!\n\nThe server is written in Python 3 using `asyncio` and the `websockets` library.\nThe client is written in HTML5 and uses Bootstrap 3.\n\nIf you are using a Python version below 3.4, you will need to manually install\nthe `asyncio` library as it is not included.\n\n### To start the server:\n\n1. Install dependencies for the server (preferably in a virtualenv):\n\n   ```\n   $ pip install -r server/requirements.txt\n   ```\n\n2. Run the server on port 8080:\n\n   ```\n   $ python3 server/run.py\n   ````\n\nBy default the server listens on `0.0.0.0:8080`. If this is not desired, edit `server/run.py:LISTEN_ADDRESS` and `html5client/ws.js:server`.\n\n### To load the client:\n\n1. Fire up the built-in Python web server and load the client from there:\n\n   ```\n   $ cd html5client\n   $ python3 -m http.server\n   $ $BROWSER 'http://localhost:8000/'\n   ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjkingo%2Fwebsocket-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjkingo%2Fwebsocket-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjkingo%2Fwebsocket-chat/lists"}