<?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: Skilful Fox Studio</title>
    <description>The latest articles on DEV Community by Skilful Fox Studio (@skilful_fox_ceo).</description>
    <link>https://dev.to/skilful_fox_ceo</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%2F3794350%2F3e7538eb-dd75-4700-a16d-984f09395457.jpg</url>
      <title>DEV Community: Skilful Fox Studio</title>
      <link>https://dev.to/skilful_fox_ceo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/skilful_fox_ceo"/>
    <language>en</language>
    <item>
      <title>Why I Built an Offline-First Writing IDE with Tauri, Angular, and a Local 9B LLM</title>
      <dc:creator>Skilful Fox Studio</dc:creator>
      <pubDate>Fri, 20 Nov 2026 22:38:34 +0000</pubDate>
      <link>https://dev.to/skilful_fox_ceo/why-i-built-an-offline-first-writing-ide-with-tauri-angular-and-a-local-9b-llm-50e</link>
      <guid>https://dev.to/skilful_fox_ceo/why-i-built-an-offline-first-writing-ide-with-tauri-angular-and-a-local-9b-llm-50e</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm5ajknlvko6m8esxi1ox.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm5ajknlvko6m8esxi1ox.jpg" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;br&gt;
When you are writing a 300-page sci-fi novel, most modern "AI writing tools" solve the exact wrong problem. They want to generate prose for you, send your unpublished manuscript to a third-party cloud API, and charge a monthly subscription for the privilege.&lt;/p&gt;

&lt;p&gt;As a software engineer who writes fiction in the evenings, I didn't want an AI to write my chapters. I wanted a fast, offline desktop environment that keeps track of 50 characters, tangled timelines, and world-building details without leaking a single byte of my draft to the cloud.&lt;/p&gt;

&lt;p&gt;So, over the past several months, I built Fennec—a local-first desktop writing IDE. Here is a look under the hood at the architectural choices, trade-offs, and technical hurdles behind it.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Why Local-First (and Why Tauri + Angular)
A writing tool lives and dies by two things: startup latency and trust. If an author opens an app to jot down a scene at midnight, waiting for an Electron instance to spin up or worrying about cloud sync conflicts breaks the flow immediately.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Runtime: I chose Tauri over Electron to keep the binary lightweight and memory overhead low—especially important when the user might simultaneously run a local language model on the same machine.&lt;/p&gt;

&lt;p&gt;Frontend: Angular with strict TypeScript gave me the structured, modular architecture needed to manage complex state across multiple synchronized views (manuscript editor, entity database, and visual timeline) without turning the UI layer into spaghetti.&lt;/p&gt;

&lt;p&gt;Storage: Everything lives locally in SQLite. No accounts, no telemetry, no cloud lock-in. Your novel is just local data on your own drive.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Using a Local LLM as an Archivist, Not a Ghostwriter
The biggest misconception in current AI tooling is treating LLMs strictly as text generators. For long-form fiction, text generation quickly degrades into generic clichés and continuity errors.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Instead, I wired in optional local inference (running quantized models around the 9B parameter mark, such as Qwen-3.5-9B-Instruct-Q4_K_M) for a much narrower, deterministic job: structured extraction and continuity indexing.&lt;/p&gt;

&lt;p&gt;When you import an existing .docx manuscript or write new chapters, the local model scans the text purely offline to:&lt;/p&gt;

&lt;p&gt;Identify recurring characters, locations, and artifacts.&lt;/p&gt;

&lt;p&gt;Extract attributes and relationships into structured database records.&lt;/p&gt;

&lt;p&gt;Cross-reference timeline events against chapter drafts.&lt;/p&gt;

&lt;p&gt;The biggest engineering lesson here: Local 9B models are great at entity extraction when constrained with strict JSON schemas, but they struggle to distinguish literal plot contradictions from character dreams, flashbacks, or unreliable narration. Rather than letting the model auto-edit anything, the architecture treats AI output strictly as suggestions that the author reviews and approves in one click.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The Visual Timeline &amp;amp; Whiteboard Problem
Linear text editors hide structural problems. You don't notice that a character is in two places at once until 150 pages later.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6t9cjivt3423tiil2jh6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6t9cjivt3423tiil2jh6.png" alt=" " width="751" height="333"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To solve this, I built a visual storyboard/timeline canvas directly tied to the manuscript entities. The tricky part wasn't rendering nodes—it was making the board useful outside the app. Writers frequently need to print out their plot structure or review it on a tablet.&lt;/p&gt;

