CollabAI is a cutting-edge collaboration platform that seamlessly integrates AI with real-time collaboration tools to enhance team productivity and innovation. Built with Next.js, React.js, and Tailwind CSS, CollabAI offers intelligent content generation, real-time comments and notifications, and seamless authentication and organization management.
Clone the Repository
git clone https://github.com/rishabhdas1006/collab-ai.git
cd collab-ai
Install Dependencies
npm install
# or
yarn install
Set Up Environment Variables
Create a .env.local
file in the root directory and add the following environment variables:
NEXT_PUBLIC_CLERK_FRONTEND_API=<your-clerk-frontend-api-key>
NEXT_PUBLIC_CLERK_API_KEY=<your-clerk-api-key>
NEXT_PUBLIC_LIVEBLOCKS_PUBLIC_KEY=<your-liveblocks-public-key>
NEXT_PUBLIC_GEMINI_API_KEY=<your-google-gemini-api-key>
Run the Development Server
npm run dev
# or
yarn dev
Open http://localhost:3000 in your browser to see the app in action.
collab-ai/
│
├── public/ # Static assets
├── config/ # configuration files
├── app/
│ ├── (auth)/ # Clerk auth pages
│ └── (routes)/ # Next.js pages
│ ├── _components/ # React components
│ ├── _shared/ # Shared components
│ ├── api/ # Liveblocks auth api
│ ├── Room.jsx/ # Liveblocks room
│ ├── layout.js/ # Next.js layout
│ └── page.js/ # Next.js page
│
├── .env.local # Environment variables
├── next.config.js # Next.js configuration
├── tailwind.config.js # Tailwind CSS configuration
├── package.json # Project dependencies
└── README.md # Project documentation
CollabAI leverages Google Gemini’s API to auto-generate content within documents. This feature is ideal for brainstorming, content creation, and more, making it easier for teams to get started and stay productive.
With Liveblocks integrated, CollabAI enables real-time commenting and notifications, ensuring that team members are always in sync. Changes made by one team member are instantly visible to others, fostering a more dynamic and interactive working environment.
Editor.js provides a modular and extensible rich text editor, allowing users to create and format content with ease. Its block-based approach makes it easy to integrate with other features of CollabAI.
Clerk handles authentication and organization management, allowing users to sign up, log in, and create or join organizations effortlessly. This integration ensures secure access and easy management of user roles and permissions.
The entire application is styled using Tailwind CSS, ensuring a sleek and responsive design that works well on both desktop and mobile devices. The utility-first approach of Tailwind CSS allows for rapid UI development and easy customization.
To deploy CollabAI, consider using platforms like Vercel or Netlify for seamless integration with Next.js.
Deploy with Vercel
npm i -g vercel
vercel
Deploy with Netlify
Ensure that your environment variables are correctly set in your deployment platform.
We welcome contributions to CollabAI! Please fork the repository and submit a pull request with your changes. For major changes, open an issue first to discuss what you would like to change.
git checkout -b feature/your-feature-name
).git commit -m 'Add your feature'
).git push origin feature/your-feature-name
).For any questions or support, please open an issue or reach out via email at [email protected].
Feel free to customize the content according to your specific needs and preferences!