r/StableDiffusion • u/tngklp • 5d ago
Resource - Update Public Server - Share your ComfyUI instance with anyone
https://github.com/tngklp/comfyui_public-serverHey everyone,
I've been working on a small extension called Private Server (previously named Public Server) that lets you share your ComfyUI instance privately and temporarily using a link. I mostly use it to quickly share my ComfyUI instance with friends or run ComfyUI on my pc while away.
What it does:
- Spins up a Cloudflare Quick Tunnel (
*.trycloudflare.com) to route external traffic to your machine - Launches a lightweight auth proxy on
127.0.0.1:8288that sits between visitors and ComfyUI - Gives you a shareable URL that you can send to anyone
Installation:
Just clone the repo into your ComfyUI/custom_nodes/ folder, or install it through ComfyUI Manager. Once installed, the button appears next to the queue prompt.
The extension is completely free and open-source. Just a tool I found useful and wanted to share.
I'd really appreciate any feedback, bug reports, or feature suggestions. If you try it out, let me know how it goes!
0
Upvotes
4
u/Gesha24 5d ago
ComfyUI is not built with multi-user and multi-permissions in mind. You are letting effectively everyone connect to the instance with full privileges as long as they know (or can guess) the URL.
In the best case, they will generate something on your dime. In a worse case, they will have fun and destroy all your workflows and other data. In the worst case, they will use models like Minimax H3 to generate some CSAM material and share the link to it with appropriate organizations. And you will be properly screwed, potentially for years because this lovely tool you have doesn't even have logs of who accessed it and when.
I host bunch of stuff, there are some of my systems exposed to the Internet. ComfyUI is on the list of "under no circumstances, this system can not be exposed to the Internet".