Skip to content

Python Chat App enables real-time messaging with random usernames and avatars using Flask-SocketIO for dynamic, seamless user interaction.

Notifications You must be signed in to change notification settings

Web-Dev-Learner/python-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Chat App

Python Chat App is a real-time web-based chat application that allows users to communicate with one another using randomly assigned usernames and avatars. Built using Flask and Flask-SocketIO, the app supports dynamic user interaction, with features such as live message broadcasting, avatar display, and username customization. The app leverages Python, HTML, CSS, JavaScript, and Socket.IO for seamless real-time communication between users.

Tech Stack:

  • Backend: Python, Flask, Flask-SocketIO, WSGI
  • Frontend: HTML, CSS, JavaScript
  • Real-time Communication: Socket.IO
  • Random Avatar Service: Liara Avatar API

Features:

  • Real-Time Messaging: Instant message sending/receiving with Socket.IO.
  • Auto-Generated Usernames & Avatars: Random username and avatar assigned via Liara avatar API.
  • Username Update: Users can change usernames dynamically in real-time.
  • Join/Leave Notifications: System alerts when users join or leave the chat.
  • Avatar Display: User messages show personalized avatars.
  • Message Styling: Different styles for sent and received messages.
  • Auto-Scroll: Chat auto-scrolls to display the latest messages.

Core Functions:

  • User Connection/Disconnection: Assigns username and avatar, broadcasts join/leave events.
  • Message Sending: Sends messages along with username and avatar to all users.
  • Username Update: Real-time username change broadcasted to all users.

UI Features:

  • Responsive Design: User-friendly interface with avatars, message bubbles, and scrollable chat history.

About

Python Chat App enables real-time messaging with random usernames and avatars using Flask-SocketIO for dynamic, seamless user interaction.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published