Skip to content

A Live Chat Room made using Python

License

Notifications You must be signed in to change notification settings

UniquePython/ChatRoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Room Application

This is a simple chat room application built using Flask, Socket.IO, and JavaScript. Users can join chat rooms, send messages, and see messages from other users in real-time.

Screenshot of the chat application

Features

  • Join existing chat rooms or create new ones
  • Real-time messaging using WebSockets
  • User-friendly interface with consistent styling

Installation

  1. Clone the repository:

    git clone https://github.com/UniquePython/ChatRoom.git
  2. Create a virtual environment and activate it:

    • On Windows
    python -m venv venv
    venv\Scripts\activate  
    • On macOS/Linux
    python3 -m venv venv
    source venv/bin/activate
  3. Install the required dependencies:

    pip install -r requirements.txt

Running the Application

  1. Start the Flask application:

    python main.py
  2. Open your web browser and navigate to localhost.

Project Structure

  • main.py: The main Flask application file.
  • templates: Contains HTML templates.
    • base.html: Base template with common layout.
    • home.html: Home page template where users can join or create chat rooms.
    • room.html: Chat room template where users can send and receive messages.
  • style.css: Contains the CSS styles for the application.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

About

A Live Chat Room made using Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published