This repository automates the creation of a custom Raspberry Pi image pre-installed with Node-RED and its Dashboard. Using GitHub Actions, the image is built with pi-gen and deployed as downloadable releases.
- Automated image building and release using pi-gen-action.
- Pre-installed Node-RED and Node-RED Dashboard.
- Configured to work out-of-the-box for Raspberry Pi devices.
Head to the Releases section to download the latest Raspberry Pi image. Flash it to your SD card using a tool like Raspberry Pi Imager or Balena Etcher.
- A Raspberry Pi
- A microSD card (8 GB or larger recommended).
- Optional: Ethernet or Wi-Fi setup if network connectivity is required.
- Download the
.img
file from the Releases section. - Use Raspberry Pi Imager or Balena Etcher to flash the image to your microSD card.
- Insert the microSD card into your Raspberry Pi and power it on.
- Open a web browser and navigate to
http://<your-pi-ip>:1880
. - Customize and deploy your flows using the built-in Node-RED editor.
- Use the Node-RED Dashboard at
http://<your-pi-ip>:1880/ui
to interact with your projects.
This project uses pi-gen-action to automate the build process. Upon every push to the main
branch or when manually triggered, GitHub Actions:
- Clones the pi-gen repository.
- Applies customizations for Node-RED and the Dashboard.
- Builds the Raspberry Pi image.
- Uploads the image as a release artifact.
stage-ezui
: Contains customization scripts and configuration for Node-RED..github/workflows
: Defines the GitHub Actions workflows.
To customize the Node-RED environment:
- Update the files in the
stage-ezui
directory. - Push changes to the repository. The new image will be built and released automatically.
You can build the image locally using pi-gen
. Refer to the pi-gen documentation for setup instructions.
Contributions are welcome! Please open an issue or submit a pull request to suggest changes or enhancements.
This project is licensed under the MIT License.
- pi-gen - The official Raspberry Pi image builder.
- pi-gen-action - GitHub Action for pi-gen.
- Node-RED - Low-code programming for event-driven applications.
Make sure to replace placeholders like your-username
and your-repo-name
with the appropriate values from your project. Let me know if you need further adjustments!