Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.
/ chat Public archive

A chat application that uses web sockets for the client/server communication.

License

Notifications You must be signed in to change notification settings

noobiept/chat

Repository files navigation

Try it out

http://chat4321.herokuapp.com/

Web client iOS/watchOS clients

Build

Requires:

  • xcode and carthage for the iOS/watchOS client.
  • node for the web client.
  • swift for the server section.
Command Description
npm install Install the web client and build dependencies.
npm run dev Compiles and runs both the web client and server builds (go to localhost:8000/ to try it out).
npm run build Builds the release version of the web client and the server application.
brew install carthage Install the iOS dependency manager.
cd Client_iOS then carthage update Install the required dependencies.

Open /Client_iOS/chat.xcodeproj to check the iOS/watchOS client project.

Messages

Note: | is the pipe character, but isn't being rendered correctly in bitbucket.

Client

Message Description
U|(username) Tells you what is your username.
C|(connectedCount) Tells you the number of connected users at the moment.
M|(time)|(username)|(message) Received a message.
J|(username) A user joined the chat.
L|(username) A user left the chat.

Server

Message Description
R A client is ready, send his username and the last chat messages.
M|(username)|(message) Received a message.

About

A chat application that uses web sockets for the client/server communication.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published