Welcome to the ChatRoom application! This project aims to provide a simple and efficient solution for creating real-time chat rooms accessible through a public URL. The application is built using Python, Django, Flask, and real-time duplex sockets (django-channels) for seamless communication.
Users can easily create and join chat rooms through a public URL. The application leverages real-time duplex sockets to facilitate instant communication among users. Messages are sent and received in real-time, creating a dynamic and engaging chat experience.
- Clone the repository:
https://github.com/sachin-404/realtime-chat
- Set up your virtual environment:
python -m venv venv
and activate it. - Install dependencies:
pip install -r requirements.txt
- Apply migrations:
python manage.py migrate
- Run the development server:
python manage.py runserver
It uses NLTK to calculate the Figures of Speech used in the sentence every time a user sends a chat. For example:
Sentence: Sure!! What is it??
Figure of Speech: {Sure: JJ, What: WP, is: VBZ, it: PRP}
Meaning of the tags:
{
'JJ': adjective,
'WP': pronoun,
'VBZ': verb, gerund,
'PRP': personal pronoun
}