Table of Contents
In this project, we implemented a chat application mirroring that of discord's and whatsapp's main feature: a room to chat with friends.
Our application runs on the terminal using telnet.
Our application server was implemented according to the RFC 1459, which defines the IRC protocol.
You can read the code documentation here:
# Clone the repository
$ git clone https://github.com/WebisD/chat-irc-protocol.git
# Access the project folder in your terminal / cmd
$ cd chat-irc-protocol
# Download dependencies
$ pip3 install -r requirements.txt
# Enter the main file folder
$ cd src
# Run the application
$ python3 main.py
# The application will open on the port: 8083
# Use telnet to connect with our server
$ telnet localhost 8083
Type /help
to see all commands and arguments if needed
The available commands depend on whether you are logged in:
or not:
Type /register <name> <nick> <pass>
to register in discord
This needs 3 arguments:
name: your name
nick: your nick name. This will show up for other users
pass: your password. Don't forget this!
Type /login <nick> <pass>
to login in Concord
This needs 2 arguments:
nick: your nick name. This will show up for other users
pass: your password. I hope you remember that
Type /create <room_name> <size>
to create a new room and chat with your friends
This needs 2 arguments:
room_name: the name of your room. Don't put spaces in the name, use '_' instead
size: maximum number of users who can enter the room
Type /listroom
or /lr
to list all rooms in Concord
Type /join <room_name>
to enter in a room
room_name: the name of the room you want to join
Type /message <your_message>
or /m <your_message>
to send a message to your friends
your_message: the message you want to send to your friends server Sender's view:
Type /listusers
or /lu
to list all users in your current place
If you are in a room, this command will only show users in the room
If you are in the lobby, this command will only show users in Concord who are also not in a room
Type /leave
to leave the room you are in
Type /logout
to logout of your account
Type /Quit
to fully get out of Concord
Antonio Gustavo | João Vitor Dias | Weverson da Silva |
---|---|---|
22.119.001-0 | 22.119.006-9 | 22.119.004-4 |