DEV Community

Sudarshan Patil
Sudarshan Patil

Posted on

I built a VS Code extension that broadcasts UDP messages on task completion 🚀

I often compile firmware, embedded projects, or code that triggers hardware tests.

But I always wished I had a physical indicator — like an RGB LED or display — to show when a build finishes successfully or fails.

So I made a small but useful VS Code extension:

👉 notifybuildresult

https://github.com/sdrshnptl/notifybuildresult


🔧 What it does

This extension broadcasts a UDP message whenever a VS Code task completes.

You can trigger anything that listens on your network:

  • RGB LEDs (ESP32, Arduino)
  • Desktop indicators
  • IoT devices
  • Dashboards
  • Lab automation
  • Raspberry Pi scripts
  • Home automation nodes

Example use case:

💡 Build succeeded → LED turns green

❌ Build failed → LED turns red


📡 How it works

When a task finishes, the extension sends a JSON payload like:


json
{
  "task": "build",
  "status": "success"
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)