Skip to content

PyChat πŸ’¬ | Real-time chat app built with Flask & SocketIO for instant communication! πŸš€

License

Notifications You must be signed in to change notification settings

mhdZhHan/pychat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PyChat πŸπŸ’¬

A simple, real-time chat application built using Flask and Socket.IO. PyChat gives users random usernames and avatars, creating a fun and engaging chat experience.

Features ✨

  • πŸ”„ Real-time messaging using Flask-SocketIO
  • πŸ–ΌοΈ Random avatars and usernames for each user
  • 🌐 Broadcast system for chat join/leave notifications
  • πŸ–‹οΈ Option to update your username on the go
  • 🎨 Clean and responsive user interface

Installation πŸ› οΈ

  1. Clone the repo:
    git clone https://github.com/mhdZhHan/pychat-app.git
  2. Navigate to the project directory:
    cd pychat-app
  3. Install dependencies:
    pip install -r requirements.txt
  4. Run the Flask app:
    flask run

Usage πŸš€

  1. Open your browser and go to:
    http://localhost:5000
    

Start chatting! πŸŽ‰

WebSocket Events 🎧

  • connect: Triggers when a user joins the chat. The user gets a random username and avatar.
  • send_message: Broadcasts a new message to all users.
  • update_username: Allows users to change their username.
  • disconnect: Handles user leaving the chat.

Contributing πŸ› οΈ

Feel free to submit issues or fork the repository and create pull requests.

About

PyChat πŸ’¬ | Real-time chat app built with Flask & SocketIO for instant communication! πŸš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published