ChatterBox is a real-time chat application built with Node.js, Socket.IO, and jQuery. It allows users to join chat rooms, send messages, and see a list of online users. The app features a simple and responsive user interface, making it easy to chat with others in real time.
-
Real-Time Chat: Chat with other users in real time, with messages instantly delivered to all participants.
-
Username Prompt: Users are prompted to enter a username before joining the chat room.
-
Online User List: See a list of online users on the left side of the chat interface.
-
Emoji Support: Express yourself with a variety of emoji in your messages.
-
Slash Commands: Use slash commands to trigger specific actions or shortcuts for common tasks.
To run ChatterBox locally, follow these steps:
-
Clone this repository to your local machine:
git clone <repository-url>
-
Install the required dependencies:
npm install
-
Start the Node.js server:
npm start
-
Open your web browser and navigate to
http://localhost:3000
to access the chat app.
-
Upon accessing the app, you will be prompted to enter a username. This username will be used to identify you in the chat room.
-
After entering a username, you can start sending and receiving messages in the chat room.
-
The list of online users is displayed on the left side of the chat interface.
-
Messages are displayed in a chat bubble format, with your messages on the right and others' messages on the left.
-
New messages are added at the bottom of the chat window, and you can scroll through the chat history.
-
To send a message, type it in the message input field and click the "Send" button or press Enter.
- ChatGPT-3.5
- Node.js
- Socket.IO
- jQuery
- HTML5
- CSS3
Contributions to ChatterBox are welcome! If you have any improvements or feature suggestions, feel free to open an issue or submit a pull request.
- This project was inspired by real-time chat applications like WhatsApp.
- Special thanks to the open-source community for providing tools and libraries that make projects like this possible.