Skip to content

Ahmad-Judge/CoAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  CoAI โ€” Real-Time Collaborative Workspace Web App CollabSpace is a modern web-based collaboration platform inspired by Slack, Notion, and Google Docs โ€” designed for real-time communication, document editing, and seamless teamwork.

Built on the MERN stack with Socket.IO for real-time updates, it allows teams to chat, create documents, and work together within shared workspaces. (AI assistant integration coming soon!)

๐Ÿš€ Features ๐Ÿ” Authentication & Workspaces Secure login/register using JWT authentication Create and manage workspaces Role-based access: Owner, Member, and Guest Invite users to join via workspace links ๐Ÿ’ฌ Real-Time Chat Channel-based communication (e.g., #general, #announcements) Private direct messages Typing indicators and online presence Powered by Socket.IO for live updates ๐Ÿ“ Collaborative Document Editing Real-time shared text editing across users Rich text formatting (bold, italic, headers, lists, etc.) Automatic content syncing with Operational Transformation (OT) or CRDTs Document history and version tracking ๐Ÿค– AI Assistant (Coming Soon) Context-aware AI document enhancer Chat-driven suggestions (summaries, rewrites, tone adjustments) Integration with OpenAI GPT-4 or Claude via API ๐Ÿงฉ Tech Stack Layer Technology Frontend React (Vite or Next.js), TailwindCSS Backend Node.js + Express Database MongoDB (Mongoose ORM) Real-Time Socket.IO Editor TipTap / Quill / ProseMirror AI Integration (Planned) OpenAI API / LangChain Deployment Docker + Render / Kubernetes (optional) โš™๏ธ Installation 1๏ธโƒฃ Clone the Repository git clone https://github.com/yourusername/collabspace.git cd collabspace 2๏ธโƒฃ Setup Backend cd server npm install Create a .env file in /server and add:

PORT=5000 MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret Start the server:

npm run dev 3๏ธโƒฃ Setup Frontend cd ../client npm install Create a .env file in /client and add:

VITE_API_URL=http://localhost:5000 Start the frontend:

npm run dev ๐Ÿ”ฎ Upcoming Enhancements โœ… AI-powered writing assistant โœ… Dark mode toggle โœ… Document snapshot comparison โœ… File uploads & shared media โœ… User presence across multiple workspaces ๐Ÿง‘โ€๐Ÿ’ป Contributing Contributions are welcome!

Fork the repo Create a new branch: git checkout -b feature-name Commit changes: git commit -m "Added awesome feature" Push to branch: git push origin feature-name Open a Pull Request ๐Ÿš€

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages