Pages is a real-time collaborative text editor inspired by Google Docs. Built using cutting-edge technologies like Next.js, Tiptap, Liveblocks, Convex DB, and Clerk, this app enables seamless live editing, user authentication, and reactive document updates.
- Next.js – React framework for server-side rendering
- Tiptap – Headless rich-text editor
- Liveblocks – Real-time collaborative editing
- Convex – Reactive database with built-in serverless backend
- Clerk – Authentication and user management
- Bun – Ultra-fast JavaScript runtime and package manager
git clone https://github.com/yash27007/google-docs-clone.git
cd google-docs-clone
Make sure you have Bun installed. Then run:
bun install
- Create a Convex project at convex.dev
- Create a Clerk project at clerk.com
- Rename
.env.example
to.env.local
and fill in the required keys:
CONVEX_DEPLOYMENT=
NEXT_PUBLIC_CONVEX_URL=
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
LIVE_BLOCKS_SECRET_KEY=
bunx convex dev
bun run dev
Navigate to http://localhost:3000 and log in to start editing.
- 📄 Create and edit rich text documents
- 🔒 Clerk-powered authentication
- 🤝 Real-time collaborative editing (Liveblocks)
- 🧠 Reactive backend with Convex DB
- ⚡ Fast and modern Bun runtime
Make sure your .env.local
file includes all required variables (refer to .env.example
). If something breaks, check if Convex and Clerk are correctly configured.
We welcome contributions! To get started:
- Fork this repository
- Create a new branch:
git checkout -b feature-name
- Make your changes and commit:
git commit -m 'Add new feature'
- Push to your fork:
git push origin feature-name
- Open a Pull Request 🚀
- Follow consistent code style and naming conventions.
- Document any new features with appropriate comments.
- Write clear and concise commit messages.
This project is open-source and available under the MIT License.
Built with ❤️ by Yash