The project follows a structured release process for each minor version, consisting of three distinct phases:
-
Development Phase - 1 week
- Active development of new features
- Code changes merged to the development branch
-
Feature Freeze - 1 week
- No new features accepted
- Only bug fixes are cherry-picked to the release branch
- Testing and stabilization of the codebase
-
Publication
- Release is published at the end of the freeze period
- Version is finalized and made available to all users
Nightly releases are published daily at https://github.com./Comfy-Org/ComfyUI_frontend/releases.
To use the latest nightly release, add the following command line argument to your ComfyUI launch script:
--front-end-version Comfy-Org/ComfyUI_frontend@latest
The development of successive minor versions overlaps. For example, while version 1.1 is in feature freeze, development for version 1.2 begins simultaneously.
Week | Date Range | Version 1.1 | Version 1.2 | Version 1.3 | Patch Releases |
---|---|---|---|---|---|
1 | Mar 1-7 | Development | - | - | - |
2 | Mar 8-14 | Feature Freeze | Development | - | 1.1.0 through 1.1.6 (daily) |
3 | Mar 15-21 | Released | Feature Freeze | Development | 1.1.7 through 1.1.13 (daily) 1.2.0 through 1.2.6 (daily) |
4 | Mar 22-28 | - | Released | Feature Freeze | 1.2.7 through 1.2.13 (daily) 1.3.0 through 1.3.6 (daily) |
- Vue 3 with TypeScript
- Pinia for state management
- PrimeVue with TailwindCSS for UI
- litegraph.js for node editor
- zod for schema validation
- vue-i18n for internationalization
Run npm run prepare
to install Git pre-commit hooks. Currently, the pre-commit
hook is used to auto-format code on commit.
Note: The dev server will NOT load any extension from the ComfyUI server. Only core extensions will be loaded.
- Start local ComfyUI backend at
localhost:8188
- Run
npm run dev
to start the dev server - Run
npm run dev:electron
to start the dev server with electron API mocked
Enable remote access to the dev server by setting VITE_REMOTE_DEV
in .env
to true
.
After you start the dev server, you should see following logs:
> [email protected] dev
> vite
VITE v5.4.6 ready in 488 ms
➜ Local: http://localhost:5173/
➜ Network: http://172.21.80.1:5173/
➜ Network: http://192.168.2.20:5173/
➜ press h + enter to show help
Make sure your desktop machine and touch device are on the same network. On your touch device,
navigate to http://<server_ip>:5173
(e.g. http://192.168.2.20:5173
here), to access the ComfyUI frontend.
This project includes .vscode/launch.json.default
and .vscode/settings.json.default
files with recommended launch and workspace settings for editors that use the .vscode
directory (e.g., VS Code, Cursor, etc.).
We’ve also included a list of recommended extensions in .vscode/extensions.json
. Your editor should detect this file and show a human friendly list in the Extensions panel, linking each entry to its marketplace page.
npm i
to install all dependenciesnpm run test:unit
to execute all unit tests.
Component test verifies Vue components in src/components/
.
npm run test:component
to execute all component tests.
Playwright test verifies the whole app. See https://github.com./Comfy-Org/ComfyUI_frontend/blob/main/browser_tests/README.md for details.
This repo is using litegraph package hosted on https://github.com./Comfy-Org/litegraph.js. Any changes to litegraph should be submitted in that repo instead.
- Run
npm link
in the local litegraph repo. - Run
npm link @comfyorg/litegraph
in this repo.
This will replace the litegraph package in this repo with the local litegraph repo.
See locales/README.md for details.