Overview
This prompt aims to guide developers in creating a comprehensive web application with specific functionalities and design requirements. Programmers and coding enthusiasts will benefit from the structured approach and detailed instructions provided.
Prompt Overview
Purpose: This project aims to create a responsive web application for seamless video communication and chat.
Audience: The application targets users seeking secure video interactions, particularly those familiar with Discord and email authentication.
Distinctive Feature: It features a WebRTC-based video system with real-time chat and screen-sharing capabilities for enhanced user engagement.
Outcome: The final product will be a fully integrated application, ready for deployment with comprehensive documentation and support files.
Quick Specs
- Media: Text
- Use case: Generation
- Industry: Business Communications, Data & Analysis, Development Tools & DevOps
- Techniques: Plan-Then-Solve, Role/Persona Prompting, Structured Output
- Models: Claude 3.5 Sonnet, Gemini 2.0 Flash, GPT-4o, Llama 3.1 70B
- Estimated time: 5-10 minutes
- Skill level: Beginner
Variables to Fill
No inputs required — just copy and use the prompt.
Example Variables Block
No example values needed for this prompt.
The Prompt
Develop a fully integrated, responsive web application based on the provided index.php and style.css files. Enhance the original concept and design while ensuring the application is completed using PHP, JavaScript, CSS, and any additional necessary technologies. This includes a properly configured database and a config file.
**Key Requirements:**
– The admin area must display the admin name in red text next to it instead of a logo.
– Implement a secure login system that exclusively supports Discord and email authentication.
– Include a fully functional WebRTC-based video communication feature with screen-sharing capabilities, ensuring it operates flawlessly and bidirectionally for both users.
**Design Requirements:**
– Center the camera video feeds vertically, stacked atop one another in the middle of the screen.
– Display real-time statistics and a chat interface between the user and a random partner on the right side of the cameras.
– Provide control buttons on the left side of the cameras, including:
– Screen sharing toggle
– Camera and microphone mute/unmute
– Dedicated buttons for “Skip” and “Close” session below those controls.
– Ensure the design is clean, intuitive, and fully responsive for a smooth user experience on both desktop and mobile devices.
**Steps to Follow:**
1. Analyze the provided index.php and style.css to understand current functionality and design.
2. Build a robust backend with PHP, including a config file for database connection and necessary settings.
3. Set up a database schema supporting:
– User authentication
– Sessions
– Chat logs
4. Implement login mechanisms using:
– Discord OAuth
– Standard email authentication only
5. Architect the frontend layout according to the specified UI design using modern CSS techniques to ensure responsiveness.
6. Integrate WebRTC technology to enable bidirectional video calls and screen sharing.
7. Implement real-time chat and statistics updates via WebSocket or appropriate methods.
8. Ensure all features—video, chat, controls, authentication—are tightly integrated and tested across multiple devices and browsers.
**Output Requirements:**
– Provide a complete, production-ready project code base, including all necessary:
– PHP files
– JavaScript files
– CSS files
– Configuration files
– SQL scripts to create and initialize the database.
**Output Format:**
– Structure all source code files in proper directories with comments for clarity.
– Include a README with setup instructions, dependencies, and usage notes.
– Embed relevant code snippets within the response where necessary.
– Summarize large sections with links or attachments as appropriate.
Screenshot Examples
How to Use This Prompt
- Copy the prompt for your project requirements.
- Analyze the provided index.php and style.css files.
- Build a backend with PHP and configure the database.
- Implement secure login using Discord and email authentication.
- Design the frontend layout for responsiveness and usability.
- Integrate WebRTC for video calls and screen sharing functionality.
Tips for Best Results
- Understand the Basics: Review the existing index.php and style.css to grasp the current functionality and layout before making enhancements.
- Secure Authentication: Implement Discord OAuth and email login, ensuring user data is handled securely and efficiently.
- WebRTC Integration: Use WebRTC for video communication, ensuring both video feeds and screen sharing work seamlessly for users.
- Responsive Design: Utilize modern CSS techniques to create a clean, intuitive layout that adapts well to both desktop and mobile devices.
FAQ
- What technologies are required for the web application?
The application requires PHP, JavaScript, CSS, and additional technologies for database and WebRTC integration. - How should the admin name be displayed?
The admin name must be shown in red text next to the admin area instead of a logo. - What authentication methods are supported?
The application supports secure login via Discord OAuth and standard email authentication only. - What features should the video communication include?
It should include bidirectional video calls, screen sharing, real-time chat, and user statistics.
Compliance and Best Practices
- Best Practice: Review AI output for accuracy and relevance before use.
- Privacy: Avoid sharing personal, financial, or confidential data in prompts.
- Platform Policy: Your use of AI tools must comply with their terms and your local laws.
Revision History
- Version 1.0 (February 2026): Initial release.


