<?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>DEV Community: Luis Hernandez</title>
    <description>The latest articles on DEV Community by Luis Hernandez (@sinlios).</description>
    <link>https://dev.to/sinlios</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2784125%2F58fbb196-bb32-4ff4-9545-6593c873c3fb.png</url>
      <title>DEV Community: Luis Hernandez</title>
      <link>https://dev.to/sinlios</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sinlios"/>
    <language>en</language>
    <item>
      <title>How I Built a 3.3MB Native Windows AI Desktop App with DeepSeek &amp; Tailwind (Goodbye 150MB Electron Bloat)</title>
      <dc:creator>Luis Hernandez</dc:creator>
      <pubDate>Thu, 10 Sep 2026 11:14:43 +0000</pubDate>
      <link>https://dev.to/sinlios/how-i-built-a-33mb-native-windows-ai-desktop-app-with-deepseek-tailwind-goodbye-150mb-electron-25c7</link>
      <guid>https://dev.to/sinlios/how-i-built-a-33mb-native-windows-ai-desktop-app-with-deepseek-tailwind-goodbye-150mb-electron-25c7</guid>
      <description>&lt;p&gt;Every time I want to build a desktop utility in 2026, the modern web ecosystem gives me the same repetitive answer: &lt;em&gt;"Just bundle it with Electron!"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Don't get me wrong: Electron is an impressive engineering feat. But packaging an entire Chromium browser and Node.js runtime just to display a local database and fire off a few API calls means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;160 MB to 220 MB&lt;/strong&gt; download installers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;500 MB to 700 MB&lt;/strong&gt; of RAM consumption at idle.&lt;/li&gt;
&lt;li&gt;3 to 4 seconds of cold startup lag on an average laptop.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A few weeks ago, I needed a specialized B2B cold outreach software for Windows — something that could import lead lists, craft hyper-personalized emails using modern LLMs (DeepSeek V3, Claude 3.5 Sonnet), and send them via transactional REST APIs without monthly SaaS fees.&lt;/p&gt;

&lt;p&gt;I refused to accept a 200MB bloated binary for this.&lt;/p&gt;

&lt;p&gt;Instead, I built &lt;strong&gt;&lt;a href="https://github.com/sinlios/leadhunter-ai-desk" rel="noopener noreferrer"&gt;LeadHunter AI Desk&lt;/a&gt;&lt;/strong&gt;: a 100% native Windows desktop application with a modern Tailwind CSS dark-mode UI that weighs &lt;strong&gt;just 3.3 MB&lt;/strong&gt; in a portable package and launches in &lt;strong&gt;0.18 seconds&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Here is how the architecture works and how you can build similar lightweight desktop tools.&lt;/p&gt;




&lt;h2&gt;
  
  
  🏗️ The Anti-Bloat Architecture: Native Win32 + Edge WebView2
&lt;/h2&gt;

&lt;p&gt;The secret to building ultra-lightweight desktop applications without sacrificing modern HTML5/CSS aesthetics is simple: &lt;strong&gt;stop distributing the browser runtime with your app&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Every modern installation of Windows 10 and Windows 11 already includes the &lt;strong&gt;Evergreen Microsoft Edge WebView2&lt;/strong&gt; runtime pre-installed and updated by Windows Update.&lt;/p&gt;

&lt;p&gt;To orchestrate this, I used &lt;strong&gt;&lt;a href="https://visualneowin.com" rel="noopener noreferrer"&gt;VisualNEO Win&lt;/a&gt;&lt;/strong&gt; — a rapid application development (RAD) environment for Windows that compiles directly into native Win32 executables:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;+---------------------------------------------------------+
|                 LeadHunter AI Desk                      |
+----------------------------+----------------------------+
|   Native Win32 Core        |   Reactive UI Layer        |
|   (VisualNEO Win Runtime)  |   (Edge WebView2 Runtime)  |
+----------------------------+----------------------------+
| * Zero Chromium bundle     | * Tailwind CSS Dark Mode   |
| * Local INI key storage    | * Real-time KPI Dashboards |
| * Native Windows Events    | * Interactive Data Tables  |
| * CSV File Handlers        | * Batch Selection Modals   |
+----------------------------+----------------------------+
|        Bidirectional Async Messaging Bridge             |
|        (wvPostMessage &amp;lt;--&amp;gt; OnWebMessageReceived)        |
+---------------------------------------------------------+
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By decoupling the UI layer from a bundled browser:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The compiled &lt;code&gt;.exe&lt;/code&gt; is tiny.&lt;/li&gt;
&lt;li&gt;The UI renders with full hardware acceleration via Microsoft Edge.&lt;/li&gt;
&lt;li&gt;Memory consumption drops from &lt;strong&gt;650 MB&lt;/strong&gt; down to &lt;strong&gt;~35 MB&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  ⚡ The Head-to-Head Benchmark
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;LeadHunter AI Desk&lt;/th&gt;
&lt;th&gt;Typical Electron Outreach Tool&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Download Size&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;3.3 MB&lt;/strong&gt; (Portable Zip)&lt;/td&gt;
&lt;td&gt;185 MB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Installed Footprint&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;~8 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;420 MB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Startup Speed&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&amp;lt; 0.2s (Instantaneous)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;3.2 seconds&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Idle RAM Footprint&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;~35 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;580 MB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Pricing Model&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0 / Free &amp;amp; Open Source (BYOK)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;$49 to $99 / month&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🧠 Brains: Integrating DeepSeek V3 / R1 via OpenRouter
&lt;/h2&gt;

