tscomfy: Type-Safe ComfyUI Workflows as Code, Types Generated From Your Server
No_One_9304 · reddit · 2026-10-19
A developer open-sourced tscomfy (MIT, pre-1.0) for building ComfyUI workflows in TypeScript. It reads your server's /objectinfo and generates types for every installed node (custom packs included), so wiring a LATENT into a MODEL input or misspelling a node is an editor error; models and samplers autocomplete. Output matches 'Export (API)' JSON. Includes tscomfy transpile to convert saved workflows back into code, exportable graph files, and @tscomfy/client for queuing with progress/previews.
More from coding & agent
- Writer runs all-day workflow in Claude's in-app browser, agents apply doc edits as suggestions — danshipper · 2026-10-19
- 30 Days, 30 AI Agents: A Daily Series on AI Agents for Biotech and Pharma R&D — nlarusstone · 2026-10-19
- AI assistant caught recommending its user's portfolio company, then re-justifies the pick on merit — matt_slotnick · 2026-10-19
- Hark agent demos auto-filing a DMV address change in 2 minutes, no browser — adcock_brett · 2026-10-19
- 700-agent swarm builds a city on a shared filesystem for $0.28 of compute — sull · 2026-10-19
- Liveloop canvas hot-patches generated 3D games and apps without restarts — Beneficial-Cow-7408 · 2026-10-19