Files
xiaodoudou-ComfyUI-RigShare/docs/settings.md
T
Edouard Durand 27e4fd37f1 Guard other plugins like ComfyUI Manager; hide Pixaroma's workflow browser
Plugin button groups in the top bar are hidden without the manager
permission, and rgthree-comfy / Crystools server-wide settings need it too.
Pixaroma's workflow browser (which lists every folder from disk) is hidden
with the other workflow browsers and its routes are admin-only.
2026-09-27 00:54:21 +00:00

45 lines
2.4 KiB
Markdown

# Settings
## Your settings
In ComfyUI's settings dialog, under **RigShare**. They apply to your browser only.
| Setting | Default |
|---|---|
| Show other people's cursors and selections | on |
| Show names next to cursors | on |
| Play a sound for new chat messages | on |
| Show a notification for new chat messages | off |
Commands, bindable under *Keybindings*: **RigShare: Open chat** and **Open from RigShare…** (Ctrl+Alt+O).
The **Server** tab's *Pop out* button toggles the floating monitor. Drag it by its title; its position is remembered.
## Server settings
Admins change these under **Admin → Server settings**. They are stored in `rigshare/config.json`.
| Key | Default | |
|---|---|---|
| `server_name` | `RigShare` | Shown on the login page and in the panel |
| `require_login` | `true` | Sign in before ComfyUI loads; API clients use keys |
| `allow_guests` | `false` | Only with `require_login` off: allow visitors without an account |
| `guest_permissions` | `{"edit": false, "queue": false}` | What guests may do |
| `broadcast_execution` | `true` | Send progress and previews to everyone, not only whoever queued |
| `hide_comfy_account` | `false` | Hide ComfyUI's Comfy.org sign-in button and dialog |
| `hide_comfy_file_tabs` | `true` | Hide other workflow browsers: ComfyUI's Workflows and Apps sidebar tabs and Pixaroma's Workflows panel. RigShare's Files tab replaces them and their shortcuts open it |
| `hide_api_templates` | `false` | Remove templates that need paid API nodes from the template browser |
| `api_protection.enabled` | `true` | Server-side checks on queue, interrupt, free and upload calls |
| `api_protection.trusted_ips` | `["127.0.0.1", "::1"]` | Addresses or networks that skip login and checks |
| `room_expiry_days` | `14` | Forget the live state of workflows nobody opened for this long |
| `snapshot_interval_sec` | `300` | Automatic snapshot interval while editing; `0` turns it off |
| `snapshot_keep` | `30` | Automatic snapshots kept per workflow, and as many on-save ones; named ones are always kept |
| `chat_keep` | `0` | Chat messages kept: `0` keeps the whole history, a number trims it to the latest ones at startup. Admins can also clear it under *Admin → Chat* |
## Environment variables
| Variable | |
|---|---|
| `RIGSHARE_DATA_DIR` | Data folder, instead of `<ComfyUI>/rigshare` |
| `RIGSHARE_ADMIN_USER`, `RIGSHARE_ADMIN_PASSWORD` | Create the first admin without the setup page; only read while no account exists |