Skip to content

A simple chating service that uses socketio and flask mainly.

License

Notifications You must be signed in to change notification settings

Austin-Holdheide/socketio-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat App

Welcome to the Chat App! This is a simple chat application built with Flask and Socket.IO.

Features

  • Real-time messaging with Socket.IO
  • Join chat rooms with a unique room ID
  • Server logs connection and disconnection events
  • Messages stored in JSON files for each chat room

Getting Started

  1. Clone the repository:

    git clone https://github.com/Austin-Holdheide/socketio-chat.git
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Run the application:

    python app.py

    The app will be accessible at http://127.0.0.1:5000/.

  4. Open your browser and go to http://127.0.0.1:5000/ to access the chat app.

Usage

  • Open the chat app in your browser.
  • Enter your desired username and chat room ID.
  • Start chatting in real-time!

Folder Structure

  • templates: HTML templates for the application.
  • chatjson: Folder to store JSON files containing chat data.

Contributing

Feel free to contribute to the project! Fork the repository, make your changes, and submit a pull request.

Incoming Features

  • sqlserver3: Planing to has a sql database to mange chat data insteed of tons of json files.
  • Active Conections: Planing to add a box to the side that has all the people connected to a room.
  • accounts: Make accounts to have a DM service on it.
  • HTTPS support: This one is self explantory.

License

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