PixelDocs is a full-stack Google Docs clone built with Next.js 15, Liveblocks, and Convex. It features a powerful real-time rich-text editor, collaborative tools, and a premium modern UI, designed to provide a seamless document editing experience.
-
📝 Rich Text Editor: Advanced editor powered by TipTap with custom extensions for a superior writing experience.
-
🤝 Real-time Collaboration: Edit documents simultaneously with others, see cursor movements, and presence in real-time.
-
💭 Comments & Threads: Add comments to specific text and resolve threads to keep communication organized.
-
📊 Table Support: Insert and manage tables with intuitive controls.
-
🔔 Notifications System: Stay updated with real-time notifications for mentions and document activities.
-
📑 Document Templates: Jumpstart your work with pre-built templates for various use cases.
-
📋 Copy & Paste Formatting: Seamlessly copy content from other sources while retaining original formatting.
-
↩️ Undo/Redo History: Robust history management to easily revert changes.
-
🖼️ Image Uploads: Drag and drop or upload images directly into your documents.
-
📏 Margin Controls: Customize page layout and margins to fit your printing needs.
-
⬇️ Export Options: Export documents to PDF, HTML, TXT, or JSON formats.
-
👥 User Profiles: Personalized user profiles with avatars and color customization.
-
🏢 Organization Workspaces: Create and manage organizations for team collaboration.
-
✉️ Organization Invites: Invite members to your organization via email.
-
🔒 Secure Authentication: Protected by Clerk authentication for secure access.
-
📱 Responsive Design: Fully responsive interface that works beautifully on all devices.
-
🎯 Cursor Tracking: See exactly where other users are working in the document.
-
🎨 Text Formatting: Comprehensive formatting tools (Bold, Italic, Underline, Strike, Highlight, Fonts, etc.).
-
📝 Lists & Checklists: Organize thoughts with bullet points, numbered lists, and interactive checklists.
-
🔗 Link Embedding: Easily embed and manage hyperlinks.
- Framework: Next.js 15
- Language: TypeScript
- Styling: Tailwind CSS & Shadcn UI
- Real-time Engine: Liveblocks
- Database: Convex
- Authentication: Clerk
- Editor: TipTap
Follow these steps to set up the project locally on your machine.
- Node.js & npm installed
- Accounts for Convex, Clerk, and Liveblocks
- Clone the repository
git clone https://github.com/asadaliofficials/pixeldocs.git
cd pixeldocs- Install dependencies
npm install- Set up Environment Variables
Create a .env.local file in the root directory and add your API keys:
# Convex
CONVEX_DEPLOYMENT=
NEXT_PUBLIC_CONVEX_URL=
# Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
# Liveblocks
LIVEBLOCKS_SECRET_KEY=- Run the Development Server
npm run devThe application will be available at http://localhost:3000.
- Run Convex
In a separate terminal, run the backend sync:
npx convex devContributions are welcome! Please feel free to submit a Pull Request.