&lt;p&gt;That meant building a dedicated export pipeline that renders the whiteboard into a large-format PDF alongside a separate generated Legend document, mapping every visual node and color code back to the underlying chapters and entities.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxpe7dtwupafzapop6gie.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxpe7dtwupafzapop6gie.png" alt=" " width="800" height="325"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Exporting 1,000 Pages Without Freezing the UI
It sounds trivial until you actually test it: exporting a massive manuscript (up to 1,000 pages with chapter formatting, scene breaks, and metadata) into clean .docx and .pdf files in a single click without locking up the main thread.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Keeping the heavy lifting off the UI thread and streaming the document assembly ensured that even stress-test manuscripts around the 1,000-page mark export cleanly in seconds rather than crashing the webview.&lt;/p&gt;

&lt;p&gt;Where It Stands Today&lt;br&gt;
I recently shipped Fennec v1.0.0 for desktop. It supports five interface languages (English, German, Russian, French, and Spanish), imports existing .docx drafts, runs completely offline, and keeps local AI strictly optional.&lt;/p&gt;

&lt;p&gt;If you're interested in local-first desktop architecture or write long-form fiction yourself, you can check out the workflow in the demo video below:&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/YTZykFxdCyo" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;You can also take a look at the project details at &lt;a href="https://fennec.skilful-fox.com" rel="noopener noreferrer"&gt;fennec.skilful-fox.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you've built desktop apps combining Tauri with local LLMs or heavy document exports, I'd love to hear how you handled memory budgets and model lifecycle management in the comments.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>tauri</category>
      <category>llm</category>
      <category>writing</category>
    </item>
    <item>
      <title>Why AI Still Fails at Plot Hole Detection (And the "User Manual" Trap)</title>
      <dc:creator>Skilful Fox Studio</dc:creator>
      <pubDate>Fri, 13 Nov 2026 14:14:00 +0000</pubDate>
      <link>https://dev.to/skilful_fox_ceo/why-ai-still-fails-at-plot-hole-detection-and-the-user-manual-trap-73g</link>
      <guid>https://dev.to/skilful_fox_ceo/why-ai-still-fails-at-plot-hole-detection-and-the-user-manual-trap-73g</guid>
      <description>&lt;p&gt;Lately, a wave of new AI writing tools has been promising the exact same magic trick: &lt;em&gt;"Feed your draft to our AI, and it will automatically build your story bible, track timelines, and catch every continuity error."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;On paper, it sounds like an obvious use case for Large Language Models. In practice, trying to engineer a reliable structural analyzer for fiction feels less like software development and more like searching for the Holy Grail.&lt;/p&gt;

&lt;p&gt;While building a local-first writing environment and running experiments on narrative analysis with LLMs, I hit a fundamental wall. Here is what actually happens when you try to use current models to audit fiction.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Fiction Is Not a Technical Specification
&lt;/h2&gt;

&lt;p&gt;LLMs excel at auditing technical documentation, legal contracts, or codebases. Why? Because technical writing is linear, literal, and governed by formal logic. If variable &lt;code&gt;X&lt;/code&gt; is destroyed on line 10 and referenced on line 25, that’s a bug.&lt;/p&gt;

&lt;p&gt;Compelling fiction works by the exact opposite rules. Good storytelling thrives on non-linearity, intentional contradictions, unreliable narrators, subtext, and subtle foreshadowing that only resolves hundreds of pages later. &lt;/p&gt;

&lt;p&gt;If a character dies in Chapter 10 and cracks jokes in a tavern in Chapter 25, a naive continuity checker will immediately flag a "plot hole"—completely missing that Chapter 25 is a flashback, a fever dream, a hallucination, or an intentional deception by the narrator.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The 50% Coin-Flip Problem
&lt;/h2&gt;

&lt;p&gt;Across my experiments testing how well LLMs parse narrative structure, current models hover around &lt;strong&gt;50% accuracy&lt;/strong&gt; when asked to reliably distinguish a literal plot event from a dream, a lie, a vision, or a metaphor.&lt;/p&gt;

&lt;p&gt;In engineering terms, 50% accuracy isn't an assistant—it's a coin flip. &lt;/p&gt;

