{"id":24849201,"url":"https://github.com/sshiiden/chat-cli","last_synced_at":"2025-03-26T11:25:22.284Z","repository":{"id":203248704,"uuid":"709167194","full_name":"sshiiden/chat-cli","owner":"sshiiden","description":"Simple chat for the CLI capable of accepting multiple clients","archived":false,"fork":false,"pushed_at":"2023-10-24T06:51:52.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T12:35:23.601Z","etag":null,"topics":["school-assignment"],"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/sshiiden.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}},"created_at":"2023-10-24T06:51:36.000Z","updated_at":"2023-12-03T17:32:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"ce0bc25e-6c34-42d6-88a5-d73db8579496","html_url":"https://github.com/sshiiden/chat-cli","commit_stats":null,"previous_names":["nicsanshi/chat-cli","sshiiden/chat-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshiiden%2Fchat-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshiiden%2Fchat-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshiiden%2Fchat-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshiiden%2Fchat-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshiiden","download_url":"https://codeload.github.com/sshiiden/chat-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245642594,"owners_count":20648880,"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":["school-assignment"],"created_at":"2025-01-31T12:30:11.867Z","updated_at":"2025-03-26T11:25:22.253Z","avatar_url":"https://github.com/sshiiden.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Esercizio server chat con client\n\n* Autore: Nicholas Santos Shiden\n* Linguaggio : python\n\nUn server fa da mediatore per permetere la conversazione tra vari client.\n\n## Utilizzo\n### Server\n\nIl server può essere eseuito da linea di comando utilizzando\n\n``` bash\npython.exe SantosShiden_chat_server.py\n```\n\nil server controllera ogni secondo per possibili richieste e, se\nesistono, le accetta ed inizia a gestire il client in un thread\nseparato.\n\nIl server stampa sulla linea di comando ed invia ai client vari\nmessaggi di stato:\n* Connesione di un client\n* Disconnesione di un client\n* Chiusura del server\n\nIl modo apropiato per chiudere il server è via il comando `!close`.\n### Client\n\nIl client può essere eseuito da linea di comando utilizzando\n\n``` bash\npython.exe SantosShiden_chat_client.py\n```\n\nil client tenterà di inviare una richiesta al server, se fallisce\nchiude il programma altrimenti si connette e inizia due thread,\nuno per la gestione degli input ed uno per la ricezione dei messaggi.\n\nIl client prende da linea di comando i messaggi da inviare e stampa i\nmessaggi che riceve dal server.\n\nIl modo apropiato per chiudere il client è via il comando `!close`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshiiden%2Fchat-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshiiden%2Fchat-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshiiden%2Fchat-cli/lists"}