DEV Community

Cover image for Easily Share ComfyUI Online Using Pinggy
Bishakh Ghosh
Bishakh Ghosh

Posted on

Easily Share ComfyUI Online Using Pinggy

When working with AI tools like ComfyUI for creating stunning art with models such as Stable Diffusion, sharing your locally hosted interface with remote collaborators or clients can be challenging. With Pinggy, a lightweight tunneling tool, you can seamlessly expose your local ComfyUI setup to the internet. Here's a step-by-step guide to get you started.

What is ComfyUI?

ComfyUI is a powerful, open-source interface for generating AI-based art locally. It allows creators to fine-tune their outputs without relying on external servers. However, since it's a local setup, sharing access can be tricky without opening up ports or dealing with complex network configurations.

Meet Pinggy

Pinggy simplifies the process of sharing local applications over the internet. By creating secure tunnels, Pinggy enables you to share your ComfyUI instance with a public URL, perfect for collaboration or showcasing your work.

Step 1: Set Up and Run ComfyUI

Clone the ComfyUI repository:

git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
Enter fullscreen mode Exit fullscreen mode

*Install the necessary dependencies (ensure Python and required packages are installed):
*

pip install -r requirements.txt

Enter fullscreen mode Exit fullscreen mode

Start the ComfyUI server:

python main.py
Enter fullscreen mode Exit fullscreen mode

By default, the UI will run on http://localhost:8188

Step 2: Run Pinggy

To expose your locally hosted ComfyUI instance, use Pinggy’s SSH tunneling command:

Open a terminal and enter:

ssh -p 443 -R0:localhost:8188 a.pinggy.io
Enter fullscreen mode Exit fullscreen mode

Image description

After executing, Pinggy will generate a public URL for your ComfyUI instance, which might look like:

http://fakqxzqrohxxx.a.pinggy.link

Enter fullscreen mode Exit fullscreen mode

Image description

Unlike traditional port-forwarding methods, Pinggy’s simplicity and versatility make it ideal for securely sharing local applications. Whether you're showcasing AI-generated art or collaborating on projects, Pinggy ensures a hassle-free experience.

For more information, visit Pinggy.io

Top comments (0)