# Dynamic loading of Flow/Tab from a remote location / repository like git

**URL:** <https://discourse.nodered.org/t/dynamic-loading-of-flow-tab-from-a-remote-location-repository-like-git/66194>\
**Category:** General\
**Created:** [9 August 2022 01:08 UTC](https://discourse.nodered.org/t/dynamic-loading-of-flow-tab-from-a-remote-location-repository-like-git/66194 "2022-08-09T01:08:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrSidX](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrsidx/32/18935_2.png) [@mrSidX](https://discourse.nodered.org/u/mrSidX)\
**Post date:** [9 August 2022 01:08 UTC](https://discourse.nodered.org/t/dynamic-loading-of-flow-tab-from-a-remote-location-repository-like-git/66194/1 "2022-08-09T01:08:31Z")

</div>

I am curious if there is a practical way to have a node-red flow / tab of flows load up or refresh its contents based on a remote file location, like say a flow in a git repository, or url on the net?  
When Node-red starts, it seeks to access the location of the flow file?  
Essentially importing the file into the tab and deploying... automatically?

I understand that the `flows.js` file has the imported and deployed flows and tabs in and of itself, but I was curious if there is a way to modulate these sub flows for dynamic loading and deployment, instead of having them pre-deployed and saved in the `flows.js` file?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [9 August 2022 08:30 UTC](https://discourse.nodered.org/t/dynamic-loading-of-flow-tab-from-a-remote-location-repository-like-git/66194/2 "2022-08-09T08:30:55Z")

</div>

I don't know that it is particularly practical but I think that you could use the admin API to achieve roughly similar results.

---

<div class="post-metadata">

**Author:** ![MDAR](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mdar/32/10700_2.png) [@MDAR](https://discourse.nodered.org/u/MDAR)\
**Post date:** [13 August 2022 04:20 UTC](https://discourse.nodered.org/t/dynamic-loading-of-flow-tab-from-a-remote-location-repository-like-git/66194/3 "2022-08-13T04:20:41Z")

</div>

How about something like this?

> **[Manage and distribute Node-RED flows using GitHub](https://qbee.io/docs/github-node-red.html)**
>
> Do Node-RED flow versioning with GIT and use GitHub runners to distribute them to your embedded devices via the qbee.io API

I'm sure I saw a NodeRed/ GitHub team / project deployment thread at some point, but I can't remember where or when.  
Maybe this was it?

* * *

@mrSidX

It's been bugging me that I couldn't remember what I'd read, so I went digging.

This is what I was thinking of, but I don't know if it's what you have in mind.

[https://nodered.org/docs/user-guide/projects/](https://nodered.org/docs/user-guide/projects/)

---

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [14 August 2022 16:40 UTC](https://discourse.nodered.org/t/dynamic-loading-of-flow-tab-from-a-remote-location-repository-like-git/66194/4 "2022-08-14T16:40:24Z")

</div>

> [@MDAR](#):
>
> It's been bugging me that I couldn't remember what I'd read, so I went digging.

Perhaps you read the guide from below link ?

> **[Creating a Node-RED deployment pipeline to IBM Cloud · knolleary](https://knolleary.net/2018/06/01/creating-a-node-red-deployment-pipeline-to-ibm-cloud/)**
>
> Node-RED has been available in the IBM Cloud catalog since the early days of what was then known as IBM Bluemix. Provided as a boilerplate application, it gives a really quick and easy way to get s...

---

<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:** [13 October 2022 16:41 UTC](https://discourse.nodered.org/t/dynamic-loading-of-flow-tab-from-a-remote-location-repository-like-git/66194/5 "2022-10-13T16:41:22Z")

</div>

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