An open API service indexing awesome lists of open source software.

https://github.com/ampaire/python-chat-app

A command line bases chat app written in Python with Socket.io
https://github.com/ampaire/python-chat-app

Last synced: 2 months ago
JSON representation

A command line bases chat app written in Python with Socket.io

Awesome Lists containing this project

README

        

#

PYTHON CHAT APP


![screenshot](screenshots/messages.png)
In this repository, I created a chat app written in Python programming language. A chat application is a communication medium meaning that we have a **sender** and **receiver**.

## FEATURES
- Built with python and sockets.
- This app is run in the terminal.
- Signs in up to five users.

## RUNNING THE APPLICATION
Since the application is run in the terminal, we do not need so much, Just a few prerequisites.

### PREREQUISITES
- Knowledge on how to use the terminal.
- Python installed(modern editors like VScode have an option of installing python right from the extensions).

And then we are good to go!

### RUNNING THE APPLICATION

1. Open a terminal and Run ``python server-chat.py``.
![screenshot](screenshots/server.png)
2. Open a new terminal and run ``python client-chat.py``. Type your name beginning with ``#``.
![screenshot](screenshots/client.png)
3. You can open terminals for up to five users!
![screenshot](screenshots/client-two.png)
4. Each user that is added will be displayed in our first terminal where we run ``server-chat.py``.
![screenshot](screenshots/users.png)
5. You can now start sending messages in the formart **@user: message** .
![screenshot](screenshots/messages.png)

## FUTURE IMPROVEMENTS
- Proper user authentication.
- Improve validations.

## AUTHOR
- Github -- [@ampaire](https://github.com/ampaire)
- Twitter -- [@AmpaPhem](https://twitter.com/AmpaPhem)
- LinkedIn -- [Ampaire Phemia](https://www.linkedin.com/in/phemia)