<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Sudarshan Patil</title>
    <description>The latest articles on Forem by Sudarshan Patil (@sdrshnptl).</description>
    <link>https://forem.com/sdrshnptl</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F630551%2F1e7c9951-e061-46a9-8719-7597ff0d9b88.jpeg</url>
      <title>Forem: Sudarshan Patil</title>
      <link>https://forem.com/sdrshnptl</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sdrshnptl"/>
    <language>en</language>
    <item>
      <title>I built a VS Code extension that broadcasts UDP messages on task completion 🚀</title>
      <dc:creator>Sudarshan Patil</dc:creator>
      <pubDate>Fri, 27 Feb 2026 18:34:02 +0000</pubDate>
      <link>https://forem.com/sdrshnptl/i-built-a-vs-code-extension-that-broadcasts-udp-messages-on-task-completion-532e</link>
      <guid>https://forem.com/sdrshnptl/i-built-a-vs-code-extension-that-broadcasts-udp-messages-on-task-completion-532e</guid>
      <description>&lt;p&gt;I often compile firmware, embedded projects, or code that triggers hardware tests.&lt;br&gt;&lt;br&gt;
But I always wished I had &lt;strong&gt;a physical indicator&lt;/strong&gt; — like an RGB LED or display — to show when a build finishes successfully or fails.&lt;/p&gt;

&lt;p&gt;So I made a small but useful VS Code extension:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;notifybuildresult&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;a href="https://github.com/sdrshnptl/notifybuildresult" rel="noopener noreferrer"&gt;https://github.com/sdrshnptl/notifybuildresult&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🔧 What it does
&lt;/h2&gt;

&lt;p&gt;This extension broadcasts a &lt;strong&gt;UDP message&lt;/strong&gt; whenever a VS Code task completes.&lt;/p&gt;

&lt;p&gt;You can trigger anything that listens on your network:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;RGB LEDs (ESP32, Arduino)&lt;/li&gt;
&lt;li&gt;Desktop indicators&lt;/li&gt;
&lt;li&gt;IoT devices&lt;/li&gt;
&lt;li&gt;Dashboards&lt;/li&gt;
&lt;li&gt;Lab automation&lt;/li&gt;
&lt;li&gt;Raspberry Pi scripts&lt;/li&gt;
&lt;li&gt;Home automation nodes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example use case:&lt;br&gt;&lt;br&gt;
💡 Build succeeded → LED turns green&lt;br&gt;&lt;br&gt;
❌ Build failed → LED turns red&lt;/p&gt;




&lt;h2&gt;
  
  
  📡 How it works
&lt;/h2&gt;

&lt;p&gt;When a task finishes, the extension sends a JSON payload like:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
json
{
  "task": "build",
  "status": "success"
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>automation</category>
      <category>iot</category>
      <category>showdev</category>
      <category>vscode</category>
    </item>
  </channel>
</rss>
