Repolode
protospatial

protospatial/NodeToCode

An Unreal Engine editor plugin that uses LLMs to translate Blueprint graphs into C++ code and pseudocode.

Stars
783
Forks
125
Open issues
12
Last commit
4 days ago

What is it?

Node to Code is an Unreal Engine plugin that converts Blueprint graphs into structured C++ with a single click. It serializes the graph's execution flows, data connections, variables and comments into a custom JSON schema, then sends that to a large language model to generate the translation.

The plugin supports several LLM backends, including OpenAI, Anthropic Claude, Google Gemini and DeepSeek, as well as local models run through Ollama or LM Studio. Users can supply their own C++ files as style references so the output follows an existing project's conventions. Translations appear in a dockable editor window with syntax highlighting and are saved locally for archiving.

Beyond C++, it can produce pseudocode or output in languages such as C#, JavaScript, Python and Swift. It is aimed at teams who want to share Blueprint logic as text, at developers moving performance-critical systems from Blueprint to C++, and at people learning the Unreal C++ API.

Key features

  • 01Converts Blueprint graphs to C++ with one click inside the Unreal editor.
  • 02Supports OpenAI, Claude, Gemini, DeepSeek, and local models via Ollama or LM Studio.
  • 03Generates pseudocode and translations into C#, JavaScript, Python and Swift.
  • 04Accepts user-provided C++ files as style references.
  • 05Saves each translation locally and displays it in a dockable window with syntax highlighting.

Use cases

  • Converting performance-critical Blueprint systems to C++ without manual rewriting.
  • Sharing Blueprint logic as text in forums, chat or documentation instead of screenshots.
  • Learning the Unreal C++ API by comparing your own Blueprints with generated code.
  • Helping C++ programmers understand a designer's Blueprint logic quickly.

Quick start

  1. 1

    Download the plugin from the Releases page

  2. 2

    Visit the wiki for setup guides and configure an LLM provider

Things to know

  • Requires an API key from a cloud LLM provider or a local Ollama or LM Studio setup.
  • Requires Unreal Engine; it is an editor plugin, not a standalone tool.

In collections

Topics

FAQ

What is NodeToCode?
An Unreal Engine editor plugin that uses LLMs to translate Blueprint graphs into C++ code and pseudocode. Node to Code is an Unreal Engine plugin that converts Blueprint graphs into structured C++ with a single click. It serializes the graph's execution flows, data connections, variables and comments into a custom JSON schema, then sends that to a large language model to generate the translation.
Is NodeToCode free to use? What license does it have?
NodeToCode is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is NodeToCode still maintained?
Actively maintained. The last commit to NodeToCode was on Nov 4, 2026.
What can I use NodeToCode for?
Converting performance-critical Blueprint systems to C++ without manual rewriting. Sharing Blueprint logic as text in forums, chat or documentation instead of screenshots. Learning the Unreal C++ API by comparing your own Blueprints with generated code. Helping C++ programmers understand a designer's Blueprint logic quickly.
How do I install NodeToCode?
Download the plugin from the Releases page Visit the wiki for setup guides and configure an LLM provider
Where can I get NodeToCode?
The source code and installation instructions are on GitHub: https://github.com/protospatial/NodeToCode

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects