Giter VIP home page Giter VIP logo

java-chat's Introduction

Javachat ☕️💬

A chat application for the terminal using Java with communication between network sockets using the TCP protocol.

Features

  • Server-Client Architecture: A server to manage connections and multiple clients to participate in the chat.
  • Real-time Communication: Chat with friends in real-time over a network.
  • User Identification: Enter your username to identify yourself in the chat.

Prerequisites

Before running the application, ensure you have the following installed:

  • Java 11+ ☕️ (For running the application)

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/viniciusfinger/java-chat.git
  2. Navigate to the project directory:

    cd java-chat

Usage

  1. Start the server by running the following command in the terminal:

    java ChatServer

    This will start the server on port 12345.

  2. Start the client by running the following command in another terminal window:

    java ChatClient
  3. When prompted, enter the server's IP address. If you're running it locally, use 127.0.0.1.

  4. Enter your username and start chatting with your friends!

Contributing ⚒️

Contributions are always welcome!

Reference

Feel free to customize the application to suit your needs. Modify the server-client implementation, enhance the user interface, or add new features!

java-chat's People

Contributors

viniciusfinger avatar

Stargazers

Eyad Ahmed avatar 양민준 avatar Ramazan Çetinkaya avatar  avatar  avatar Denison Kolling avatar Luiz Henrique avatar Guilherme Kirsch avatar

Watchers

 avatar Denison Kolling avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.