Show HN: Tandem – Real-time collaborative editor with AI attribution tracking

2 pointsposted 5 hours ago
by Lmanchu

1 Comments

Lmanchu

5 hours ago

*Why I built this:* Working with Claude Code transformed my coding workflow, but document collaboration was still broken. The copy-paste dance between AI and docs loses all attribution. In teams, this creates trust issues. In open source, it looks like plagiarism.

*Technical details:*

*Architecture:* - Frontend: React 19 + TipTap (collaborative editor) - Sync: Yjs CRDT over WebSocket - Backend: Hono on Bun (3x faster than Node) - Storage: Git for version control - AI: MCP protocol for tool integration

*The key innovation* is treating AI as a first-class participant in Yjs's CRDT. Each client (human or AI) gets a unique `clientID`, allowing per-character attribution.