Giter Site home page Giter Site logo

chat-server-beta's Introduction

Chat Server beta

Description

This is a multi-threaded server-client based messaging platform that supports multiple users at once. It is coded in Java and concepts such as multi-threading, socket programming and network programming are implemented. A server can be created by a host with specific port number and network address. Once created, the server will keep runnning until the host terminates the program. Users can join the server by creating a unique name, entering the port number and the network address.

Purpose

This chat server is a school project, the objective for creating this application is to gain a better understanding and gain practial experience on concepts such as multi-threading, socket programming and network programming.

To further improve this application, I plan to create a better user interface using Javascript. Currently, this program does not have any UI/UX design, all operations are done using command prompt.

Features

Username filtering: The server can filter usernames by performing username checking before a user joins the server. As the user enters a username, the server will run through a list of existing users; if an identical username already exists, then the server will prompt the user to enter a new username.

Message broadcasting: By default, when a user joins a server, all messages are broadcasted in the server.

Direct messaging: Users are allowed to perform direct messaging by entering "/msg" followed by a desired username, then by the message. (e.g. /msg user1 Hello there!)

User listing: If a user would like to know who is in the server, the server can list down all existing users as per user's command ("/list").

Message filtering: The server is capable of filtering messages that contains inappropriate words. The host will have to supply a file that contains the inappropriate words. The program will then read the data file and detect the words and replace them with astrids before the message is broadcasted or direct messaged.

Demo

chat-server-beta's People

Contributors

kylegnoel avatar

Watchers

 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.