PitchHut
Log in / Sign up
nrlg
21 views
Effortlessly build your own Node-RED node libraries.
Pitch

nrlg is a versatile tool designed to streamline the generation of Node-RED node libraries. With a straightforward command-line interface, it simplifies the setup process, creating a structured template for your projects. Whether you're a seasoned developer or just starting, nrlg makes building and managing your Node-RED nodes easy.

Description

The nrlg project is a powerful tool generator designed to streamline the creation of Node-RED node libraries. Developed by Alessio Pellizzaro from Italy, nrlg simplifies the process of setting up a new Node-RED node library by generating a complete structure with all necessary files and directories.

Key Features

  • Automated Project Setup: Quickly generate a foundational framework for your Node-RED library, ensuring that you have all relevant files in place without manual effort.
  • Compatible with APXC Template: The tool adheres to the structure outlined in the APXC Template Nodes Library for Node-RED, making it easy for developers familiar with this library to adapt.

Example Usage

To get started with nrlg, simply run the following command in your terminal:

npx nrlg [projectName]

Output Example

Upon execution, nrlg will prompt for details regarding your project. Here’s an example of the output you can expect:

πŸš€ node-red-apxc-lib-node-gen alias nrlg - v0.0.1
πŸ€– Tool Generator project for building Node-RED Nodes lib

πŸ§‘β€πŸ’» Developed by Alessio Pellizzaro <alessio.pellizzaro@apserial.it> - Italy

βœ” Name of Project? mynodes
βœ” Your Name? (nametag) apxc
βœ” The number of ports to expose Node-RED on Your System? 1880
βœ” Do you have tests? no
πŸ“ Path Created: /mynodes/nodes/input
πŸ“ Path Created: /mynodes/nodes/configs
πŸ“ Path Created: /mynodes/utils
πŸ“ Path Created: /mynodes/examples
πŸ“ File Created: /mynodes/README.md
πŸ“ File Created: /mynodes/.gitignore
πŸ“ File Created: /mynodes/docker-compose.yml
πŸ“ File Created: /mynodes/AUTHORS.txt
πŸ“ File Created: /mynodes/CHANGELOG.md
πŸ“ File Created: /mynodes/package.json
πŸ“ File Created: /mynodes/nodes/configs/my-configs-node.js
πŸ“ File Created: /mynodes/nodes/configs/my-configs-node.html
πŸ“ File Created: /mynodes/nodes/input/my-input-node.js
πŸ“ File Created: /mynodes/nodes/input/my-input-node.html
πŸ“ File Created: /mynodes/utils/support.js
Completed! πŸ˜„
Next steps:
cd mynodes 
npm install 
docker compose up 
npm run update 
Run make your code! πŸš€

Nrlg is an essential tool for developers looking to enhance their Node-RED experience. By automating tedious tasks, it allows you to focus more on creating powerful and efficient Node-RED nodes.