An open API service indexing awesome lists of open source software.

https://github.com/f0rk-it/whatsup

WhatsUp is a real-time chat app built with Django and Django Channels, featuring group chats and anonymous messaging.
https://github.com/f0rk-it/whatsup

chat-application django django-channels-chat redis-server

Last synced: 25 days ago
JSON representation

WhatsUp is a real-time chat app built with Django and Django Channels, featuring group chats and anonymous messaging.

Awesome Lists containing this project

README

          

# πŸš€ WhatsUp – Real-Time Anonymous Chat App

WhatsUp is a **real-time chat application** built with **Django** and **Django Channels**. It lets users create accounts, join chat rooms, and communicate instantly. Whether you're chatting with friends or collaborating in groups, WhatsUp makes conversations **seamless and fun**β€”and with **anonymous messaging**, you can speak your mind without revealing your identity!

## ✨ Features

- **πŸ’¬ Real-Time Messaging** – Instant chats powered by WebSockets.
- **πŸ” User Authentication** – Secure login & registration.
- **πŸ‘₯ Group Chats** – Create or join group conversations.
- **πŸ•΅οΈ Anonymous Messaging** – Send messages anonymously in group chats.
- **✏️ Message Management** – Edit or delete your messages anytime.
- **⌨️ Typing Indicators** – See when others are typing.

## πŸ›  Installation

Follow these steps to set up **WhatsUp** locally. You'll need **Python, pip, Git, and Redis** installed.

### 1️⃣ Install and Run Redis
- Download and install Redis from [here](https://redis.io/download).
- Start the Redis server using:
```
redis-server
```

### 2️⃣ Clone the Repository
```
git clone https://github.com/Mz-scripter/WhatsUp.git
cd WhatsUp
```

### 3️⃣ Set Up a Virtual Environment
```
python -m venv venv
source venv/Scripts/activate # On Windows
source venv/bin/activate # On macOS/Linux
```

### 4️⃣ Install Dependencies
```
pip install -r requirements.txt
```

### 5️⃣ Set Up the Database
```
python manage.py migrate
```

### 6️⃣ Start the Development Server
```
python manage.py runserver
```

## πŸš€ Quick Start

1️⃣ Open your browser and visit: `http://127.0.0.1:8000/`
2️⃣ Sign up or log in.
3️⃣ Create or join a chat room.
4️⃣ Start chatting in real-time! πŸŽ‰

## πŸ“ Project Structure
```
πŸ“‚ WhatsUp/
β”œβ”€β”€ πŸ“‚ chats/ # Core chat functionality
β”œβ”€β”€ πŸ“‚ users/ # User authentication & management
β”œβ”€β”€ πŸ“‚ templates/ # HTML templates for the frontend
β”œβ”€β”€ πŸ“‚ static/ # CSS & other static assets
β”œβ”€β”€ πŸ“„ manage.py # Django project entry point
└── πŸ“„ requirements.txt # Dependencies
```

## βš™οΈ Troubleshooting

### πŸ’‘ Redis Not Running?
- Ensure Redis is installed and running:
```
redis-server
```

### πŸ’‘ Static Files Not Loading?
- Run:
```
python manage.py collectstatic
```

### πŸ’‘ WebSocket Errors?
- Ensure Django Channels is correctly set up in settings.py.

## 🀝 Contributing
Love WhatsUp? Want to improve it? Contributions are welcome! πŸŽ‰
- πŸ› Report bugs or πŸ’‘ suggest features via GitHub Issues.
- πŸ”§ Submit pull requests with your enhancements.