cd /news/ai-tools/how-i-built-a-3-3mb-native-windows-a… · home topics ai-tools article
[ARTICLE · art-125680] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

How I Built a 3.3MB Native Windows AI Desktop App with DeepSeek & Tailwind (Goodbye 150MB Electron Bloat)

A developer built LeadHunter AI Desk, an open-source native Windows desktop application for B2B cold outreach that weighs just 3.3 MB and launches in under 0.2 seconds, avoiding the roughly 185 MB footprint of typical Electron-based tools. The app pairs a native Win32 core built with VisualNEO Win with a Tailwind CSS interface rendered through the pre-installed Microsoft Edge WebView2 runtime, and uses a bring-your-own-key model via OpenRouter with DeepSeek V3 to generate 1,000 personalized emails for about $0.04 in API credits. It sends mail through SMTP2GO's HTTPS REST API on port 443 to sidestep ISP blocks on traditional SMTP ports, and is released under the MIT License.

by read3 min views2 publishedSep 10, 2026

Every time I want to build a desktop utility in 2026, the modern web ecosystem gives me the same repetitive answer: "Just bundle it with Electron!"

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:

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.

I refused to accept a 200MB bloated binary for this.

Instead, I built LeadHunter AI Desk: a 100% native Windows desktop application with a modern Tailwind CSS dark-mode UI that weighs just 3.3 MB in a portable package and launches in 0.18 seconds.

Here is how the architecture works and how you can build similar lightweight desktop tools.

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

Every modern installation of Windows 10 and Windows 11 already includes the Evergreen Microsoft Edge WebView2 runtime pre-installed and updated by Windows Update.

To orchestrate this, I used VisualNEO Win — a rapid application development (RAD) environment for Windows that compiles directly into native Win32 executables:

+---------------------------------------------------------+
|                 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 <--> OnWebMessageReceived)        |
+---------------------------------------------------------+

By decoupling the UI layer from a bundled browser:

.exe is tiny.

Metric LeadHunter AI Desk Typical Electron Outreach Tool
Download Size 3.3 MB (Portable Zip) 185 MB
Installed Footprint ~8 MB 420 MB
Startup Speed < 0.2s (Instantaneous) 3.2 seconds
Idle RAM Footprint ~35 MB 580 MB
Pricing Model $0 / Free & Open Source (BYOK) $49 to $99 / month

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

{company_name}, {city}, {website}, and {my_service}. With DeepSeek V3, generating 1,000 unique, personalized cold emails costs approximately $0.04 in direct API credits. That represents a 99.8% cost reduction compared to commercial cloud outreach platforms.

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 Port 25, 465, and 587 to prevent botnet spam.

LeadHunter AI Desk circumvents this entirely by transmitting emails via SMTP2GO's official HTTPS REST API (Port 443):

The entire project is open source under the MIT License.

If you want to inspect how the native Win32 runtime talks to the WebView2 frontend:

; 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

You can download the full project, edit the .pub file, and test it yourself:

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.

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

I'd love to hear your thoughts in the comments below! ⭐

── more in #ai-tools 4 stories · sorted by recency
── more on @leadhunter ai desk 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-i-built-a-3-3mb-…] indexed:0 read:3min 2026-09-10 ·