A powerful, real-time collaborative editor designed to streamline teamwork on documents and code. Built with Next.js and styled with Shadcn UI, it offers a seamless live editing experience coupled with robust Git-like version control and an integrated diff checker.
- Real-time Collaboration: Multiple users can edit the same document simultaneously, with changes reflected instantly for all collaborators (powered by Liveblocks)
- Git-like Version Control:
- Commit History: Track all committed versions of your document
- Version Snapshots: Easily revert to previous states or compare any two committed versions
- Integrated Diff Checker: Visually compare changes between versions using the Longest Common Subsequence (LCS) algorithm
- Notion-like Slash Commands: Intuitive
/commands
for quickly inserting elements and formatting text - Next.js Framework: Server-side rendering (SSR) and static site generation (SSG) support
- Shadcn UI: Modern, accessible component library built on Radix UI and Tailwind CSS
- Intuitive UI: Clean, user-friendly interface for optimal editing experience
- Next.js (React Framework)
- Shadcn UI (Component Library)
- Tailwind CSS (Utility-first CSS framework)
- TipTap (Extensible rich text editor)
- Custom TipTap Extensions for slash commands
- Liveblocks (Real-time collaboration infrastructure)
- Convex (Full-stack platform)
- Custom Git-like implementation storing document snapshots
- LCS algorithm for diff comparisons
-
Create/Open a Document:
- Navigate to the editor interface
- Create new documents or open existing ones
-
Collaborate in Real-time:
- Share document URL with collaborators
- See instant updates from all users
-
Use Slash Commands:
- Type
/
to access formatting options and content blocks
- Type
-
Commit Changes:
- Click "Commit" button when satisfied with changes
- Add descriptive commit message
-
View Version History:
- Access "History" panel to see all committed versions
-
Compare Versions:
- Select any two versions from history
- View side-by-side or inline comparison with highlighted differences
- Option to revert to selected versions