Skip to content

mairfarooq21/live-docs

Repository files navigation

Live Docs is a collaborative web app for real-time document creation and editing. It allows multiple users to work on the same document simultaneously, making it easy for teams to collaborate efficiently and stay synced. Perfect for students, professionals, and teams needing seamless collaboration.

  • Next.js
  • Tailwind CSS
  • TypeScript
  • Liveblocks
  • ShadCN

Authentication: User authentication using GitHub through NextAuth, ensuring secure sign-in/out and session management.

Collaborative Text Editor: Multiple users can edit the same document simultaneously with real-time updates.

Documents Management

  • Create Documents: Users can create new documents, which are automatically saved and listed.
  • Delete Documents: Users can delete documents they own.
  • Share Documents: Users can share documents via email or link with view/edit permissions.
  • List Documents: Display all documents owned or shared with the user, with search and sorting functionalities.

Comments: Users can add inline and general comments, with threading for discussions.

Active Collaborators on Text Editor: Show active collaborators with real-time presence indicators.

Notifications: Notify users of document shares, new comments, and collaborator activities.

Responsive: The application is responsive across all devices.

and many more, including code architecture and reusability

Make sure you have the following installed on your machine:

Cloning the Repository

git clone https://github.com/mairfarooq21/live-docs.git

Installation

npm install

Set Up Environment Variables

#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 the placeholder values with your actual Clerk & LiveBlocks credentials. You can obtain these credentials by signing up on the Clerk and Liveblocks website.

Running the Project

npm run dev

Open http://localhost:3000 in your browser to view the project.

About

Live Docs is a real-time collaborative document app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published