A powerful realtime collaborative document editor with built-in AI writing assistant. Inspired by Google Docs + Notion AI.
Built using Next.js, Socket.io, MongoDB and Groq AI.
- 🧠 AI writing assistant (improve, grammar fix, professional tone, shorten, tweet)
- ⚡ Realtime multi-user collaboration (Google Docs style)
- 🟢 Live users online indicator
- 🔗 Shareable document links
- 💾 Auto-save to MongoDB
- 📝 Editable document titles
- 🎨 Clean modern UI
- 🌐 Full-stack Next.js app
- 🔄 Instant sync across tabs & users
Create document → share link → edit with friends in realtime.
(Deploy link here after hosting)
Frontend
- Next.js (App Router)
- Tailwind CSS
- Socket.io client
Backend
- Node.js
- Socket.io server
- MongoDB
AI Integration
- Groq API (LLama 3 model)
git clone https://github.com/yourusername/ai-collab-studio.git
cd ai-collab-studionpm installCreate .env.local
MONGODB_URI=your_mongodb_connection
GROQ_API_KEY=your_groq_api_key
node socket-server.jsnpm run devOpen:
http://localhost:3000
- Each document gets unique shareable link
- Users join same room via Socket.io
- Changes sync in realtime
- Content auto-saves to MongoDB
- AI tools rewrite text using Groq LLM
- Realtime systems with Socket.io
- Full-stack Next.js architecture
- MongoDB document storage
- AI API integration
- State synchronization across users
- Google login authentication
- Document dashboard
- Live cursor tracking
- Comments system
- Version history
- Deployment on Vercel
Pranav Aspiring Full-Stack & AI Developer
Give it a star on GitHub ⭐