Skip to content

Latest commit

Β 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚑ SyncWire

Next-Generation Real-Time Messaging, HD Video Calling & AI Collaboration Platform

Live Demo API Backend React 19 Node.js Socket.io MongoDB WebRTC Cloudinary


🌐 Live Production Links

Service Environment Live URL Status
Frontend Web App Vercel Edge CDN https://sync-wire-put3.vercel.app Vercel
Backend API & WebSockets Render Cloud https://syncwire.onrender.com Render
System Health & Metrics Render Cloud https://syncwire.onrender.com/api/health Health

SyncWire is a feature-packed, privacy-first communication platform that goes beyond standard messengers like WhatsApp and Telegram. Featuring peer-to-peer HD video calling, live screen sharing, collaborative whiteboarding, neural live translations, self-destructing burner notes, scheduled messages, interactive polls, AI in-chat copilot, and 24-hour stories with custom music soundtracks.


🌟 Flagship Features

πŸš€ 1. Next-Gen Messaging & Media

  • πŸ’¬ Real-Time Instant Messaging: Low-latency bi-directional messaging powered by Socket.io.
  • πŸ‘₯ Multi-Member Group Channels: Create public/private groups, manage member rosters, and chat seamlessly.
  • πŸ“Š Interactive Native Polls: Compose multi-option polls with live animated percentage bars, voter counts, and optional anonymous voting.
  • ⏰ Scheduled Message Queue: Schedule messages with presets (In 30 mins, 2 hours, 12 hours) or custom datetime picker. Auto-delivered by a background cron dispatcher.
  • πŸ”₯ View-Once Burner Messages: Self-destructing text and media messages that vaporize after a 5-second countdown upon opening.
  • πŸŽ™οΈ Voice Note Transcriber & TL;DR: Auto-transcribe audio voice notes to readable text with a 1-line bullet summary.
  • 🌐 Real-Time Live Translation: Neural on-the-fly translation in 20+ languages (Spanish, French, German, Hindi, Japanese, Arabic) directly in chat.
  • πŸ€– @SyncAI In-Chat Group Copilot: Mention @SyncAI <question> in any chat to receive instant answers from the AI assistant.
  • ⚑ Smart One-Click Quick Replies: Context-aware AI suggestions above the input bar.
  • πŸ”Š Voice-to-Text Speech Dictation: Hands-free live microphone typing directly into the message composer.

πŸ“Ή 2. HD Calling, Screen Sharing & Whiteboard

  • πŸŽ₯ WebRTC Video & Voice Calls: Direct peer-to-peer encrypted voice and video calling.
  • πŸͺž Natural Mirror-Flipped Camera: Mirror view for selfie camera feed.
  • πŸ”„ Dynamic Layout Switcher: Toggle between PIP Overlay, Swapped Main View, and 50/50 Split View.
  • πŸ’» Desktop Screen Sharing: Share screen with 1 click during video calls (getDisplayMedia).
  • 🎨 Live Collaborative Whiteboard: Open a real-time drawing canvas during calls with multi-color pens, eraser, and clear canvas tools.

β­• 3. 24-Hour Stories & Status with Custom Soundtracks

  • πŸ“Έ Text & Photo Stories: Share rich gradient text cards or photos that auto-expire after 24 hours.
  • 🎡 Music From Anywhere:
    • πŸ“ Device Audio Upload: Upload any MP3, WAV, AAC, M4A, or OGG file from your computer or phone.
    • πŸ”— Audio Stream URL: Paste any direct audio link.
    • ✨ Curated Presets: Choose from built-in Lo-Fi, Cosmic, and Summer ambient tracks.
  • ❀️ Likes & Live Comments Drawer: Interactive hearts and real-time reply threads on any story.

πŸ›‘οΈ 4. Advanced Security & Privacy

  • πŸ” Secret Chat Vault (4-Digit PIN Lock): Lock and hide sensitive conversations from the sidebar behind a custom security PIN.
  • πŸ”‘ 1-Click Google OAuth & Email Auth: Instant Firebase authentication with secure JWT tokens.
  • πŸ—‘οΈ Delete for Everyone: Remove sent messages for all participants in real time.
  • πŸ”’ End-to-End Encrypted Data Architecture: Secure password hashing (bcryptjs) and scoped REST API endpoints.

