# Balena example projects

Below is a selection of "Hello world" examples and feature demonstrations for a wide variety of device types and languages when using balena.

| Name                                                                                                                       | Description                                                                                                                                                                               |
| -------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [balena-nodejs-hello-world](https://github.com/balena-io-examples/balena-nodejs-hello-world)                               | Example of how to deploy Node code on a balena supported device.                                                                                                                          |
| [balena-plant-saver](https://github.com/balena-io-examples/balena-plant-saver)                                             | We're building a plant monitor (and saver) - this is the early stage                                                                                                                      |
| [multicontainer-getting-started](https://github.com/balena-io-examples/multicontainer-getting-started)                     | Get up and running quickly with a multicontainer setup on balena                                                                                                                          |
| [internetspeedtest](https://github.com/balena-io-examples/internetspeedtest)                                               | Log your internet download, upload and ping metrics ti influxDB, and Grafana it. Grafana all the things!                                                                                  |
| [balena-python-hello-world](https://github.com/balena-io-examples/balena-python-hello-world)                               | Example of how to deploy Python code on a balena supported device.                                                                                                                        |
| [x11-window-manager](https://github.com/balena-io-examples/x11-window-manager)                                             | Example project showing how to run a desktop manager with balenaCloud in order to run GUI applications.                                                                                   |
| [staged-releases](https://github.com/balena-io-examples/staged-releases)                                                   | demonstration scripts on how to use the resin.io API to do staged releases to a fleet of devices.                                                                                         |
| [coral-streaming-object-detector](https://github.com/balena-io-examples/coral-streaming-object-detector)                   | This example will help you deploy a streaming camera feed with realtime people detection using the Coral Edge TPU for on-device ML inferencing.                                           |
| [balena-aws-lambda](https://github.com/balena-io-examples/balena-aws-lambda)                                               | Associate balena devices with AWS IoT when they ping a lambda endpoint                                                                                                                    |
| [balena-storage](https://github.com/balena-io-examples/balena-storage)                                                     | Sample project to showcase storage mounting on balenaOS.                                                                                                                                  |
| [jetson-examples](https://github.com/balena-io-examples/jetson-examples)                                                   | Sample container applications for Jetson devices                                                                                                                                          |
| [balena-rust-hello-world](https://github.com/balena-io-examples/balena-rust-hello-world)                                   | Example of how to deploy Rust code on a balena supported device.                                                                                                                          |
| [wifi-connect-api](https://github.com/balena-io-examples/wifi-connect-api)                                                 | Example Python web application that uses WiFi Connect's JSON API                                                                                                                          |
| [balena-aws-device](https://github.com/balena-io-examples/balena-aws-device)                                               | Device portion of balena/AWS integration                                                                                                                                                  |
| [balena-go-hello-world](https://github.com/balena-io-examples/balena-go-hello-world)                                       | Example of how to deploy Go code on a balena supported device.                                                                                                                            |
| [google-iot](https://github.com/balena-io-examples/google-iot)                                                             | Google Cloud IoT integration                                                                                                                                                              |
| [proxy-tunnel](https://github.com/balena-io-examples/proxy-tunnel)                                                         | Connecting your device(s) to balenaCloud from behind a compatible proxy.                                                                                                                  |
| [balena-timezone](https://github.com/balena-io-examples/balena-timezone)                                                   | Example of how to set the timezone within a container                                                                                                                                     |
| [aws-iot-provision](https://github.com/balena-io-examples/aws-iot-provision)                                               | Lambda function to provision a device with AWS IoT                                                                                                                                        |
| [jetson-nano-sample-app](https://github.com/balena-io-examples/jetson-nano-sample-app)                                     | Sample App with instructions for Jetson Nano                                                                                                                                              |
| [device-cloud-logging](https://github.com/balena-io-examples/device-cloud-logging)                                         | An example of using the journald log streaming endpoint on balena-supervisor                                                                                                              |
| [balena-device-node-exporter](https://github.com/balena-io-examples/balena-device-node-exporter)                           | On-device node\_exporter                                                                                                                                                                  |
| [balena-multiapp-project](https://github.com/balena-io-examples/balena-multiapp-project)                                   | Sample project to demonstrate how to integrate several existing balena projects in one                                                                                                    |
| [balena-electron](https://github.com/balena-io-examples/balena-electron)                                                   | A simple example of how to get an Electron application running on Balena                                                                                                                  |
| [community-cli-action](https://github.com/balena-io-examples/community-cli-action)                                         | A community built GitHub action that allows you to use the balena CLI                                                                                                                     |
| [device-tags](https://github.com/balena-io-examples/device-tags)                                                           | Examples on how to use the balena API & SDK to set device tags from within your app.                                                                                                      |
| [baletheus](https://github.com/balena-io-examples/baletheus)                                                               | Balena Service Discovery for Prometheus                                                                                                                                                   |
| [nginx-reverse-proxy](https://github.com/balena-io-examples/nginx-reverse-proxy)                                           | Access multiple ports over public URL using nginx reverse proxy.                                                                                                                          |
| [balena-java-hello-world](https://github.com/balena-io-examples/balena-java-hello-world)                                   | Hello Java in balena                                                                                                                                                                      |
| [balena-datadog](https://github.com/balena-io-examples/balena-datadog)                                                     | Balena + Datadog Example Project                                                                                                                                                          |
| [balenalib-systemd-example](https://github.com/balena-io-examples/balenalib-systemd-example)                               | Example project using systemd with balenalib images                                                                                                                                       |
| [balena-aws-iot-mqtt-example](https://github.com/balena-io-examples/balena-aws-iot-mqtt-example)                           | Sample project showing how to connect your Balena device to a AWS IoT MQTT broker                                                                                                         |
| [balena-google-apps-script-sheet-skeleton](https://github.com/balena-io-examples/balena-google-apps-script-sheet-skeleton) | Skeleton template for google sheets projects.                                                                                                                                             |
| [balena-ros2-CUDA-trt-pose-estimation](https://github.com/balena-io-examples/balena-ros2-CUDA-trt-pose-estimation)         | An installation of ROS2 Eloquent in a container, with a full desktop environment, CUDA, PyTorch, OpenCV, and TensorRT ready to deploy computer vision ROS applications on balena devices. |
| [cloud-relay](https://github.com/balena-io-examples/cloud-relay)                                                           | Relay data to an IoT cloud provider via MQTT                                                                                                                                              |
| [balena-cpp-hello-world](https://github.com/balena-io-examples/balena-cpp-hello-world)                                     | Example of how to deploy C++ code on a balena supported device.                                                                                                                           |
| [example-build-secrets-and-variables](https://github.com/balena-io-examples/example-build-secrets-and-variables)           | Example of build time secrets and variables on balenaCloud                                                                                                                                |
| [wifi-connect-custom-ui-example](https://github.com/balena-io-examples/wifi-connect-custom-ui-example)                     | An example on how to customize the captive portal of WiFi Connect                                                                                                                         |
| [balena-netdata](https://github.com/balena-io-examples/balena-netdata)                                                     | Netdata configuration for internal on-device monitoring                                                                                                                                   |
| [balena-ros2-foxy-base](https://github.com/balena-io-examples/balena-ros2-foxy-base)                                       | A basic installation of ROS2 Foxy in a container, ready to deploy on balena devices.                                                                                                      |
| [hostapd-enterprise](https://github.com/balena-io-examples/hostapd-enterprise)                                             | Resin multicontainer hostapd-powered access point with WPA-EAP (Enterprise) authentication                                                                                                |
| [nvidia-x86](https://github.com/balena-io-examples/nvidia-x86)                                                             | Example of using CUDA on an Nvidia GPU in an x86 device.                                                                                                                                  |
| [balena-updates-lock](https://github.com/balena-io-examples/balena-updates-lock)                                           | Example project of simple updates locking                                                                                                                                                 |
| [balena-idling](https://github.com/balena-io-examples/balena-idling)                                                       | Likely the most minimalist project to deploy on a balena device                                                                                                                           |
| [healthcheck-publicurl](https://github.com/balena-io-examples/healthcheck-publicurl)                                       | Demo of Docker healthcheck functionality for a balena service (through public device URL)                                                                                                 |
| [balena-aspnet-core](https://github.com/balena-io-examples/balena-aspnet-core)                                             | A simple multi-container-ready project demonstrating the use of the Microsoft ASP.Net Core 2.2 framework                                                                                  |
| [coral-getting-started](https://github.com/balena-io-examples/coral-getting-started)                                       | A getting started example project for Coral.ai on balenaCloud                                                                                                                             |
| [balena-nginx-hello-world](https://github.com/balena-io-examples/balena-nginx-hello-world)                                 | Simple nginx example on balena                                                                                                                                                            |
| [ROS-AutonomousVehicle](https://github.com/balena-io-examples/ROS-AutonomousVehicle)                                       | Sample project to show ROS autonomous vehicle running in a balena container.                                                                                                              |
| [balena-ros2-foxy-desktop](https://github.com/balena-io-examples/balena-ros2-foxy-desktop)                                 | An installation of ROS2 Foxy in a container, with a full desktop environment, ready to deploy on balena devices.                                                                          |
| [balena-avahi](https://github.com/balena-io-examples/balena-avahi)                                                         | mDNS/.local resolution with Avahi within a container                                                                                                                                      |
| [system-metrics](https://github.com/balena-io-examples/system-metrics)                                                     | Collect metrics on device performance and forward to MQTT                                                                                                                                 |
| [network-metrics-logger](https://github.com/balena-io-examples/network-metrics-logger)                                     | Log metrics on network I/O                                                                                                                                                                |
| [setup-balena-action](https://github.com/balena-io-examples/setup-balena-action)                                           | Install the balena CLI in your GitHub Actions workflow                                                                                                                                    |
| [balena-haskell-hello-world](https://github.com/balena-io-examples/balena-haskell-hello-world)                             | Example of how to deploy haskell code on a balena supported device.                                                                                                                       |
| [hostapd-minimal](https://github.com/balena-io-examples/hostapd-minimal)                                                   | Minimal hostapd access point example for resin.io                                                                                                                                         |
| [meta-exporter](https://github.com/balena-io-examples/meta-exporter)                                                       | The People's Exporter                                                                                                                                                                     |
| [sample-gcr-registry-secrets](https://github.com/balena-io-examples/sample-gcr-registry-secrets)                           | Sample balena push/deploy with Google Container Registry (GCR) private images                                                                                                             |
| [google-coral-dev-sample](https://github.com/balena-io-examples/google-coral-dev-sample)                                   | Sample Application running in container on BalenaOS, for the Google Coral Dev Board                                                                                                       |
| [tx2-container-contracts-sample](https://github.com/balena-io-examples/tx2-container-contracts-sample)                     | Sample TX2 application with optional containers tied to device L4T version                                                                                                                |
| [remote-local-logging](https://github.com/balena-io-examples/remote-local-logging)                                         | Receiver of logs                                                                                                                                                                          |
| [balena-cloudflare-tunnel](https://github.com/balena-io-examples/balena-cloudflare-tunnel)                                 | A simple balenaBlock to route your application through Cloudflare Tunnel                                                                                                                  |
| [balena-zerotier-gateway](https://github.com/balena-io-examples/balena-zerotier-gateway)                                   | Fully working ZeroTier container with IP forwarding an masquerading to the LAN.                                                                                                           |
| [tx2-sample-app](https://github.com/balena-io-examples/tx2-sample-app)                                                     | Jetson TX2 Sample Application                                                                                                                                                             |
| [balena-c-hello-world](https://github.com/balena-io-examples/balena-c-hello-world)                                         | Getting started with C on balena                                                                                                                                                          |
| [ruuvitag](https://github.com/balena-io-examples/ruuvitag)                                                                 | Collect data from a ruuvitag BLE sensor and chart it in a dashboard                                                                                                                       |
| [balena-ts-node-hello-world](https://github.com/balena-io-examples/balena-ts-node-hello-world)                             | A simple TypeScript Node.js Express server                                                                                                                                                |
| [balena-OpenVino](https://github.com/balena-io-examples/balena-OpenVino)                                                   |                                                                                                                                                                                           |
| [balena-hello-world-skeleton](https://github.com/balena-io-examples/balena-hello-world-skeleton)                           | A skeleton to use for your next balena hello world repostiory                                                                                                                             |
| [cb-gcp-iot-provision](https://github.com/balena-io-examples/cb-gcp-iot-provision)                                         | Cloud function to provision a device with ClearBlade IoT on GCP                                                                                                                           |
| [test-bluetooth](https://github.com/balena-io-examples/test-bluetooth)                                                     | Test case for internal bluetooth on various boards (artik5, artik710 etc.)                                                                                                                |
| [rpi3-alsa-test](https://github.com/balena-io-examples/rpi3-alsa-test)                                                     | Test case for 3.5 audio jack on the rpi3                                                                                                                                                  |
| [alwaysai-starter-apps](https://github.com/balena-io-examples/alwaysai-starter-apps)                                       | Sample project to showcase how to run alwaysAI starter apps in balenaOS.                                                                                                                  |
| [balena-poll-publicurl](https://github.com/balena-io-examples/balena-poll-publicurl)                                       | Poll a device publicURL forever.                                                                                                                                                          |
| [jetson-nano-x11](https://github.com/balena-io-examples/jetson-nano-x11)                                                   | Jetson Nano X11 Example                                                                                                                                                                   |
| [gcp-iot-provision](https://github.com/balena-io-examples/gcp-iot-provision)                                               | Cloud function to provision a device with Google Cloud IoT                                                                                                                                |
| [azure-iot-provision](https://github.com/balena-io-examples/azure-iot-provision)                                           | Azure function to provision a device with Azure IoT                                                                                                                                       |
| [cloud-relay-starter](https://github.com/balena-io-examples/cloud-relay-starter)                                           | Create a fleet to experiment with cloud IoT integrations using Cloud Relay block                                                                                                          |
| [balena-hyperpixel4-square](https://github.com/balena-io-examples/balena-hyperpixel4-square)                               | Minimal example of using Hyperpixel4 Square w/touch on balena                                                                                                                             |
| [balena-multistage-dockerfile-example](https://github.com/balena-io-examples/balena-multistage-dockerfile-example)         | How to leverage *multi-stage Dockerfile* with *docker-compose.dev.yml* to improve DX with balena.                                                                                         |
| [moby-balena-compare](https://github.com/balena-io-examples/moby-balena-compare)                                           | Finds commits specific to Balena Engine inside Balena Engine repository                                                                                                                   |
| [release-assets-hello-world](https://github.com/balena-io-examples/release-assets-hello-world)                             |                                                                                                                                                                                           |

To find the complete list of projects to try and deploy, head to [balenaHub](https://hub.balena.io)!
