SyncSpec
A collaborative JSON schema editor where several people edit at once without conflicts, with TypeScript generated live as they type.
- Context
- Real-time collaboration
- My role
- Design and full-stack build of the editor, sync layer and code generation.
- React
- TypeScript
- Y.js
- Monaco Editor
- WebSocket
- Node.js
Try it: two people, one schema
Each pane is a separate Y.js document, the CRDT library SyncSpec is built on. Type in either one: add a property, mark it required, and watch the TypeScript follow. Then take Ben offline, edit both, and reconnect.
Generated TypeScript (from Ana’s copy, as you type)
export interface Order {
id: string;
total?: number;
items?: string[];
}This runs entirely in your browser, with no server; the real SyncSpec relays the same updates over WebSockets.
The problem
API schemas are shared contracts, but editing one together usually means taking turns or resolving merge conflicts afterwards.
SyncSpec lets a team design a JSON schema in the same document at the same time and see the TypeScript it produces immediately.

Constraints
- Simultaneous edits must never conflict or silently drop someone’s change.
- Generated types have to stay in step with the schema on every keystroke.
Decisions
CRDTs instead of locking
Y.js CRDTs synchronized over WebSockets let every collaborator edit freely while all copies converge to the same schema.
A real code editor
Monaco Editor provides a familiar editing surface, with presence tracking so collaborators can see who is working where.
Types as a live output
TypeScript is generated from the schema as it changes, so the contract and the code never drift apart.
Where it stands
Deployed at syncspec.netlify.app. Using the editor requires signing in.
Sources: heettshahh.com project list (snapshot 420314e); Public résumé, September 2026.