&lt;p&gt;When a static analysis tool generates false positives half the time, developers disable it. The exact same thing happens with writers. Instead of helping the author focus, an overeager AI continuity checker floods the workspace with false alarms that break creative flow.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The "Time-Saver" Contradiction
&lt;/h2&gt;

&lt;p&gt;Automated lore extractors are usually pitched as massive time-savers: &lt;em&gt;"Stop updating your story wiki manually; let the AI extract characters, items, and relationships from your scenes."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;There is a hidden UX trap here. Because LLMs inevitably hallucinate or misread narrative context, the author still has to manually audit every single generated entry and cross-reference it against their actual manuscript. &lt;/p&gt;

&lt;p&gt;Over a 50- or 100-chapter book, this leaves the writer with two bad options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Spend just as much time (and mental energy) babysitting the AI&lt;/strong&gt; as it would take to write the notes manually.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blindly click "Approve"&lt;/strong&gt; and slowly pollute their story bible with subtle AI hallucinations that will poison any future analysis.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Takeaway
&lt;/h2&gt;

&lt;p&gt;Until language models can natively hold, weight, and reason over an entire novel's context at once—rather than processing fragmented chunks through narrow extraction prompts—deep structural analysis remains the job of &lt;strong&gt;the author, the editor, the beta-reader, and the reader&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Of course, you &lt;em&gt;could&lt;/em&gt; strip away all narrative loops, ambiguities, and subtext to make a story strictly "machine-readable." But then you wouldn't have a novel anymore. You'd have a user manual.&lt;/p&gt;

&lt;p&gt;And as we all know, nobody reads the manual.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>writing</category>
      <category>llm</category>
      <category>architecture</category>
    </item>
    <item>
      <title>GreyFox Essential 0.2.1: Controlled AI traffic tooling for local operator workflows</title>
      <dc:creator>Skilful Fox Studio</dc:creator>
      <pubDate>Tue, 14 Jul 2026 23:13:17 +0000</pubDate>
      <link>https://dev.to/skilful_fox_ceo/greyfox-essential-021-controlled-ai-traffic-tooling-for-local-operator-workflows-1pck</link>
      <guid>https://dev.to/skilful_fox_ceo/greyfox-essential-021-controlled-ai-traffic-tooling-for-local-operator-workflows-1pck</guid>
      <description>&lt;p&gt;Hello everyone!&lt;/p&gt;

&lt;p&gt;I've just released GreyFox Essential 0.2.1 — a self-hosted, telemetry-free AI traffic proxy and operator console designed to run entirely inside your own infrastructure.&lt;/p&gt;

&lt;p&gt;If you are scaling AI integrations and need to control token consumption, configure request shaping, or throttle multi-user access without sending operational data to the cloud, this is built for you.&lt;/p&gt;

&lt;p&gt;Key features:&lt;/p&gt;

&lt;p&gt;Deterministic Request Shaping: Take control over how your LLM requests are dispatched.&lt;/p&gt;

&lt;p&gt;Token Analytics: Real-time cost and usage tracking.&lt;/p&gt;

&lt;p&gt;Managed-User Limits: Smoothly throttle AI backend access.&lt;/p&gt;

&lt;p&gt;Self-Hosted Privacy: Keep your API keys and environment profiles secure.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcgsczbr6zu48viiy90gu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcgsczbr6zu48viiy90gu.png" alt="Project GreyFox" width="707" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To celebrate the launch, I'm opening 5 slots for annual subscriptions with a 20% discount.&lt;/p&gt;

&lt;p&gt;Use code GREYFOX5 at checkout: &lt;a href="https://skilful-fox.com/greyfox" rel="noopener noreferrer"&gt;https://skilful-fox.com/greyfox&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love to hear your thoughts and feedback!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>containers</category>
      <category>tooling</category>
    </item>
    <item>
      <title>Mitigating LLM Token Bleeding During R&amp;D: Why Enterprise API Gateways Are Overkill for Local Dev Environments</title>
      <dc:creator>Skilful Fox Studio</dc:creator>
      <pubDate>Sun, 21 Jun 2026 21:50:58 +0000</pubDate>
      <link>https://dev.to/skilful_fox_ceo/mitigating-llm-token-bleeding-during-rd-why-enterprise-api-gateways-are-overkill-for-local-dev-15c</link>
      <guid>https://dev.to/skilful_fox_ceo/mitigating-llm-token-bleeding-during-rd-why-enterprise-api-gateways-are-overkill-for-local-dev-15c</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fet19dmtbqr1mk93cceli.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fet19dmtbqr1mk93cceli.png" alt=" " width="799" height="410"&gt;&lt;/a&gt;&lt;br&gt;
