{"id":31179464,"url":"https://github.com/hardikkum444/termchat","last_synced_at":"2025-09-19T15:21:22.854Z","repository":{"id":225152169,"uuid":"765206519","full_name":"hardikkum444/TermChat","owner":"hardikkum444","description":"TermChat is a terminal-based chatting server application written in Java. It utilizes Java socket programming to establish connections and facilitate communication between clients.","archived":false,"fork":false,"pushed_at":"2024-03-09T08:30:25.000Z","size":207,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-10T08:41:25.632Z","etag":null,"topics":["chatting-app","client-server-architecture","java","socket-programming"],"latest_commit_sha":null,"homepage":"","language":"Java","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/hardikkum444.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}},"created_at":"2024-02-29T13:35:48.000Z","updated_at":"2024-03-09T07:59:42.000Z","dependencies_parsed_at":"2024-03-09T08:43:46.964Z","dependency_job_id":null,"html_url":"https://github.com/hardikkum444/TermChat","commit_stats":null,"previous_names":["hardikkum444/chatapp_javasockets","hardikkum444/chattingapplication_javasockets"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hardikkum444/TermChat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikkum444%2FTermChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikkum444%2FTermChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikkum444%2FTermChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikkum444%2FTermChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardikkum444","download_url":"https://codeload.github.com/hardikkum444/TermChat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardikkum444%2FTermChat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275958379,"owners_count":25559736,"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":["chatting-app","client-server-architecture","java","socket-programming"],"created_at":"2025-09-19T15:21:21.707Z","updated_at":"2025-09-19T15:21:22.843Z","avatar_url":"https://github.com/hardikkum444.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to TermChat\n\n\u003ccenter\u003e\u003cimg src=\"/photos/termchat1.png\" alt=\"Image Description\"\u003e\u003cbr\u003e\u003cbr\u003e\u003c/center\u003e \u003cbr\u003e\n\n\n\n# What is TermChat?\n\nTermChat is a terminal-based chatting server application written in Java. \nIt utilizes Java socket programming to establish connections and facilitate communication between clients.\n\n## Features\n\n- **Terminal-Based**: TermChat operates entirely within the terminal environment, making it lightweight and easy to use.\n- **Chatting**: Users can connect to the server and engage in real-time text-based conversations.\n- **File Sharing**: TermChat supports sending and downloading files between users connected to the server.\n- **Nicknaming**: Users can choose their display name upon connecting to the server.\n- **Dynamic Port**: The server dynamically assigns a port for listening to incoming connections.\n\n## How to Use\n\n1. **Running the Server**:\n   - Compile and run the `Server.java` file to start the server.\n   - The server will listen for incoming connections on a dynamically assigned port (default port: 9999).\n\n2. **Connecting to the Server**:\n   - Clients can connect simpy by compling the Client.java file and running it!\n   - **make sure that in the clinet file you add the appropriate IP (public) of the server!**\n   - Upon connection, clients will be prompted to enter a nickname.\n\n3. **Sending Messages**:\n   - Users can send messages in the chat room. Simply type your message and press Enter to send it to all connected users.\n\n4. **File Sharing**:\n   - To upload a file to the server, use the `/send` command followed by the file path.\n   - To download a file from the server, use the `/receive` command followed by the file name.\n\n5. **Commands**:\n\n   | Command   | Description                                  |\n   |-----------|----------------------------------------------|\n   | /list     | List all available files on the server.      |\n   | /help     | If you're clueless                           |\n   | /send     | `\u003c/send (fileName.extension)\u003e` to upload     |\n   | /receive  | `\u003c/receive (fileName.extension)\u003e` to download|\n   | /rename   | Change your chatname                         |\n   | /quit     | To leave the chat room                       |\n\n\n## Requirements\n\n- Java Development Kit (JDK) (anything \u003e=8 works like a charm)\n- Terminal or Command Prompt\n\n## Contributions\n\n*1\u003e There still are some bugs that are pending to be fixed in this hilariously unclean code* \u003cbr\u003e\n*2\u003e That being contributions are welcome* \u003cbr\u003e\n*3\u003e If you notice any bugs please note that the bug fixes are on their way* \u003cbr\u003e\n*4\u003e Also the spelling of receive is wrong (recieve and not receive) (please use /recieve ... bug fixes are on their way!* \u003cbr\u003e\n\n[MIT License](https://github.com/git/git-scm.com/blob/main/MIT-LICENSE.txt).\n\n\n\n\n  \n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardikkum444%2Ftermchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardikkum444%2Ftermchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardikkum444%2Ftermchat/lists"}