Developed with Next.js, styled with TailwindCSS, and powered by Liveblocks, LiveDocs is a collaborative text editor inspired by Google Docs.
LiveDocs is a modern real-time collaborative editor featuring a clean UI and robust functionality. It demonstrates advanced developer skills in building scalable, real-time environments, creating a lasting impression.
- Next.js
- TypeScript
- Liveblocks
- Lexical Editor
- ShadCN
- Tailwind CSS
- 🔑 Authentication: Secure user authentication via GitHub using NextAuth.
- ✍️ Collaborative Text Editor: Real-time updates for multiple users editing the same document.
- 🗂️ Document Management:
- Create, delete, and list documents.
- Share documents with view/edit permissions via email or link.
- 💬 Comments: Inline and general comments with discussion threads.
- 👥 Active Collaborators: Real-time presence indicators for active collaborators.
- 🔔 Notifications: Alerts for document shares, comments, and collaborator activities.
- 📱 Responsive Design: Fully responsive across all devices.
- 🎨 Code Architecture: Focused on modularity and reusability.
Ensure the following tools are installed on your machine:
git clone https://github.com/niladri-1/LiveDocs.git
cd LiveDocsnpm installCreate a .env file in the root directory and add the following:
# Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
# Liveblocks
NEXT_PUBLIC_LIVEBLOCKS_PUBLIC_KEY=
LIVEBLOCKS_SECRET_KEY=Replace placeholder values with your Clerk and Liveblocks credentials. Sign up on Clerk and Liveblocks to get your keys.
npm run devOpen http://localhost:3000 in your browser to view the project. 🎉