Building a Notion-like block editor with real-time multi-user collaboration and intelligent inline AI suggestions that enhance writing without disrupting flow.
Used Tiptap for block-based editing, Yjs for CRDT-based real-time collaboration, Claude API for inline writing suggestions, and WebSocket for live cursor sharing.
// Real-time collaboration with Yjs
const ydoc = new Y.Doc();
const provider = new WebsocketProvider(wsUrl, docId, ydoc);
const editor = useEditor({
extensions: [
StarterKit,
Collaboration.configure({ document: ydoc }),
CollaborationCursor.configure({
provider,
user: { name, color },
}),
AISuggestion.configure({ model: 'claude' }),
],
});Block-based
Editor
Real-time (Yjs)
Collaboration
Inline Suggestions
AI
15+ Types
Blocks



Autonomous AI research agent that searches, reads, and synthesizes multiple sources into cited reports.
Describe dashboards in natural language and AI streams fully interactive charts, KPIs, and layouts in real-time.
AI-powered code review tool that analyzes code for bugs, security vulnerabilities, and performance issues with diff previews.