TypeScript SDK for building applications on top of ComfyUI.
Comfyable is a developer toolkit, not another graphical frontend. It aims to make integrating, automating, and extending ComfyUI pleasant in TypeScript — in the same spirit as Prisma, Drizzle, Octokit, or the Docker SDK.
Early scaffolding. Milestone 1 (repository bootstrap) only. See
CLAUDE.md for the roadmap and architectural principles.
apps/playground # primary consumer of the SDK during development
packages/client # REST + WebSocket transport (the only package that talks to ComfyUI)
packages/workflow # load, edit, validate, serialize ComfyUI workflow JSON
packages/execution # execution lifecycle, progress, events, cancellation
packages/queue # submit, history, queue inspection
packages/assets # image upload, output download, metadata
packages/registry # models, custom nodes, installed capabilities
packages/types # shared TypeScript types (leaf; depends on nothing)
packages/utils # small shared helpers (leaf; depends on nothing)
packages/cli # thin CLI wrapper around the SDK
examples/ # focused end-to-end examples per feature area
docs/ # long-form documentation
Dependencies point strictly inward: types and utils are leaves; only
client talks to ComfyUI; every other package builds on top of client.
pnpm install
pnpm typecheck
pnpm lint
pnpm build
pnpm testRequires Node.js 22 LTS or later and pnpm 11.