Click on any section to navigate quickly.
Feature
Description
HD Video Calls
High quality video with WebRTC technology
Crystal Clear Audio
Clear sound with noise cancellation
Private & Secure
Encrypted P2P connection, no data on server
Multi-device
Works on desktop, tablet and mobile
Instant Rooms
Create or join rooms quickly
Unlimited Time
No time restrictions on calls
Camera Test
Test your camera and microphone before joining
Modern UI
Clean, responsive design with modern header
# 1. Clone the repository
git clone https://github.com/your-username/chat-real.git
cd chat-real
# 2. Install dependencies
npm install
# 3. Start development server
npm run dev
# 4. Open your browser
# http://localhost:5173
graph LR
A[Clone Repository] --> B[Install Dependencies]
B --> C[Start Dev Server]
C --> D[Open Browser]
D --> E[Start Video Chatting!]
Loading
Command
Description
npm run dev
Start development server
npm run build
Build for production
npm run preview
Preview production build
npm run lint
Run ESLint
npm run type-check
Run TypeScript compiler
src /
βββ π components / # React components
β βββ CameraTest / # Camera / microphone testing
β βββ Controls / # Video call controls
β βββ Header / # Navigation header
β βββ Landing / # Landing page
β βββ ShareButton / # Room link sharing
β βββ VideoChat / # Main video chat interface
β βββ VideoContainer / # Video display container
βββ π hooks / # Custom React hooks
β βββ useVideoChat . ts # Video chat state management
βββ π services / # Business logic
β βββ WebRTCService . ts # WebRTC implementation
βββ π types / # TypeScript type definitions
βββ π utils / # Utility functions
β βββ roomUtils . ts # Room ID generation
βββ App . tsx # Main app component
βββ main . tsx # App entry point
βββ index . css # Global styles
sequenceDiagram
participant U as User
participant A as App
participant B as Browser
U->>A: Click "Create New Room"
A->>B: Request Camera/Mic Permissions
B->>A: Grant Permissions
A->>U: Generate Room ID & Show Video
U->>A: Share Room Link
Loading
Click "Create New Room" on the homepage
Allow camera and microphone permissions
Share the room link with others
Paste the room ID in the "Join Existing Room" input
Click "Join Room" or press Enter
Allow camera and microphone permissions
Feature
Description
Camera Toggle
Toggle video on/off
Microphone Toggle
Toggle audio on/off
End Call
End call and return home
Share Room
Copy room link to share
Create a .env file in the root directory:
# Optional: Custom STUN/TURN servers for better connectivity
VITE_STUN_SERVER = stun:your-server.com:3478
VITE_TURN_SERVER = turn:your-server.com:3478
VITE_TURN_USERNAME = your-username
VITE_TURN_PASSWORD = your-password
# Optional: App configuration
VITE_APP_NAME = " Chat Real"
VITE_APP_VERSION = 1.0.0
Browser
Version
Status
Chrome
60+
Fully Supported
Firefox
60+
Fully Supported
Safari
13+
Fully Supported
Edge
79+
Fully Supported
Note : Requires HTTPS for camera/microphone access in production.
Click the deploy button above
Connect your GitHub repository
Deploy automatically
# Build the project
npm run build
# The dist/ folder is ready for deployment
Supported Platforms :
Netlify
Vercel
GitHub Pages
Firebase Hosting
Any static hosting service
We love your input! We want to make contributing as easy and transparent as possible.
graph LR
A[Fork Repository] --> B[Create Branch]
B --> C[Make Changes]
C --> D[Run Tests]
D --> E[Submit PR]
E --> F[Review & Merge]
Loading
Fork the repository
Create a feature branch: git checkout -b feature/amazing-feature
Commit your changes: git commit -m 'Add amazing feature'
Push to the branch: git push origin feature/amazing-feature
Open a Pull Request
Use TypeScript for all new code
Follow React best practices
Use CSS Modules for styling
Write meaningful commit messages
Test your changes thoroughly
Update documentation if needed
Status
Feature
Description
π
Screen Sharing
Share your screen during calls
π
Chat Messages
Text chat alongside video
π
Recording
Record your video calls
β³
Background Effects
Virtual backgrounds and blur
β³
Room Passwords
Secure rooms with passwords
β³
Mobile App
React Native application
β³
Multiple Participants
Support for group calls
β³
File Sharing
Share files during calls
β³
Whiteboard
Collaborative drawing board
Issue
Solution
Camera access denied initially
Refresh the page and allow permissions
iOS Safari audio issues
Use Chrome or Firefox on iOS
Firefox media device enable
Manually enable in browser settings
Connection issues
Check firewall and network settings
This project is licensed under the MIT License - see the LICENSE file for details.
WebRTC API - Real-time communication technology
React Team - Amazing frontend framework
Material Design - Beautiful icon system
Inter Font - Clean typography by Rasmus Andersson
Vite - Lightning-fast build tool
β Don't forget to star the repository if you find this project useful!
Happy Video Chatting!
Made with β€οΈ by juninhokaponne the Chat Real community