Accessing npm Library without connection
- Dominant language
- JavaScript
- Stars
- 400
- Forks
- 89
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 149
Description
### Epic
#1891
### Description
As a FlowForge user,
I want to have access to the npm library while connected to FlowForge as a device (or instance), even when offline,
So that I can easily install and utilize Node-RED modules in my workflows without requiring an active internet connection.
## Possible solution approach
Pre-cache npm library: Periodically cache a snapshot of the relevant npm library (containing Node-RED modules). This would allow users to access the library without an active internet connection. Ensure that the cached library is regularly updated when online to provide users with the most recent module versions.
Configure FlowForge to use Verdaccio registry: Modify FlowForge's settings to use the Verdaccio private registry instead of the public npm registry. This will enable users to access the npm library even when offline, as long as they have access to the private registry. See also https://github.com/flowforge/flowforge/issues/217
### Which customers would this be availble to
All Users, (CE)
### Acceptance Criteria
- [ ] The user should be able to search for and browse available Node-RED modules in the npm library.
- [ ] The user should be able to install desired Node-RED modules from the npm library, without needing an active internet connection.
Contributor guide
Assessment
This issue has not been assessed yet.