🎨 5. Personalization & Glassmorphic Aesthetics

  • πŸ–ΌοΈ 12 Curated Chat Wallpapers:
    • Default Minimal, Dark Doodle, Light Doodle, Cosmic Stars, Cyber Grid, Sakura Floral, Geometric Honeycomb, Midnight Matrix, Sunset Dunes, Mesh Aura, Matte Slate, and Nature Forest.
  • ✨ 8 Futuristic Glassmorphic Themes: Midnight Nebula, Cyberpunk Neon, Emerald Glow, Royal Amethyst, Sunset Coral, Deep Slate, Arctic Frost, Rose Quartz.
  • πŸ”  Global Typography Scaling: Dynamically scale font size across the entire application (Small, Medium, Large, Extra Large).
  • 🏷️ Contact Nicknames: Assign custom local aliases to your contacts.

πŸ—οΈ Architecture & Technology Stack

graph TD
    Client[SyncWire Client - React 19 + Tailwind CSS]
    Server[SyncWire Backend - Express.js + Socket.io]
    DB[(MongoDB Atlas Database)]
    Cloud[Cloudinary Media CDN]
    AI[Gemini AI Engine]
    WebRTC[WebRTC P2P Peer Connection]
    Firebase[Firebase Authentication]

    Client <-->|WebSocket Real-Time Events| Server
    Client <-->|REST API Endpoints| Server
    Client <-->|Google 1-Click Login| Firebase
    Client <-->|Video / Voice / Screen Share| WebRTC
    Server <-->|CRUD & Story TTL Index| DB
    Server <-->|Image / Audio Processing| Cloud
    Server <-->|Live Translation & Transcripts| AI
Loading

πŸ“ Repository Structure

QuickChat-Full-Stack/
β”œβ”€β”€ client/                      # React 19 Frontend Application
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/          # Reusable UI Components & Modals
β”‚   β”‚   β”‚   β”œβ”€β”€ AIAssistantModal.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ AudioPlayer.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ CallModal.jsx       # Video/Voice Call + Screen Sharing
β”‚   β”‚   β”‚   β”œβ”€β”€ CallWhiteboard.jsx  # Interactive Call Whiteboard Canvas
β”‚   β”‚   β”‚   β”œβ”€β”€ ChatContainer.jsx   # Messages, Polls, Translations, Burners
β”‚   β”‚   β”‚   β”œβ”€β”€ CreateGroupModal.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ CreatePollModal.jsx # Interactive Poll Composer
β”‚   β”‚   β”‚   β”œβ”€β”€ CreateStatusModal.jsx # 24h Story + Custom Music Upload
β”‚   β”‚   β”‚   β”œβ”€β”€ EmojiPicker.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ ErrorBoundary.jsx   # Runtime Crash Recovery
β”‚   β”‚   β”‚   β”œβ”€β”€ MediaViewer.jsx     # Fullscreen Lightbox
β”‚   β”‚   β”‚   β”œβ”€β”€ RightSidebar.jsx    # Profile, Media Gallery & Vault Toggle
β”‚   β”‚   β”‚   β”œβ”€β”€ ScheduleMessageModal.jsx # Message Scheduler
β”‚   β”‚   β”‚   β”œβ”€β”€ SecretVaultModal.jsx # 4-Digit PIN Lock
β”‚   β”‚   β”‚   β”œβ”€β”€ Sidebar.jsx         # Chat List, Stories & Filters
β”‚   β”‚   β”‚   β”œβ”€β”€ StatusViewerModal.jsx # Story Viewer + Music Player
β”‚   β”‚   β”‚   └── ThemeModal.jsx      # Themes & 12 Wallpapers
β”‚   β”‚   β”œβ”€β”€ context/
β”‚   β”‚   β”‚   β”œβ”€β”€ AuthContext.jsx     # Google & JWT Authentication
β”‚   β”‚   β”‚   β”œβ”€β”€ CallContext.jsx     # WebRTC Calling & Screen Sharing
β”‚   β”‚   β”‚   └── ChatContext.jsx     # Real-Time Messages, Polls & Vault
β”‚   β”‚   β”œβ”€β”€ lib/
β”‚   β”‚   β”‚   β”œβ”€β”€ firebase.js         # Firebase Auth Config
β”‚   β”‚   β”‚   β”œβ”€β”€ sounds.js           # Haptic Notification Chimes
β”‚   β”‚   β”‚   β”œβ”€β”€ speech.js           # Web Speech Dictation
β”‚   β”‚   β”‚   └── utils.js            # Formatters & Helpers
β”‚   β”‚   └── pages/
β”‚   β”‚       β”œβ”€β”€ HomePage.jsx        # Main Dashboard
β”‚   β”‚       β”œβ”€β”€ LoginPage.jsx       # 2-Column Showcase Landing Page
β”‚   β”‚       β”œβ”€β”€ PhoneLoginPage.jsx  # Phone Verification
β”‚   β”‚       └── ProfilePage.jsx     # Profile & Wallpaper Studio
β”œβ”€β”€ server/                      # Node.js Express Backend
β”‚   β”œβ”€β”€ controllers/
β”‚   β”‚   β”œβ”€β”€ aiController.js         # Live Translation, Transcribe & @SyncAI
β”‚   β”‚   β”œβ”€β”€ groupController.js      # Group Management
β”‚   β”‚   β”œβ”€β”€ messageController.js    # Messages, Polls & Scheduled Queue
β”‚   β”‚   β”œβ”€β”€ otpController.js        # Phone Verification
β”‚   β”‚   β”œβ”€β”€ storyController.js      # 24h Stories & Cloudinary Music CDN
β”‚   β”‚   └── userController.js       # Auth, Google Login & Nicknames
β”‚   β”œβ”€β”€ models/
β”‚   β”‚   β”œβ”€β”€ Group.js
β”‚   β”‚   β”œβ”€β”€ Message.js              # Poll, Burner, Scheduled & Translation Schemas
β”‚   β”‚   β”œβ”€β”€ Otp.js
β”‚   β”‚   β”œβ”€β”€ Story.js                # Music Track Attachment Schema
β”‚   β”‚   └── User.js
β”‚   β”œβ”€β”€ routes/
β”‚   β”‚   β”œβ”€β”€ aiRoutes.js
β”‚   β”‚   β”œβ”€β”€ groupRoutes.js
β”‚   β”‚   β”œβ”€β”€ messageRoutes.js
β”‚   β”‚   β”œβ”€β”€ storyRoutes.js
β”‚   β”‚   └── userRoutes.js
β”‚   β”œβ”€β”€ lib/
β”‚   β”‚   β”œβ”€β”€ cloudinary.js
β”‚   β”‚   β”œβ”€β”€ db.js
β”‚   β”‚   └── scheduledJob.js         # 10-Second Cron Dispatcher
β”‚   └── server.js                   # Express + Socket.io Server
└── README.md

⚑ Quick Start Guide

Prerequisites

  • Node.js: v18.0 or higher
  • MongoDB: MongoDB Atlas database URI
  • Cloudinary Account: Cloud name, API key, API secret

1. Clone Repository

git clone https://github.com/Goutam16-Withcode/SyncWire.git
cd SyncWire

2. Configure Environment Variables

Create server/.env:

PORT=5000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_key
CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret

Create client/.env:

VITE_BACKEND_URL=http://localhost:5000
VITE_FIREBASE_API_KEY=your_firebase_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_project.firebasestorage.app
VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
VITE_FIREBASE_APP_ID=your_app_id

3. Install & Start

Run Backend Server:

cd server
npm install
npm run server

Run Frontend Client:

cd client
npm install
npm run dev

Visit http://localhost:5173 in your browser.


πŸ“œ License

This project is open-source and available under the MIT License.

About

SyncWire is a feature-packed, privacy-first communication platform that goes beyond standard messengers like WhatsApp and Telegram. Featuring peer-to-peer HD video calling, live screen sharing, collaborative whiteboarding, neural live translations, self-destructing burner notes, scheduled messages, interactive polls, AI in-chat copilot, and 24-hour

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages