SyncPad is a real-time collaborative text editor built with Liveblocks and Lexical. It offers a rich, feature-packed platform for creating, editing, and sharing documents. SyncPad integrates Clerk for secure user authentication and session management, ensuring a seamless user experience.
- Real-time Collaboration: Collaborate with others in real-time as you edit documents.
- Rich Text Editing: Built with Lexical for a powerful and flexible text editing experience.
- User Authentication: Secure sign-up and sign-in process using Clerk.
- Document Sharing: Effortlessly share documents with others for collaborative editing.
- Session Management: Clerk handles user sessions to keep everything in sync.
- Liveblocks: For real-time collaboration.
- Lexical: For rich text editing.
- Clerk: For secure user authentication and session management.
- Next.js 14: For building the full-stack web application.
- React: For building the front-end.
Before running the project, make sure you have the following installed:
- npm or Yarn
- Clerk and Liveblocks API keys
-
Clone the repository:
git clone https://github.com/grep-many/syncpad.git cd syncpad -
Install dependencies:
npm install
-
Create a
.envfile in the root directory with the following variables:NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your-clerk-publishable-key CLERK_SECRET_KEY=your-clerk-secret-key NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up LIVEBLOCKS_SECRET_KEY=your-liveblocks-secret-key
-
Run the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000.
- Sign In/Sign Up: Use Clerk's authentication system to sign in or sign up to your account.
- Start Collaborating: Create a new document and invite others to edit in real-time.
- Editing: Edit documents using the powerful features provided by Lexical.
- Share Documents: Easily share documents with collaborators.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.
This project is licensed under the MIT License.