Back to all projects

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.

Both copies hold the same schema.

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.

SyncSpec sign-in page describing real-time collaboration, live TypeScript generation and conflict-free editing powered by CRDTs.
The sign-in page: the editor itself needs an account.

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.

How this works

The whole site is one night photograph made of light. Scroll to develop each exposure; the light follows your pointer.

Keyboard

J or K
Next or previous exposure (home page)
C
Camera settings: shutter, aperture, ISO, ND filter
P
Pause or play all motion
S
Sound on or off
⌘K, Ctrl K or /
Jump to a project, page or skill
?
This help

Everything here is also plain text: each project has its own page, and the résumé has a text version.