# How to add custom Blockly to Node Red

**URL:** <https://discourse.nodered.org/t/how-to-add-custom-blockly-to-node-red/46295>\
**Category:** General\
**Created:** [26 May 2021 16:19 UTC](https://discourse.nodered.org/t/how-to-add-custom-blockly-to-node-red/46295 "2021-05-26T16:19:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rth](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@rth](https://discourse.nodered.org/u/rth)\
**Post date:** [26 May 2021 16:19 UTC](https://discourse.nodered.org/t/how-to-add-custom-blockly-to-node-red/46295/1 "2021-05-26T16:19:13Z")

</div>

Hello everyone,  
I am a student working on a project with Node-RED and Blockly. I have already customized Blockly with extra Blocks and Categories that I need. Also I have changed the Layout and Design of it.

My goal is to connect this custom Blockly to Node-RED. ( I know there is a Blockly Node-RED out there which I tried out but I would like to add my own instead).

Does anyone have any tips on how to do that?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [26 May 2021 17:16 UTC](https://discourse.nodered.org/t/how-to-add-custom-blockly-to-node-red/46295/2 "2021-05-26T17:16:14Z")

</div>

> [@rth](#):
>
> I know there is a Blockly Node-RED out there which I tried out but I would like to add my own instead

Hi @rth,  
If I may curious, what is the reason that you don't want to extend the existing blockly node, and start a new one? Because if you have "general" functionality that may help the users of the existing blockly node, then it would be a pity not to see a pull request arriving...  
Bart

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [26 May 2021 17:30 UTC](https://discourse.nodered.org/t/how-to-add-custom-blockly-to-node-red/46295/3 "2021-05-26T17:30:45Z")

</div>

Hey Bart, I got the impression from the op that he was running blocky external and wanted a way of communicating between blocky and node-red (I might be wrong).

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [26 May 2021 17:57 UTC](https://discourse.nodered.org/t/how-to-add-custom-blockly-to-node-red/46295/4 "2021-05-26T17:57:25Z")

</div>

> [@rth](#):
>
> I know there is a Blockly Node-RED out there which I tried out but I would like to add my own instead

Hey @Steve-Mcl ,  
From this I had concluded that it was about node-red-contrib-blockly. But indeed I might have misinterpreted the question...

---

<div class="post-metadata">

**Author:** ![rth](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@rth](https://discourse.nodered.org/u/rth)\
**Post date:** [27 May 2021 07:40 UTC](https://discourse.nodered.org/t/how-to-add-custom-blockly-to-node-red/46295/5 "2021-05-27T07:40:14Z")

</div>

Hello @BartButenaers ,  
We are working on a little project and we have some blocks which are very specific to our needs. Also we changed a lot in the design of Blockly and that's why I would like to add my Blockly to Node-RED as it is better for my needs. I know one can create functions in node-red-contrib-blockly, but I was wandering if I can just add my whole custom Blockly in node-red. If someone has any ideas it would be nice 😃

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [27 May 2021 07:50 UTC](https://discourse.nodered.org/t/how-to-add-custom-blockly-to-node-red/46295/6 "2021-05-27T07:50:59Z")

</div>

Just out of curiosity, can you post a link to your Blocky version so we can see how much different it is?

---

<div class="post-metadata">

**Author:** ![Hypnos](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hypnos/32/7566_2.png) [@Hypnos](https://discourse.nodered.org/u/Hypnos)\
**Post date:** [27 May 2021 12:10 UTC](https://discourse.nodered.org/t/how-to-add-custom-blockly-to-node-red/46295/7 "2021-05-27T12:10:34Z")

</div>

In the end every Blockly can be translated into JavaScript and Javascript can be executed by the function node of Node-Red. 😄

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [27 May 2021 12:12 UTC](https://discourse.nodered.org/t/how-to-add-custom-blockly-to-node-red/46295/8 "2021-05-27T12:12:22Z")

</div>

If it was that simple, we wouldn't need @BartButenaers 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 July 2021 12:12 UTC](https://discourse.nodered.org/t/how-to-add-custom-blockly-to-node-red/46295/9 "2021-07-26T12:12:32Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
