{"id":16621797,"url":"https://github.com/ravener/python-chat","last_synced_at":"2025-06-27T16:31:45.360Z","repository":{"id":112630195,"uuid":"494128365","full_name":"ravener/python-chat","owner":"ravener","description":"A simple chat application implemented in Python using TCP Sockets and Urwid","archived":false,"fork":false,"pushed_at":"2022-05-19T15:31:43.000Z","size":9,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T11:49:59.219Z","etag":null,"topics":["chat","chat-application","chatroom","python","python-socket","sockets","tcp","urwid"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ravener.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-19T15:28:51.000Z","updated_at":"2024-02-03T17:18:07.000Z","dependencies_parsed_at":"2023-06-10T03:15:27.288Z","dependency_job_id":null,"html_url":"https://github.com/ravener/python-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ravener/python-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravener%2Fpython-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravener%2Fpython-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravener%2Fpython-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravener%2Fpython-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ravener","download_url":"https://codeload.github.com/ravener/python-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravener%2Fpython-chat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262293084,"owners_count":23288656,"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":["chat","chat-application","chatroom","python","python-socket","sockets","tcp","urwid"],"created_at":"2024-10-12T02:48:28.760Z","updated_at":"2025-06-27T16:31:45.345Z","avatar_url":"https://github.com/ravener.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Chat\nA simple chat application written in Python using TCP Sockets and [urwid](https://urwid.org)\n\n![image](https://media.discordapp.net/attachments/976862121784655933/976862179640893590/Screenshot_20220519_161801.jpg)\n\n## Usage\nClone or download this repository however you like.\n```sh\n$ git clone https://github.com/ravener/python-chat\n```\nMake sure Python3 is installed and install urwid:\n```sh\n$ pip install urwid\n```\nOn a terminal session start the server:\n```sh\n$ python server.py\n```\nYou can stop the server with `CTRL + C`\n\nNow start the client\n```sh\n$ python client.py\n```\nYou can type `/quit` or `/q` to exit the client.\n\n## TODO\nThe project is simple and could work well as a private chat server among some friends but there are a few more changes I'd like to have for it to be more practical:\n- [ ] Resuming/Reconnecting\n- [ ] Ability to type server address (currently it assumes localhost)\n- [ ] Message history (without database, just store like last X messages in memory)\n- [ ] Useful Slash Commands\n- [ ] Some more code clean up and various little things.\n- [ ] Demonstrate creating bots. (You can already do this by leveraging the client connection code from `client.py` but I mean demonstrate it and find some practical uses for it)\n\nWho knows maybe I could eventually turn this into a named project?\n\n# License\nReleased under [MIT License](LICENSE)\n\nAlso credits to [nigiri](https://github.com/sushi-irc/nigiri) from which the client side UI is based off, more specifically from [this gist](https://gist.github.com/MarcelWaldvogel/0226812a2213dc8f67ea4cc361836de1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravener%2Fpython-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravener%2Fpython-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravener%2Fpython-chat/lists"}