<?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: hf75</title>
    <description>The latest articles on Forem by hf75 (@hf75).</description>
    <link>https://forem.com/hf75</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%2F3817284%2F2e2c215e-9935-425d-b94b-4359bf319619.png</url>
      <title>Forem: hf75</title>
      <link>https://forem.com/hf75</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/hf75"/>
    <language>en</language>
    <item>
      <title>I built a tool that turns prompts into native .NET desktop apps — live-compiled</title>
      <dc:creator>hf75</dc:creator>
      <pubDate>Tue, 10 Mar 2026 17:28:09 +0000</pubDate>
      <link>https://forem.com/hf75/i-built-a-tool-that-turns-prompts-into-native-net-desktop-apps-live-compiled-2fga</link>
      <guid>https://forem.com/hf75/i-built-a-tool-that-turns-prompts-into-native-net-desktop-apps-live-compiled-2fga</guid>
      <description>&lt;p&gt;What if you could describe an app in plain English and get a real, native desktop application — not a web preview, not a sandbox, but an actual compiled program running on your machine?&lt;/p&gt;

&lt;p&gt;That's what I've been building for the past months. It's called N.E.O. (Native Executable Orchestrator), and it's now open source.&lt;/p&gt;

&lt;p&gt;The idea: Everyone knows Claude Artifacts and ChatGPT Canvas. They're great for web previews. But they run in a browser. I wanted to know: why doesn't something like this exist for native desktop apps? So I built it to figure out where it breaks.&lt;/p&gt;

&lt;p&gt;N.E.O. takes your prompt, sends it to an AI (Claude, ChatGPT, Gemini, or a local model like Ollama), gets back C# code, compiles it at runtime using Roslyn, and displays the result in a child process. No IDE or SDKs needed. No project setup. Just describe what you want.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Here's a prompt I use as a showcase:&lt;/em&gt;&lt;br&gt;
"Build an app that captures the system's audio output in real time via WASAPI and generates a spectacular live animation for a techno club. The animation should react fluidly to frequency, volume, bass, and beats."&lt;/p&gt;

&lt;p&gt;&lt;em&gt;How it works under the hood&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;You type a prompt&lt;br&gt;
  → AI generates C# code&lt;br&gt;
    → Roslyn compiles it to a DLL (in memory)&lt;br&gt;
      → DLL is streamed via Named Pipes to a child process&lt;br&gt;
        → Your app appears on screen&lt;/p&gt;

&lt;p&gt;Each iteration builds on the previous one. When you ask for changes, the AI sends a unified diff patch — no full rewrite needed. If something doesn't compile, N.E.O. automatically feeds the error back to the AI and retries.&lt;/p&gt;

&lt;p&gt;The child process runs in an optional Windows AppContainer sandbox, so generated code can't mess with your system.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;What it supports&lt;/em&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;UI frameworks: WPF, Avalonia, React (via WebView2)&lt;/li&gt;
&lt;li&gt;Export: Standalone executables for Windows (WPF), or Windows/Linux/macOS (Avalonia)&lt;/li&gt;
&lt;li&gt;AI providers: Claude, ChatGPT, Gemini, Ollama, LM Studio&lt;/li&gt;
&lt;li&gt;Built-in AI capabilities: Image generation, image analysis, speech-to-text, text-to-speech&lt;/li&gt;
&lt;li&gt;Editing: Visual designer mode (click-to-edit), branching undo/redo history&lt;/li&gt;
&lt;li&gt;Extras: NuGet package resolution at runtime, optional Python integration&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;The tech stack&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;.NET 9/10, fully self-contained (no external SDK dependencies)&lt;/li&gt;
&lt;li&gt;Roslyn for runtime compilation&lt;/li&gt;
&lt;li&gt;Custom IPC protocol over Named Pipes (framed binary protocol with 32-byte headers)&lt;/li&gt;
&lt;li&gt;Collectible AssemblyLoadContext for plugin isolation&lt;/li&gt;
&lt;li&gt;Embedded AppHost templates for cross-platform export&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Why I'm posting this&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This started as a hobby project — I was genuinely curious whether this approach could work at all. Turns out it can.&lt;/p&gt;

&lt;p&gt;But building something alone only gets you so far. I'm looking for people who find this interesting and want to contribute — whether that's new features, bug fixes, testing, or just honest feedback about what's broken.&lt;/p&gt;

&lt;p&gt;The project is pre-alpha. It works, but there's &lt;em&gt;plenty&lt;/em&gt; to improve.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Links&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;GitHub: github.com/hf75/N.E.O&lt;br&gt;
Demo video: youtube.com/watch?v=6OZxm7ZEVU0&lt;/p&gt;

&lt;p&gt;License: MIT&lt;/p&gt;

</description>
      <category>dotnet</category>
      <category>csharp</category>
      <category>opensource</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
