{"id":23234205,"url":"https://github.com/daxcay/ComfyUI-NODEJS","last_synced_at":"2025-08-19T19:34:20.414Z","repository":{"id":242336486,"uuid":"809281659","full_name":"daxcay/ComfyUI-NODEJS","owner":"daxcay","description":"This node allows the execution of Node.js application within ComfyUI by leveraging the ComfyUI-NODEJS, which starts alongside ComfyUI and facilitates the installation of Node.js. The integration enables Python subprocesses to execute Node.js scripts.","archived":false,"fork":false,"pushed_at":"2024-11-28T09:46:29.000Z","size":45,"stargazers_count":10,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-18T13:02:37.627Z","etag":null,"topics":["comfyui","comfyui-manager","comfyui-nodejs","comfyui-nodes","comfyui-workflow"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daxcay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-02T08:44:13.000Z","updated_at":"2024-11-28T09:46:33.000Z","dependencies_parsed_at":"2024-08-02T15:59:51.360Z","dependency_job_id":null,"html_url":"https://github.com/daxcay/ComfyUI-NODEJS","commit_stats":null,"previous_names":["daxcay/comfyui-nodejs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daxcay%2FComfyUI-NODEJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daxcay%2FComfyUI-NODEJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daxcay%2FComfyUI-NODEJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daxcay%2FComfyUI-NODEJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daxcay","download_url":"https://codeload.github.com/daxcay/ComfyUI-NODEJS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230367789,"owners_count":18215326,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["comfyui","comfyui-manager","comfyui-nodejs","comfyui-nodes","comfyui-workflow"],"created_at":"2024-12-19T03:02:16.614Z","updated_at":"2025-08-19T19:34:20.398Z","avatar_url":"https://github.com/daxcay.png","language":"Python","funding_links":["https://buymeacoffee.com/daxtoncaylor","https://paypal.me/daxtoncaylor"],"categories":["Workflows (3395) sorted by GitHub Stars","All Workflows Sorted by GitHub Stars"],"sub_categories":[],"readme":"![COMFY-UI](https://github.com/daxcay/ComfyUI-NODEJS/assets/164315771/1b5fcdbf-ec3e-4a43-8311-43e20d73b705)\r\n\r\n# ComfyUI-NODEJS\r\n\r\nThis node allows the execution of Node.js application within ComfyUI by leveraging the **ComfyUI-NODEJS**, which starts alongside ComfyUI and facilitates the installation of Node.js. The integration enables Python subprocesses to execute Node.js scripts.\r\n\r\n## Features:\r\n\r\n- Node.js Installer: An semi-automated installation process of nodejs for windows users only.\r\n- Package Installer: Supports the installation and automatic updating of Node.js packages upon each startup.\r\n- Multiple scripts Execution: Enables running multiple projects simultaneously.\r\n- Graceful Shutdown: The service terminates when ComfyUI exits.\r\n\r\n## NodeJS Installation:\r\n\r\n**Note: For non-windows user please install NodeJS before running this node**\r\n\r\n**NodeJS Installation: https://nodejs.org/en/download**\r\n\r\n**Windows users can skip this section**\r\n\r\nFor any query you can join my discord server: https://discord.gg/Z44Zjpurjp\r\n\r\n## Node Installation:\r\n\r\n1. Using **comfy-cli**\r\n\r\n   ```comfy node registry-install comfyui-nodejs```\r\n   \r\n3. Using **manual method**\r\n   - Go to your Comfyui \u003e Custom Nodes folder\r\n   - Run CMD from folder path box or right click on empty area and click open in terminal.\r\n   - Copy and Paste this command git clone ```https://github.com/daxcay/ComfyUI-NODEJS.git```\r\n   - Then go inside ComfyUI-NODEJS with cmd or open new and type pip install -r requirements.txt to install the requirements.\r\n\r\n4. Using Comfy Manager (https://github.com/ltdrdata/ComfyUI-Manager)\r\n   - Inside ComfyUI \u003e Click Manager Button on Side.\r\n   - Click Install Custom Node and Search for nodejs and Install this node:\r\n     \r\n   ![image](https://github.com/daxcay/ComfyUI-NODEJS/assets/164315771/8cb85775-0eb0-4392-b4c3-979785a86a13)\r\n\r\n   - Restart ComfyUI and it should be good to go\r\n\r\n## Configuration\r\n\r\nTo run nodejs project(s) you will need to do paste your project(s) folder in the **nodejs** directory of **ComfyUI-NODEJS**. \r\n\r\n```ComfyUI\\custom_nodes\\ComfyUI-NODEJS\\nodejs```\r\n\r\n![image](https://github.com/daxcay/ComfyUI-NODEJS/assets/164315771/9adabe4a-c25a-4604-85f3-7f2020167f30)\r\n\r\n![image](https://github.com/daxcay/ComfyUI-NODEJS/assets/164315771/c6d990c0-7f3e-40ef-8a20-874d798f2c7b)\r\n\r\n**To run a project successfully verify the below steps carefully.**\r\n\r\n### Project structure to be followed\r\n\r\nEvery project should have two mandatory files in root folder one **app.js** and another **package.json** like this \r\n\r\n![image](https://github.com/daxcay/ComfyUI-NODEJS/assets/164315771/c6731bf1-6db8-479f-ba53-f593a1bcf31f)\r\n\r\n**app.js** is just for representation actual name could be anything. (main.js, foo.js). \r\nbut in package.json file mention correct name.\r\n\r\n**package.json** looks something like this:\r\n\r\n```\r\n{\r\n  \"name\": \"project1\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"\",\r\n  \"main\": \"app.js\",\r\n  \"scripts\": {\r\n    \"dev\" : \"node dev.js\",\r\n    \"production\" : \"node app.js\",\r\n    \"test\": \"node test.js\"\r\n  },\r\n  \"author\": \"\",\r\n  \"license\": \"ISC\",\r\n  \"dependencies\": {\r\n    \"express\": \"^4.19.2\"\r\n  }\r\n}\r\n```\r\n\r\nEnsure your project package.json to have a \"production\" script in scripts objects.\r\n\r\n![image](https://github.com/daxcay/ComfyUI-NODEJS/assets/164315771/af32aef5-87e6-41f2-b095-6ee8798b0977)\r\n\r\nNow run/restart **comfyui**. \r\n\r\nOpen any browser and head to ```http://localhost:3000```. If NodeJs is installed successfully it should return:\r\n\r\n![image](https://github.com/daxcay/ComfyUI-NODEJS/assets/164315771/480baf8e-6a37-44fe-8e7d-c012dc637fcd)\r\n\r\n**Demo projects are given in nodejs folder in case you don't understand anything. delete them when running actual projects or build upon them.**\r\n\r\n\r\n# Credits\r\n\r\n◉ Daxton Caylor - ComfyUI Node Developer \r\n- Discord - daxtoncaylor\r\n- Email - daxtoncaylor@gmail.com\r\n- Discord server: https://discord.gg/UyGkJycvyW\r\n- Commission Status:  🟢 **Open** 🟢\r\n\r\n# Support ❤️\r\n- Buy me a coffee: https://buymeacoffee.com/daxtoncaylor\r\n- If you like to suppport me you can donate me on paypal: https://paypal.me/daxtoncaylor\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaxcay%2FComfyUI-NODEJS","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaxcay%2FComfyUI-NODEJS","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaxcay%2FComfyUI-NODEJS/lists"}