A real-time screen sharing application built with Next.js, WebRTC, and PeerJS. Create or join rooms to share your screen with others instantly.
- Real-time screen and audio sharing
- Room-based sharing system
- Cross-browser support
- Simple and intuitive interface
- Hosting: Desktop/laptop browsers only
- Viewing: Works on all devices (desktop, tablet, mobile)
| Browser | Screen Sharing | Audio Sharing |
|---|---|---|
| Google Chrome | ✅ | ✅ (Only when sharing a tab) |
| Microsoft Edge | ✅ | ✅ (Only when sharing a tab) |
| Mozilla Firefox | ✅ | ❌ |
| Apple Safari | ✅ | ❌ |
- For audio sharing to work, users have to select the tab option when sharing in Google Chrome or Microsoft Edge.
- Next.js - React framework
- PeerJS - WebRTC abstraction
- Tailwind CSS - Styling
- shadcn/ui - UI components
First, clone the repository:
git clone https://github.com/VA5UDEV/screen-sharing.gitNavigate to the project directory:
cd screen-sharingInstall the dependencies:
npm installStart the development server:
npm run dev