{"id":21203718,"url":"https://github.com/bl33h/clientserverchat","last_synced_at":"2026-04-13T18:31:47.231Z","repository":{"id":231222876,"uuid":"771746182","full_name":"bl33h/clientServerChat","owner":"bl33h","description":"A program that enables multi-client communication through a central server, using socket programming and threads for concurrent connections.","archived":false,"fork":false,"pushed_at":"2024-08-31T04:34:52.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-01T19:32:44.856Z","etag":null,"topics":["chat","client-server","client-server-architecture","client-server-chat-application","protobuf","pthreads","thread","threads"],"latest_commit_sha":null,"homepage":"","language":"C","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/bl33h.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":"2024-03-13T21:50:31.000Z","updated_at":"2024-08-31T04:34:55.000Z","dependencies_parsed_at":"2024-04-03T03:22:17.877Z","dependency_job_id":"a70d7053-949a-4f76-9f2c-78c4cc2851ca","html_url":"https://github.com/bl33h/clientServerChat","commit_stats":null,"previous_names":["bl33h/clientserverchat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bl33h/clientServerChat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl33h%2FclientServerChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl33h%2FclientServerChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl33h%2FclientServerChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl33h%2FclientServerChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bl33h","download_url":"https://codeload.github.com/bl33h/clientServerChat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bl33h%2FclientServerChat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31766345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","client-server","client-server-architecture","client-server-chat-application","protobuf","pthreads","thread","threads"],"created_at":"2024-11-20T20:26:20.575Z","updated_at":"2026-04-13T18:31:47.215Z","avatar_url":"https://github.com/bl33h.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clientServerChat\nThis is a chat application that facilitates communication between multiple clients through a centralized server. The application is designed using socket programming and handles multiple client connections concurrently using threads.\n\n\u003cp align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"https://i.pinimg.com/originals/0e/4a/c3/0e4ac37acbff81cd087aa19692a07a9d.gif\" alt=\"Chat Application Architecture\" width=\"500\"\u003e\n  \u003cbr\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#Files\"\u003eFiles\u003c/a\u003e •\n  \u003ca href=\"#Features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#How-to-Use\"\u003eHow To Use\u003c/a\u003e •\n  \u003ca href=\"#Contributions\"\u003eContributions\u003c/a\u003e\n\u003c/p\u003e\n\n## Files\n- `client.c`: Implements the client-side of the chat application.\n- `server.c`: Implements the server-side of the chat application, managing multiple client connections.\n- `chat.pb-c.c`, `chat.pb-c.h`: Provide protobuf-c functionality for structured message communication between clients and server.\n\n## Features\n- **Multi-client Support**: The server can handle multiple client connections simultaneously.\n- **Threaded Communication**: Utilizes threads to manage client connections and maintain server responsiveness.\n- **Protobuf Communication**: Uses protobuf for structured and efficient data serialization.\n- **Dynamic User Interaction**: Supports real-time messaging, user status updates, and connection management.\n- **Robust Error Handling**: Implements error checking and handling to ensure reliable operation.\n\n## How To Use\nTo clone and run this application, you'll need [WSL (Windows Subsystem for Linux)](https://learn.microsoft.com/en-us/windows/wsl/install) and the following tools installed on it: [Git](https://git-scm.com), [C compiler](https://gcc.gnu.org), and [POSIX threads](https://www.cs.cmu.edu/afs/cs/academic/class/15492-f07/www/pthreads.html). From your command line:\n\n```bash\n# Clone this repository\n$ git clone https://github.com/bl33h/clientServerChat\n\n# Open the project\n$ cd src\n\n# Compile the server and client\n$ gcc -o server server.c chat.pb-c.c -lprotobuf-c -pthread\n$ gcc -o client client.c chat.pb-c.c -lprotobuf-c -pthread\n\n# Start the server (specify the port number)\n$ ./server 12345\n\n# In a new terminal, start a client\n$ ./client 127.0.0.1 12345\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbl33h%2Fclientserverchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbl33h%2Fclientserverchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbl33h%2Fclientserverchat/lists"}