When building autonomous agents, heavy LLM processing pipelines, or running automated test suites against commercial AI endpoints (OpenAI, DeepSeek, OpenRouter), developers face a distinct infrastructure challenge: token bleeding.&lt;/p&gt;

&lt;p&gt;A forgotten loop, an unoptimized prompt evaluation system, or a continuous integration (CI) pipeline running automated integration tests can easily wipe out a monthly API budget over a single weekend.&lt;/p&gt;

&lt;p&gt;To prevent this, the immediate instinct is to look at established API gateways. However, deploying enterprise-grade infrastructure into a local development environment or a small-scale research pipeline often introduces more friction than it solves.&lt;/p&gt;

&lt;p&gt;Here is an analysis of why heavy gateways fall short for local R&amp;amp;D workflows, and how a lightweight, single-container architecture can solve the problem with zero operational budget.&lt;/p&gt;

&lt;p&gt;The Overhead of Enterprise API Gateways&lt;br&gt;
Most mature API gateways are engineered for corporate enterprise ecosystems. They are designed to manage distributed microservices, handle complex OAuth2 matrices, and scale horizontally across global cloud infrastructures.&lt;/p&gt;

&lt;p&gt;When you just need to regulate local development traffic hitting paid AI endpoints, enterprise solutions introduce significant friction:&lt;/p&gt;

&lt;p&gt;Heavy Dependencies: Many require separate distributed databases (like PostgreSQL, Cassandra, or Redis) just to store basic routing configurations and rate-limiting counters.&lt;/p&gt;

&lt;p&gt;Complex Configuration: Configuring a simple custom rate limit or setup path often involves writing verbose declarative YAML files, managing complex Kubernetes ingress rules, or learning proprietary plugin architectures.&lt;/p&gt;

&lt;p&gt;Lack of Out-of-the-Box AI Primitives: Traditional gateways think in raw HTTP requests and bandwidth bytes. They lack a native understanding of modern LLM concepts like input/output tokens, streaming chunks, or model-specific spend structures.&lt;/p&gt;

&lt;p&gt;For independent developers, small agile teams, or focused research setups, this infrastructure overhead is simply an overkill.&lt;/p&gt;

&lt;p&gt;Architectural Principles for a Local LLM Proxy&lt;br&gt;
To manage commercial AI traffic during rapid development cycles without introducing heavy operational burdens, a proxy layer should adhere to three core principles:&lt;/p&gt;

&lt;p&gt;Single-Container Deployment: The entire stack—routing, proxying, state management, and the user interface—must run inside a single, lightweight container (e.g., Docker) with a self-contained local storage engine like SQLite.&lt;/p&gt;

&lt;p&gt;Deterministic Response Caching: To save budget during repetitive prompt engineering cycles, the proxy must transparently intercept non-streaming requests, hash the payload (model, prompt, temperature, etc.), and immediately serve cached responses locally whenever an exact match is detected.&lt;/p&gt;

&lt;p&gt;Token-Aware Quotas via Client Headers: Instead of building complex authentication mechanisms, authorization can be offloaded to standard HTTP headers (e.g., X-App-User-Id). The proxy interprets this header to enforce daily token limits per test runner, script, or end-user straight out of the box.&lt;/p&gt;

&lt;p&gt;A Practical Implementation: GreyFox&lt;br&gt;
If you are looking for a concrete example of this lightweight, zero-telemetry architectural pattern, you can inspect GreyFox (Community Edition).&lt;/p&gt;

&lt;p&gt;Initially, this tool was engineered as an internal proxy controller to solve practical bottlenecks within an independent applied AI research environment, keeping development budgets strictly locked down.&lt;/p&gt;

&lt;p&gt;YAML&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# A typical lightweight local integration example&lt;/span&gt;
&lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;3.8'&lt;/span&gt;

