Skip to content
edgarciavfxPublic

About

TypeScript SDK toolkit for building applications on top of ComfyUI

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Comfyable

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.

Status

Early scaffolding. Milestone 1 (repository bootstrap) only. See CLAUDE.md for the roadmap and architectural principles.

Repository layout

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.

Development

pnpm install
pnpm typecheck
pnpm lint
pnpm build
pnpm test

Requires Node.js 22 LTS or later and pnpm 11.

License

MIT

About

TypeScript SDK toolkit for building applications on top of ComfyUI

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages