{"id":19610455,"url":"https://github.com/a26nine/multi-client-chatroom","last_synced_at":"2025-09-19T17:53:57.642Z","repository":{"id":54552414,"uuid":"244698828","full_name":"a26nine/multi-client-chatroom","owner":"a26nine","description":"A simple python3 based multi-client chatroom application built over the fundamentals of sockets in python.","archived":false,"fork":false,"pushed_at":"2023-02-08T00:44:27.000Z","size":14,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-09T01:06:58.690Z","etag":null,"topics":["chat-application","chatroom","multi-client","multi-client-chatroom","python","python3","socket-programming","sockets"],"latest_commit_sha":null,"homepage":"","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/a26nine.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":"2020-03-03T17:26:53.000Z","updated_at":"2024-11-06T09:12:50.000Z","dependencies_parsed_at":"2024-11-11T10:30:52.748Z","dependency_job_id":"062693aa-651b-4654-810e-d38fd720a578","html_url":"https://github.com/a26nine/multi-client-chatroom","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a26nine/multi-client-chatroom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a26nine%2Fmulti-client-chatroom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a26nine%2Fmulti-client-chatroom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a26nine%2Fmulti-client-chatroom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a26nine%2Fmulti-client-chatroom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a26nine","download_url":"https://codeload.github.com/a26nine/multi-client-chatroom/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a26nine%2Fmulti-client-chatroom/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275980851,"owners_count":25564137,"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-09-19T02:00:09.700Z","response_time":108,"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":["chat-application","chatroom","multi-client","multi-client-chatroom","python","python3","socket-programming","sockets"],"created_at":"2024-11-11T10:29:26.355Z","updated_at":"2025-09-19T17:53:57.637Z","avatar_url":"https://github.com/a26nine.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi-client Chatroom\n\nA simple python3 based multi-client chatroom application built over the fundamentals of sockets in python.\n\n*Developed as a part of the assessment for the module CST4045 Cross Platform Application Development at Middlesex University, London during the academic year 2019-20 under the guidance of module leader Dr Ralph Moseley.*\n\n## Features\n* Core\n    * Multi-client\n    * Admin authentication for server related activites\n    * Full chatroom activity log\n    * Individual user logs\n    * User database w/ encrypted user passwords\n    * Login system for returning users\n* In-chat\n    * Set or change preferred username\n    * Set or change preferred password\n    * Create, join or leave rooms\n    * List users or rooms (admin only)\n    * Send (encrypted) private messages\n\n## Usage\n1. Install dependencies\n\u003e pip3 install -r requirements.txt\n2. Run server script\n\u003e python3 chat_server.py\n3. Start server\n    - Enter port number\n    - Enter admin password\n4. Run client script\n\u003e python3 chat_client.py [server_ip] [server_port]\n\n## Client Options\n```\n/u [username]                       - Change the username\n/p                                  - Change the password\n/c [room_name]                      - Create a new room\n/j [room_name]                      - Join a room\n/l [room_name]                      - Leave a room\n/cd [room_name]                     - Change default room\n/list                               - (Admin) List all the rooms on the server\n/users                              - (Admin) List all the users on the server\n/public \u003c[room_name]\u003e [message]     - Sends a message to any room you are a part of\n/private \u003c[username]\u003e [message]     - Send a (encrypted) private message to any user\n/logout                             - Disconnect from the server\n```\n\n## Known Issues\nThere are certain known issues with respect to this code:\n1. After running the server script, port number for the server has to be entered; some terminals print the line asking for the port number, others just keep waiting for the input without priting the line.\n2. Getpass module issues a warning 'Warning: Password input may be echoed' on insecure terminals.\n3. Incorrect login creates a new temporary user on the server.\n4. The application is not yet fully compatible over the internet:\n    - Same encryption key is used by the server and the client which is generated and stored on the server.\n    - Some user validation takes place on the client side and needs to access the user database locally on the client side.\n    \n:heavy_exclamation_mark: **The code needs refactoring. Please note that this is my first python project and was written in a matter of just few hours.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa26nine%2Fmulti-client-chatroom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa26nine%2Fmulti-client-chatroom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa26nine%2Fmulti-client-chatroom/lists"}