ComfyUI Deploy
Open source comfyui deployment platform, a vercel for generative workflow infra.
How it works
- Comfy Deploy Dashboard (https://comfydeploy.com) or self-hosted version
 - Machines (Long running, on-premise ComfyUI machines)
 
Comfy Deploy Plugin Installation
Plugin lets you set up the machine as a target machine, and also upload workflow directly from there
cd custom_nodesgit clone https://github.com/BennyKok/comfyui-deploy.git- Got to (https://comfydeploy.com) or a self-hosted version
- Machines -> Add Machines
 - Enter a name and the URL of your machines (set up Ngrok for a public URL for your machines)
 
 
Usecase
- Deploy a complicated comfy workflow with a versioning system
 - Manage versioning and easily preview different generated versions' output
 - Persistent API generated for Production and Staging environment
 - Run the same comfyui workflow across different remote machines
 
Status & Timeline
WIP, welcomes contributors!! Please join Discord -> https://discord.gg/EEYcQmdYZw
Primary goal -> release v0.1.0 of stable Comfy Deploy
Major areas
- Security enforcement
 - Error handling
 - QOL workflow improvement
 - API usage examples
 - Load balancing
 - Workflow dependencies checking (custom nodes)
 - Remote machines
 - Serverless machines? Possible to set up a clean environment via Salad, Modal, etc
 - LCM realtime web socket image gen
 
Tech Stack
- 
Shadcn UI
 - 
NextJS
 - 
Clerk (Auth)
 - 
Neon / Vercel Postgres (Database)
 - 
Drizzle (ORM)
 - 
R2 / S3 (Object Storage)
 
Development
git clone https://github.com/BennyKok/comfyui-deploycd webbun i- Start docker
 cp .env.example .env.local- Repace 
JWT_SECRETwithopenssl rand -hex 32 - Get a local clerk dev key for 
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEYandCLERK_SECRET_KEY - Keep a terminal live for 
bun run db-dev - Finally start the next server with 
bun dev 
Schema Changes
bun run generatebun run migrate-local
Special Thanks
- comfyui
 - oss/acc
 
Description
				
					Languages
				
				
								
								
									TypeScript
								
								64%
							
						
							
								
								
									Python
								
								23.9%
							
						
							
								
								
									JavaScript
								
								10.7%
							
						
							
								
								
									MDX
								
								0.6%
							
						
							
								
								
									Dockerfile
								
								0.4%
							
						
							
								
								
									Other
								
								0.3%