Skip to content

SaadQayyum03/Chat-Room

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 Chat-Room 🗨️

Dive into the world of networking with Chat-Room! This project offers a bright start for those new to Java networking. It's not just a chat app; it's a bridge connecting devices across a local realm using Java sockets! 💡

🌟 Features

  • 🚀 Local Networking: Bring devices together! Connect from anywhere in your home or office.

  • 👤 User Identification: Start fresh and make a mark! Choose your username when joining the chat.

  • 🔖 Unique ID Badge: Like a VIP pass! Every client gets a unique ID from the server.

  • 🔍 Message Buffering: Never lose context! Always displays the last 10 messages for a seamless chat experience.

🚀 Getting Started

🛠 Prerequisites

  • Ensure the Java Development Kit (JDK) is set up and ready on your machine.

🔧 Compilation & Execution

  1. Flex your coding muscles and compile all the Java files:

    javac *.java
  2. Wake up the server and get it listening:

    java Server
  3. Time to chat! Start the client application (on the same device or a different one on your network):

    java Client

🧠 How It Works

  1. 🤖 Client Initialization:

    • Upon entry, claim your identity! Choose your unique username.
    • The server welcomes you with a unique ID, your badge in the chat cosmos!
  2. 📡 Message Broadcasting:

    • Compose, and let your message soar to the server.
    • Watch as the server plays postman, delivering your words to all in the chat universe.
  3. 🔒 Message Buffering:

    • With every message sent, the app gifts you a glimpse of the past — the 10 preceding messages to keep the chat's pulse alive.

🌈 Extend the Project 🚀

The foundations are set, but the sky's the limit! There's a universe of features waiting to be explored. If you're itching to code more, here are some paths to venture:

  • 🏠 Chat Rooms: Create spaces! Rooms for topics, groups, or secret clubs. Choose or forge your own path.

  • 💌 Private Messaging: Whisper secrets! Send messages that are just for one, away from prying eyes.

  • 📎 File Sharing: Share memories or documents. Send files, photos, maybe even doodles.

  • 🔐 Authentication: Add gates! Ensure only the invited can join with a simple authentication system.

  • 😄 Emoji Support: Speak the universal language! Express more with emojis.

🔥 Ready to Ignite Your Ideas?

The beauty of open-source is YOU — the community! If there's a spark, an idea, or a feature you're burning to add, fork the project, fuel it with your code, and send in a pull request. Let's set the chat world ablaze, together! 🌟🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages