{"id":20125763,"url":"https://github.com/radeelahmad/bash-chat","last_synced_at":"2026-06-22T02:32:06.414Z","repository":{"id":248386356,"uuid":"828550986","full_name":"RadeelAhmad/Bash-Chat","owner":"RadeelAhmad","description":"The Simple Chat Application enables real-time communication between two users over a network using a client-server architecture","archived":false,"fork":false,"pushed_at":"2024-07-14T14:09:31.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-08T05:32:19.585Z","etag":null,"topics":["bash-script","chat","chat-app","project"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/RadeelAhmad.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":"2024-07-14T13:45:19.000Z","updated_at":"2025-01-09T09:38:13.000Z","dependencies_parsed_at":"2024-07-14T15:30:16.616Z","dependency_job_id":"330e27fc-6a29-49b0-becb-6239dc84cb15","html_url":"https://github.com/RadeelAhmad/Bash-Chat","commit_stats":null,"previous_names":["radeelahmad/bash-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RadeelAhmad/Bash-Chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadeelAhmad%2FBash-Chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadeelAhmad%2FBash-Chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadeelAhmad%2FBash-Chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadeelAhmad%2FBash-Chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RadeelAhmad","download_url":"https://codeload.github.com/RadeelAhmad/Bash-Chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadeelAhmad%2FBash-Chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34632553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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":["bash-script","chat","chat-app","project"],"created_at":"2024-11-13T20:09:52.634Z","updated_at":"2026-06-22T02:32:06.400Z","avatar_url":"https://github.com/RadeelAhmad.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bash-Chat\nThis repository contains a simple chat application implemented in Bash using netcat. The application consists of two scripts: client and server.\n\n## Requirements\n- Bash\n- netcat (nc)\n\n## Files\n- **client:** Script to connect to the chat server.\n- **server:** Script to host the chat server.\n\n# Usage\n## Server\nTo start the server, run the `server` script. You can optionally specify a port number as an argument. If no port is provided, the default port `9999` will be used.\n\n```console\nchmod +x server.sh\n./server [port]\n```\n\n## Example:\n\n```console\nchmod +x server.sh\n./server 8888\n```\nAfter starting the server, it will prompt for a username. Enter your desired username to start the chat server. The server will then wait for a client to join.\n\n## Client\nTo connect to the chat server, run the client script. It will prompt you to enter the hostname or IP address of the server and the port number.\n\n```console\nchmod +x client.sh\n./client\n```\n## Example:\n\n```yaml\nEnter the hostname or IP address: 127.0.0.1\nEnter the port number: 8888\n```\nAfter entering the details, the client will connect to the server and you can start chatting.\n\n## Features\n- Ascii art displayed on both server and client startup.\n- Real-time messaging between server and client.\n- Color-coded messages for easier readability.\n\n## Example\n**Server Output**\n```yaml\n ▄▄▄▄    ▄▄▄        ██████  ██░ ██     ▄████▄   ██░ ██  ▄▄▄     ▄▄▄█████▓\n▓█████▄ ▒████▄    ▒██    ▒ ▓██░ ██▒   ▒██▀ ▀█  ▓██░ ██▒▒████▄   ▓  ██▒ ▓▒\n▒██▒ ▄██▒██  ▀█▄  ░ ▓██▄   ▒██▀▀██░   ▒▓█    ▄ ▒██▀▀██░▒██  ▀█▄ ▒ ▓██░ ▒░\n▒██░█▀  ░██▄▄▄▄██   ▒   ██▒░▓█ ░██    ▒▓▓▄ ▄██▒░▓█ ░██ ░██▄▄▄▄██░ ▓██▓ ░\n░▓█   ▀█▓ ▓█   ▓██▒▒██████▒▒░▓█▒░██▓   ▒ ▓███▀ ░░▓█▒░██▓ ▓█   ▓██▒ ▒██▒ ░\n░▒▓███▀▒ ▒▒   ▓▒█░▒ ▒▓▒ ▒ ░ ▒ ░░▒░▒   ░ ░▒ ▒  ░ ▒ ░░▒░▒ ▒▒   ▓▒█░ ▒ ░░\n▒░▒   ░   ▒   ▒▒ ░░ ░▒  ░ ░ ▒ ░▒░ ░     ░  ▒    ▒ ░▒░ ░  ▒   ▒▒ ░   ░\n ░    ░   ░   ▒   ░  ░  ░   ░  ░░ ░   ░         ░  ░░ ░  ░   ▒    ░\n ░            ░  ░      ░   ░  ░  ░   ░ ░       ░  ░  ░      ░  ░\n      ░                               ░\nEnter username: host\nStarting on port 8888\nWaiting for client to join...\n```\n\n---\n\n**Client Output**\n```yaml\n ▄▄▄▄    ▄▄▄        ██████  ██░ ██     ▄████▄   ██░ ██  ▄▄▄     ▄▄▄█████▓\n▓█████▄ ▒████▄    ▒██    ▒ ▓██░ ██▒   ▒██▀ ▀█  ▓██░ ██▒▒████▄   ▓  ██▒ ▓▒\n▒██▒ ▄██▒██  ▀█▄  ░ ▓██▄   ▒██▀▀██░   ▒▓█    ▄ ▒██▀▀██░▒██  ▀█▄ ▒ ▓██░ ▒░\n▒██░█▀  ░██▄▄▄▄██   ▒   ██▒░▓█ ░██    ▒▓▓▄ ▄██▒░▓█ ░██ ░██▄▄▄▄██░ ▓██▓ ░\n░▓█   ▀█▓ ▓█   ▓██▒▒██████▒▒░▓█▒░██▓   ▒ ▓███▀ ░░▓█▒░██▓ ▓█   ▓██▒ ▒██▒ ░\n░▒▓███▀▒ ▒▒   ▓▒█░▒ ▒▓▒ ▒ ░ ▒ ░░▒░▒   ░ ░▒ ▒  ░ ▒ ░░▒░▒ ▒▒   ▓▒█░ ▒ ░░\n▒░▒   ░   ▒   ▒▒ ░░ ░▒  ░ ░ ▒ ░▒░ ░     ░  ▒    ▒ ░▒░ ░  ▒   ▒▒ ░   ░\n ░    ░   ░   ▒   ░  ░  ░   ░  ░░ ░   ░         ░  ░░ ░  ░   ▒    ░\n ░            ░  ░      ░   ░  ░  ░   ░ ░       ░  ░  ░      ░  ░\n      ░                               ░\nEnter the hostname or IP address: 127.0.0.1\nEnter the port number: 8888\nEnter username: client\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradeelahmad%2Fbash-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradeelahmad%2Fbash-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradeelahmad%2Fbash-chat/lists"}