&lt;p&gt;Instead of paying a $50/month SaaS subscription that marks up AI tokens by 500%, LeadHunter AI Desk uses a &lt;strong&gt;BYOK (Bring Your Own Key)&lt;/strong&gt; model connected to &lt;strong&gt;OpenRouter&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;You plug in your personal OpenRouter API key.&lt;/li&gt;
&lt;li&gt;Select your preferred LLM: &lt;strong&gt;DeepSeek V3 / R1&lt;/strong&gt;, &lt;strong&gt;Claude 3.5 Sonnet&lt;/strong&gt;, &lt;strong&gt;GPT-4o Mini&lt;/strong&gt;, or &lt;strong&gt;Gemini 2.0 Flash&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Use the dynamic prompt template studio with variables like &lt;code&gt;{company_name}&lt;/code&gt;, &lt;code&gt;{city}&lt;/code&gt;, &lt;code&gt;{website}&lt;/code&gt;, and &lt;code&gt;{my_service}&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;With &lt;strong&gt;DeepSeek V3&lt;/strong&gt;, generating 1,000 unique, personalized cold emails costs approximately &lt;strong&gt;$0.04 in direct API credits&lt;/strong&gt;. That represents a 99.8% cost reduction compared to commercial cloud outreach platforms.&lt;/p&gt;




&lt;h2&gt;
  
  
  📨 Delivery: Bypassing Port Blocks with SMTP2GO REST API
&lt;/h2&gt;

&lt;p&gt;If you have ever built a desktop tool that sends emails, you know the pain: residential ISPs and corporate networks routinely block outgoing traffic on &lt;strong&gt;Port 25, 465, and 587&lt;/strong&gt; to prevent botnet spam.&lt;/p&gt;

&lt;p&gt;LeadHunter AI Desk circumvents this entirely by transmitting emails via &lt;strong&gt;SMTP2GO's official HTTPS REST API (Port 443)&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Outgoing traffic looks like standard secure HTTPS web traffic.&lt;/li&gt;
&lt;li&gt;Never blocked by local firewalls or anti-virus port inspectors.&lt;/li&gt;
&lt;li&gt;Includes a configurable anti-spam delay interval (e.g., 5-10 seconds between dispatches) to protect sender domain reputation.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛠️ Inspecting the Code &amp;amp; VisualNEO Win
&lt;/h2&gt;

&lt;p&gt;The entire project is open source under the &lt;strong&gt;MIT License&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If you want to inspect how the native Win32 runtime talks to the WebView2 frontend:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;; Send data to the Tailwind UI frontend
wvPostMessage "WebBrowser1" "LOAD_CONFIG|{\"model\":\"deepseek/deepseek-chat\"}"

; Handle user interactions triggered from the HTML layer
:OnWebMessageReceived
  StrParse "[WebMessage]" "|" "[Action]" "[Data]"
  If "[Action]" "=" "START_OUTREACH"
    ...
  EndIf
Return
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can download the full project, edit the &lt;code&gt;.pub&lt;/code&gt; file, and test it yourself:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📦 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/sinlios/leadhunter-ai-desk" rel="noopener noreferrer"&gt;https://github.com/sinlios/leadhunter-ai-desk&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;⬇️ &lt;strong&gt;Pre-compiled Portable Release (3.3 MB):&lt;/strong&gt; &lt;a href="https://github.com/sinlios/leadhunter-ai-desk/releases/tag/v1.0.0" rel="noopener noreferrer"&gt;https://github.com/sinlios/leadhunter-ai-desk/releases/tag/v1.0.0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🖥️ &lt;strong&gt;VisualNEO Win IDE (Free Trial):&lt;/strong&gt; &lt;a href="https://visualneowin.com" rel="noopener noreferrer"&gt;https://visualneowin.com&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💬 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;The web is an amazing place, and HTML/Tailwind CSS is still the most expressive UI styling system in existence. But we don't need to ship a 150MB operating system emulator just to draw a few buttons and tables on Windows.&lt;/p&gt;

&lt;p&gt;What is your preferred approach to building desktop software in 2026? Are you sticking with Electron, experimenting with Tauri, or rediscovering native Windows tooling?&lt;/p&gt;

&lt;p&gt;I'd love to hear your thoughts in the comments below! ⭐&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>deepseek</category>
    </item>
  </channel>
</rss>
