Files
AlekPet-ComfyUI_Custom_Node…/IDENode
AlekPet b0cab52e31 update
+ Updated the structure; now the web_alekpet_nodes folder is not deleted
  or recreated, and no files are copied.
+ Added a folder with example_workflows
+ Corrected some README files
+ Cleaned up the __init__.py file
+ Update version
2026-03-01 19:16:04 +03:00
..
2025-08-28 22:04:31 +03:00
2026-03-01 19:16:04 +03:00

IDE Node

Screenshot IDE Node

IDE Node is an experimental node that allows you to run code written in Python or Javascript directly in the node, it is also possible to receive input data, which is stored in variables, process and output the result.

Changelog:

  • 2024.08.28: Implemented add output variables and types

Features:

  • Selecting a syntax highlighting theme
  • Choosing a programming language

Note:

The result variable is used for output The F1 key in the editor brings up additional settings (Default-Keyboard-Shortcuts)

IDE Node workflows

Translate code

The OPUS-MT model is used (https://github.com/Helsinki-NLP/Opus-MT), but others can be used if you adjust the code.

To use, you need to select the required model for your language, here https://huggingface.co/Helsinki-NLP?sort_models=downloads#models (I use "Helsinki-NLP/opus-mt-ru-en", you can change the abbreviations at the end to your own)

Simple example: Screenshot IDE Node Translate OPUS-MT Simple

Workflow example: Screenshot IDE Node Translate OPUS-MT Workflow

Drag image to ComfyUI open workflow: Screenshot Drag image to ComfyUI open workflow

Workflow link: Workflow ai_translate_opus-mt_idenode_workflow.json