Hi @dennishvo
if this is a commercial product with internet access, then Nebula by yellaUmbrella (or Nebula via Iotobox ) does precisely that, with other advantages too.
Nebula enables the download of a single exe (a 'Device'), which in itself contains node-red (no dependencies, windows/mac/linux/rpi, no 'installation'). Every Device is unique, all the source is encrypted, and your actual flows never exist on disk.
When the Nebula Device is run, it gets it's flows (and their configuration) from the Nebula web server.
All communication is HTTPS/WSS, and everything served is encrypted as well.
Via the Nebula server, you can add, configure and control the flows present on the Device - making it easy to change what a process (flow) does in seconds, and the majority of the operational code is downloaded as required.
It also supports (most) native node modules and secondary executables as dependencies - which are also delivered encrypted, but then unwrapped to disk for use :).
The current version (used in production the last 18 months) is based on node 6.9.11, NR 0.17; but I'm in the process of qualifying node 12.10.0, NR 1.0.1, and it's looking good so far (thankyou Nick & Dave et al for a brilliant project!).
I have built the 6.9.11 version for RPi in the past - you need at least 1Gbyte of ram - and the requirement for RPi is current with the involvement of Iotobox.
Note that this IS a commercial product. We (yellaUmbrella) use it in support of our Broadcast Media based activity - I developed it to address our need for pay-per-use delivery of processes to the user's machine, wherever that may be.
So with that, we have a highly competent mechanism of charging the end users, but also a developed concept of revenue share, so you can charge for the use of the processes based on a range of parameters.
Each process (flow) may have up to 10 counters, and each counter can have an associated price.
A 'Price' can be per count (or a calculation based off a count, e.g. ā¬0.01 per 30kb or part of, where the counter is in bytes), or can be interval based (e.g. '0.10ā¬ for the first use in an hour/day/week/month/quarter').
And every price has an up to three way split of revenue - e.g. if you created a process, the mechanisms are in place for us to take 10%, you 70% and Amazon 20%, for example.
A 'price' can also be dependent on a 'paygo'/'monthly' switch on the webserver (per project - collection of flows on a device) - we far prefer the good honest pay-as-you-use, don't-pay-if-you-don't model.
We (yellaUmbrella) do not have the bandwidth to take Nebula into other business areas, so we keep an eye out for partners in other business areas who could use the underlying technology and framework to their benefit, hence the involvement of Iotobox. Joe 'noticed' Nebula some time back, and it was a very good fit for a (Rpi based) product he had which was based on Node-Red flows, and has now taken on the mantle of application of Nebula to IOT.
So, if it sounds interesting, you can contact us through the contact page on yellaumbrella.tv, or contact Joe (US based) through iotobox.com, or PM me directly to talk further?
Personally, I fell in love with NR when I first used it ~2 1/2 years ago. Now I use (abuse) it almost exclusively for everything we do, have basically built a business on it, and contribute where I can... My background was c/c++, but now I can literally do everything I need to in Node-Red.
sorry if this is overly commercial
best regards,
Simon