&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;ai-proxy&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ghcr.io/skillful-fox-studio/grey-fox-community:latest&lt;/span&gt;
    &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;8080:8080"&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;./data:/app/database&lt;/span&gt;
    &lt;span class="na"&gt;environment&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;OPENAI_API_KEY=your_actual_api_key_here&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By routing local application traffic through the container (&lt;a href="http://localhost:8080/v1" rel="noopener noreferrer"&gt;http://localhost:8080/v1&lt;/a&gt;) instead of hitting the upstream commercial endpoints directly, developers gain an immediate, self-hosted visibility layer.&lt;/p&gt;

&lt;p&gt;Core Mechanics Under the Hood:&lt;br&gt;
The Cache Layer: Non-streaming duplicate calls bypass upstream networks entirely. If a prompt or testing pipeline runs multiple times with the exact same parameters, the response is delivered from the local SQLite instance in milliseconds.&lt;/p&gt;

&lt;p&gt;The Token Meter: The internal Angular console served straight from the container gives immediate feedback on token consumption and history without uploading tracking statistics or telemetry data to third-party cloud analytics platforms.&lt;/p&gt;

&lt;p&gt;Conclusion&lt;br&gt;
Managing API expenses during heavy AI prototyping doesn't have to mean maintaining complex cloud infrastructure or bulky enterprise gateways. A local-first, single-container proxy approach ensures that your research or indie development cycle remains highly optimized, predictable, and cost-effective.&lt;/p&gt;

&lt;p&gt;If you are currently optimizing your own LLM application traffic and want to explore a pre-built reference implementation of this architecture, the full codebase, Docker configuration templates, and documentation for GreyFox CE are available on GitHub.&lt;/p&gt;

&lt;p&gt;GitHub Repository: &lt;a href="https://github.com/Skillful-Fox-Studio/grey-fox-community" rel="noopener noreferrer"&gt;github.com/skillful-fox-studio/grey-fox-community&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>docker</category>
      <category>containers</category>
    </item>
    <item>
      <title>How to build a Production-Ready Desktop App with Angular 21, NestJS 11, and Electron in an Nx Monorepo</title>
      <dc:creator>Skilful Fox Studio</dc:creator>
      <pubDate>Fri, 27 Feb 2026 00:18:25 +0000</pubDate>
      <link>https://dev.to/skilful_fox_ceo/how-to-build-a-production-ready-desktop-app-with-angular-21-nestjs-11-and-electron-in-an-nx-52cd</link>
      <guid>https://dev.to/skilful_fox_ceo/how-to-build-a-production-ready-desktop-app-with-angular-21-nestjs-11-and-electron-in-an-nx-52cd</guid>
      <description>&lt;p&gt;&lt;strong&gt;The Problem&lt;/strong&gt;&lt;br&gt;
Setting up a modern desktop app is a nightmare. You don't just 'install Electron'. You have to manage the IPC layer, figure out how to share types between the frontend and the backend, and keep your build process from falling apart. After wasting 50+ hours on my last three setups, I decided to build a 'Golden Stack' using Nx Monorepo.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Architecture&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nx Monorepo: Why? Because it enforces strict boundaries. No more messy imports between your Angular UI and NestJS logic.&lt;/li&gt;
&lt;li&gt;NestJS inside Electron: Most people use simple scripts for the main process. We use NestJS to get Dependency Injection, easy-to-manage modules, and a professional backend structure right inside the desktop shell.&lt;/li&gt;
&lt;li&gt;The IPC Bridge: How we handle communication. Mention that you've automated the routing so the developer can focus on features, not plumbing.&lt;/li&gt;
&lt;li&gt;Database Multi-tenancy: Explain your approach with TypeORM/SQLite and how it's pre-configured for production.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;"Show, don't just tell"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb69yvyv97t4n5d91sbj7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb69yvyv97t4n5d91sbj7.png" alt=" " width="412" height="243"&gt;&lt;/a&gt;&lt;br&gt;
This is how a clean SOC (Separation of Concerns) looks in a real-world app.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Solution&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I spent weeks polishing this architecture to make it reusable. If you want to jump straight into coding your business logic instead of fighting with configurations, I’ve made the full boilerplate available.&lt;/p&gt;

&lt;p&gt;It’s called White Fox. It includes everything I mentioned above, plus pre-configured CI/CD, native OS features, and lifetime updates.&lt;/p&gt;

&lt;p&gt;Check out the White Fox Starter Kit here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://skillfulfox.lemonsqueezy.com/" rel="noopener noreferrer"&gt;White Fox on Lemon Squeezy&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would love to hear your thoughts on this architecture in the comments! Do you prefer NestJS for Electron or something more lightweight like tRPC?&lt;/p&gt;

</description>
      <category>angular</category>
      <category>architecture</category>
      <category>tooling</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
