Skip to content

Watch videos together with friends in real-time! Cinemates lets you sync YouTube videos and MP4 files while video chatting with your friends.

Notifications You must be signed in to change notification settings

Swotboysandy/cinemates

Repository files navigation

Cinemates 🎬

Watch videos together with friends in real-time! Cinemates lets you sync YouTube videos and MP4 files while video chatting with your friends.

Features

  • 🎥 Synchronized Playback - Play/Pause/Seek syncs automatically between all connected users
  • 📹 Video Chat - See and talk to your friends while watching
  • 🔗 Peer-to-Peer - No server needed, connect directly using PeerJS
  • 📱 Responsive - Works on desktop and mobile
  • 🎨 Modern UI - Beautiful glassmorphism design with dark theme

How to Use

  1. Start the app - Open the URL in your browser
  2. Share your ID - Copy your unique Peer ID and send it to a friend
  3. Connect - Paste your friend's ID and click Connect
  4. Watch together - Paste any YouTube or MP4 URL and click Load
  5. Enjoy! - Play/Pause syncs automatically!

Running Locally

# Install dependencies
npm install

# Start development server
npm run dev

Tech Stack

  • React + Vite
  • PeerJS (WebRTC)
  • YouTube IFrame API
  • Lucide Icons

License

MIT

About

Watch videos together with friends in real-time! Cinemates lets you sync YouTube videos and MP4 files while video chatting with your friends.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published