Skip to content

a multi-threaded chatroom written in Java that runs in the terminal

License

Notifications You must be signed in to change notification settings

nstebbins/chatroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatroom

Build Status

chatroom is a multi-threaded chatroom written in Java and uses the client-server model. chatroom provides a command-line interface to communicate with clients and obtain information about them.

commands supported

  • whoelse: see who else is currently in the chatroom
  • broadcast: sends messages to all online clients
  • message: sends private message to client
  • help: gives an overview of commands available

built with

  • maven - dependency management

to run chatroom's server

to build the chatroom server image:

docker build -t chatroom-server . -f server.Dockerfile

and to run the container (also named chatroom-server):

docker run -p 4000:4000 --name=chatroom-server chatroom-server

to run chatroom's client

to build the chatroom client image:

docker build -t chatroom-client . -f client.Dockerfile

and to run the container (also named chatroom-client):

docker run -it --name=chatroom-client --network=host chatroom-client

license

this project is licensed under the MIT License - see LICENSE for details

About

a multi-threaded chatroom written in Java that runs in the terminal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages