A modern social platform for real-time virtual hangouts, featuring video calls, media sharing (YouTube/Netflix), and an AI companion powered by Google Genkit.
- Virtual Rooms: Real-time video/audio calling (WebRTC).
- AI Companion: Context-aware AI chat integrated into rooms.
- AI Room Creator: Generate room themes and names using AI magic.
- Watch Party: Synchronized media playback (YouTube, External Services).
- Productivity: Collaborative Notes & Shared Focus Timer.
- Interactive: Whiteboard, Reactions, Polls using Supabase Realtime.
- Node.js 18+
- Supabase Project
- Google AI Studio API Key (for Genkit)
git clone <repo_url>
cd prototype
npm installCreate .env.local and add:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
GOOGLE_GENAI_API_KEY=your_gemini_api_key
GOOGLE_YOUTUBE_API_KEY=your_youtube_api_keyRun the SQL schema provided in src/supabase_schema.sql in your Supabase SQL Editor. This sets up:
profiles(Public user profiles)rooms(Room metadata)friend_requests,friends,direct_messages(Social)storagebuckets for avatars.
npm run devVisit http://localhost:3000.
Ready for proper deployment on Vercel. Ensure you add the Environment Variables in your Vercel Project Settings.
The AI Companion uses Google Genkit with the gemini-1.5-flash model.
The logic is located in src/backend/ai.
Built with Next.js 15, TailwindCSS, ShadCN UI, and Supabase.