{"id":17680344,"url":"https://github.com/docelic/zeromq-group-chat","last_synced_at":"2025-03-30T18:48:43.411Z","repository":{"id":66956515,"uuid":"446144243","full_name":"docelic/zeromq-group-chat","owner":"docelic","description":"Simplest working ZeroMQ-based group chat","archived":false,"fork":false,"pushed_at":"2022-01-09T16:47:25.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T21:33:25.622Z","etag":null,"topics":[],"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/docelic.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":"2022-01-09T16:36:19.000Z","updated_at":"2022-01-20T15:52:22.000Z","dependencies_parsed_at":"2023-02-28T02:31:22.530Z","dependency_job_id":null,"html_url":"https://github.com/docelic/zeromq-group-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/docelic%2Fzeromq-group-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docelic%2Fzeromq-group-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docelic%2Fzeromq-group-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docelic%2Fzeromq-group-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docelic","download_url":"https://codeload.github.com/docelic/zeromq-group-chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246365640,"owners_count":20765546,"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":[],"created_at":"2024-10-24T09:06:40.007Z","updated_at":"2025-03-30T18:48:42.948Z","avatar_url":"https://github.com/docelic.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zeromq-group-chat\n\nSimplest possible group chat implemented using ZeroMQ.\n\nUses a central server to which all users connect.\n\nImplements chat using 2 ZeroMQ sockets:\n\n- One REQ-REP for submitting new messages to the server\n- One PUB-SUB for distributing messages from the server to all connected clients\n\n## Client\n\n```\npython3 client.py [nickname] [host] [send_port] [recv_port]\n```\n\nFor messages from local user the client simply reads lines from\nthe terminal in the usual cooked mode. Readline or similar\nlibrary is not used, but you can run the application under\n`rlwrap` to enable readline functionality.\n\n## Server\n\n```\npython3 server.py [SEND_PORT] [RECV_PORT] [HOST]\n```\n\nThe server simply waits for incoming messages and publishes\nthem to all connected subscribers / clients.\n\n## ZeroMQ Details\n\nThe app uses a REQ-REP and a PUB-SUB socket.\n\nAlternatively, submitting messages to the server could be\nimplemented using REQ or DEALER requests to the server's\nROUTER socket.\n\n## Encryption\n\nEncryption is not included. One could e.g. set up a double\nratchet encryption with https://github.com/tgalal/python-axolotl.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocelic%2Fzeromq-group-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocelic%2Fzeromq-group-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocelic%2Fzeromq-group-chat/lists"}