ViewComfy  by ViewComfy

Open-source tool for creating web apps from ComfyUI workflows

created 10 months ago
444 stars

Top 68.7% on sourcepulse

GitHubView on GitHub
Project Summary

ViewComfy transforms ComfyUI workflows into user-friendly web applications, ideal for researchers and power users who need to share or deploy AI models without requiring direct ComfyUI installation. It simplifies the process of creating interactive demos and production-ready interfaces for image, video, and text generation tasks, supporting both desktop and mobile access.

How It Works

ViewComfy leverages a Next.js frontend to build interactive forms and a playground interface from ComfyUI's workflow_api.json. Users can drag-and-drop their workflow JSON into a form editor, which generates a configurable UI. The application can be deployed in two parts: a frontend on CPU-friendly hosting and a backend (ComfyUI workflow) exposed via API endpoints on GPU instances, optimizing cost and resource utilization.

Quick Start & Requirements

  • Install Node.js v20.18 or later.
  • Clone the repository: git clone https://github.com/ViewComfy/ViewComfy.git
  • Install dependencies and start:
    cd ViewComfy
    npm install
    npm run dev
    
  • For detailed setup and sharing with ngrok, refer to the blog: https://www.viewcomfy.com/blog/turn-a-comfyui-workflow-into-an-app
  • Docker image available for building and running.

Highlighted Details

  • Supports multiple workflows within a single UI.
  • Optimized for responsive design on desktop and mobile.
  • Offers a "ViewMode" for sharing workflows without exposing the workflow_api.json or requiring ComfyUI installation.
  • Integrates with Clerk for optional user management.

Maintenance & Community

  • Open to contributions via feedback, suggestions, issues, or pull requests.
  • Community links (Discord/Slack, social handles) are not explicitly provided in the README.

Licensing & Compatibility

  • The README does not explicitly state a license. It is described as an "open source tool."

Limitations & Caveats

The project is described as open source but lacks an explicit license, which may pose compatibility concerns for commercial use or closed-source integration. User management requires Clerk keys and is recommended only when Playground mode is active.

Health Check
Last commit

2 days ago

Responsiveness

1 week

Pull Requests (30d)
9
Issues (30d)
4
Star History
82 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.