A modern chat and communication platform inspired by Discord, built with Python Flask and modern web technologies.
This project is under active development and not production-ready yet. (Project in German)
- Real-time messaging with text formatting
- Server creation and management
- Channel organization with categories
- User status updates (online/offline)
- Friend system with friend requests
- User roles and permissions
- Beautiful, responsive UI
- Create custom servers with icons
- Multiple server templates (Gaming, Study, School, Custom)
- Text and voice channels
- Channel categories
- Server member management
- Server settings and customization
- Real-time messaging
- Message history
- Text formatting support
- User presence indicators
- Typing indicators
- File attachments
- User registration and authentication
- Profile customization
- Friend management
- Online status tracking
- Server membership management
- Python Flask for server-side logic
- SQLAlchemy for database management
- Flask-SocketIO for real-time communication
- Flask-Login for user authentication
- SQLite database
- HTML5, CSS3, JavaScript
- Custom responsive UI
- WebSocket for real-time updates
- Bootstrap for modals and components
- Font Awesome for icons
-
Clone the repository:
git clone https://github.com/FunlightStudios/Discord-Clone cd funlight
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- Windows:
venv\Scripts\activate
- Unix/MacOS:
source venv/bin/activate
- Windows:
-
Install dependencies:
pip install -r requirements.txt
-
Initialize the database:
python >>> from funlight import create_app, db >>> app = create_app() >>> with app.app_context(): ... db.create_all()
-
Run the application:
python run.py
-
Access the application at
http://localhost:5000
funlight/
├── funlight/
│ ├── __init__.py
│ ├── models.py
│ ├── auth.py
│ ├── main.py
│ ├── static/
│ │ ├── css/
│ │ ├── js/
│ │ └── images/
│ └── templates/
├── instance/
├── venv/
├── requirements.txt
├── run.py
└── README.md
models.py
: Database models for Users, Servers, Channels, Messagesauth.py
: Authentication routes and logicmain.py
: Main application routes and WebSocket eventsstatic/js/server.js
: Client-side server managementstatic/js/chat.js
: Real-time chat functionality
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.