Open source comfyui deployment platform, a vercel
for generative workflow infra. (serverless hosted gpu with vertical intergation with comfyui)
Join Discord to chat more or visit Comfy Deploy to get started!
Check out our latest nextjs starter kit with Comfy Deploy
# How it works
https://github.com/BennyKok/comfyui-deploy/assets/18395202/85f85325-a4bb-446d-aa67-ed225ee03479
https://github.com/BennyKok/comfyui-deploy/assets/18395202/0fb1829b-401a-41f2-b21a-5b77483c6ee2
Plugin lets you set up the machine as a target machine, and also upload workflow directly from there
cd custom_nodes
git clone https://github.com/BennyKok/comfyui-deploy.git
# Status & Timeline
WIP, welcomes contributors!! Please join Discord -> https://discord.gg/EEYcQmdYZw
Primary goal -> release v0.1.0 of stable Comfy Deploy
Major areas
Shadcn UI
NextJS
Clerk (Auth)
Neon / Vercel Postgres (Database)
Drizzle (ORM)
R2 / S3 (Object Storage)
git clone https://github.com/BennyKok/comfyui-deploy
cd web
bun i
cp .env.example .env.local
JWT_SECRET
with openssl rand -hex 32
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
and CLERK_SECRET_KEY
bun run db-dev
bun run migrate-local
bun dev
Schema Changes
bun run generate
bun run migrate-local
Tutorial Created by Ross and Syn
Build command
next build && bun run migrate-production
Install command
npx bun@1.0.16 install
Env key setup
POSTGRES_URL=
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
SPACES_ENDPOINT="http://localhost:4566"
SPACES_ENDPOINT_CDN="http://localhost:4566"
SPACES_BUCKET="comfyui-deploy"
SPACES_KEY="xyz"
SPACES_SECRET="aaa"
# generate using -> openssl rand -hex 32
JWT_SECRET=
# r2 settings
SPACES_REGION="auto"
SPACES_CDN_FORCE_PATH_STYLE="true"
SPACES_CDN_DONT_INCLUDE_BUCKET="true"
# digital ocean settings
SPACES_REGION="nyc3"
SPACES_CDN_FORCE_PATH_STYLE="false"
# s3 settings
SPACES_REGION="nyc3"
SPACES_CDN_DONT_INCLUDE_BUCKET="false"
SPACES_CDN_FORCE_PATH_STYLE="true"