ChatDevs is a powerful, real-time collaboration platform designed for developers. It combines instant messaging, file sharing, voice communication, and an integrated Python compiler to streamline the development workflow.
- Real-Time Messaging: Instant chat with low latency using Socket.IO.
- Voice Messages: Record and send voice messages directly in the chat.
- File Sharing: Securely share code snippets, documents, images, and videos. Supports large file uploads and video streaming.
- Integrated Compiler: Run Python code directly within the application and see output instantly.
- User Authentication: Secure signup and login system with password hashing (Bcrypt).
- Friend System: Send, accept, and reject friend requests to build your network.
- MongoDB Database: Scalable data storage for users, messages, and files.
- Backend: Python, Flask, Flask-SocketIO
- Database: MongoDB (Flask-PyMongo)
- Frontend: HTML5, CSS3, JavaScript
- Security: Bcrypt for password hashing
-
Clone the repository
git clone https://github.com/ayoitssmit/ChatDevs.git cd ChatDevs -
Create a virtual environment
python -m venv venv # Windows venv\Scripts\activate # macOS/Linux source venv/bin/activate
-
Install dependencies
pip install -r requirements.txt
-
Configure MongoDB Ensure you have MongoDB running locally on port
27017or update theMONGO_URIinapp.py. -
Run the application
python app.py
-
Access the app Open your browser and navigate to
http://localhost:5000(or the port specified in the console).
- Sign Up: Create a new account.
- Search Users: Find friends by username.
- Chat: Start a conversation, send files, or verify code logic with the built-in compiler.
Contributions are welcome! Please feel free to submit a Pull Request.