explaingit

andreszs/comfyui-restart-control

Analysis updated 2026-05-18

2JavaScriptAudience · generalComplexity · 2/5Setup · easy

TLDR

A ComfyUI extension that adds a restart button to the sidebar, letting you selectively enable or disable custom nodes before rebooting the backend so you can isolate problematic add-ons.

Mindmap

mindmap
  root((repo))
    What it does
      Restart from sidebar
      Toggle custom nodes
      Auto reload browser
    Key features
      Plugin matrix checklist
      Active task counter
      Random security token
    Use cases
      Debug bad add-ons
      Safe restart workflow
      Test without nodes
    Audience
      ComfyUI users
      Workflow builders
      Non-technical artists
    Setup
      Clone to custom nodes
      Use ComfyUI Manager
      Windows portable verified

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Restart ComfyUI without closing the app when a custom node stops working.

USE CASE 2

Turn off a suspicious add-on temporarily to see if it is causing errors.

USE CASE 3

Safely reboot the backend while seeing how many image tasks are still running.

What is it built with?

JavaScriptComfyUI

How does it compare?

andreszs/comfyui-restart-control3imed-jaberi/cryptography-si-isamm3imed-jaberi/koa-isomorphic-router
Stars222
LanguageJavaScriptJavaScriptJavaScript
Last pushed2021-09-252021-02-06
MaintenanceDormantDormant
Setup difficultyeasyeasyeasy
Complexity2/51/52/5
Audiencegeneralresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Clone into ComfyUI's custom nodes folder and restart once, or install via ComfyUI Manager, verified on Windows portable, other platforms untested.

In plain English

ComfyUI is a visual tool for building image-generation workflows, and users extend it by installing community-made add-ons called custom nodes. When something goes wrong with one of those add-ons, the standard fix is to restart the whole application. ComfyUI Restart Control is an extension that puts a restart button directly in the ComfyUI sidebar, just above the Help menu. Clicking it opens a checklist where you decide which custom nodes should load on the next startup, then it restarts the backend, waits for the new instance to come up, and reloads the browser page for you. The checklist, called a plugin matrix, lists every custom node from your current setup. You can turn individual nodes on or off for the next boot, which is useful when you suspect a particular add-on is causing problems and you want to test without it. The matrix resets to your original profile each time, and the extension itself is always enabled so you keep access to the restart controls. A status display shows the restart progress, and the workspace is locked during that time so you cannot accidentally edit a workflow while the system is mid-restart. The extension is careful about running work. It shows how many tasks are active or queued, and it warns you before restarting since pending items do not survive a full backend replacement. It blocks double clicks and concurrent restart requests, and it never clears the queue on its own. On the security side, each backend startup generates a random token that the browser must include in restart requests, which guards against accidental triggers and cross-site request forgery. Anyone with an active ComfyUI browser session can still request a restart. Installation involves cloning the repository into ComfyUI's custom nodes folder and restarting once, or installing through the ComfyUI Manager. The extension has been verified on a local Windows portable setup, and other platforms are listed as untested.

Copy-paste prompts

Prompt 1
I have ComfyUI installed. Walk me through cloning this repository into my custom_nodes folder and getting the restart button to appear in my sidebar.
Prompt 2
A specific ComfyUI custom node keeps breaking my workflow. How do I use the plugin matrix in this extension to disable just that node and restart safely?
Prompt 3
Explain how the random security token in this extension protects restart requests and what happens to queued image tasks when I trigger a restart.

Frequently asked questions

What is comfyui-restart-control?

A ComfyUI extension that adds a restart button to the sidebar, letting you selectively enable or disable custom nodes before rebooting the backend so you can isolate problematic add-ons.

What language is comfyui-restart-control written in?

Mainly JavaScript. The stack also includes JavaScript, ComfyUI.

How hard is comfyui-restart-control to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is comfyui-restart-control for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.