David Meents
Blog
Projects
About
Posts containing rust, and tauri
Clear Filter
Testing a Tauri App: Testing Across Rust and TypeScript
Part 7 of the POE2 Overlord series. Covers the testing strategy across both Rust and TypeScript: frontend testing with Vitest, React Testing Library, and jsdom including global Tauri API mocking, co-located spec files, mock data factories with type-safe overrides, and semantic DOM queries; backend testing with native Rust tests, async service tests with trait-based mocking, concurrency validation, and time calculation edge cases; plus an honest look at what 100% component coverage catches and where it falls short.
Feature Deep Dive: Economy Integration and Campaign Walkthrough in a Tauri App
Part 6 of the POE2 Overlord series. A full-stack deep dive into two features: the economy integration (fetching live currency data from poe.ninja with cache-first stale fallback, concurrent request deduplication via per-key semaphores, and league-specific data handling) and the campaign walkthrough system (a 2800-line guide data structure, per-character progress tracking, automatic step advancement from zone changes, and reactive frontend rendering with event-driven updates).
Event-Driven Communication Between Rust and React in a Tauri App
Part 4 of the POE2 Overlord series. Covers the event-driven communication layer between the Rust backend and React frontend: the in-memory pub/sub event bus, the Tauri event bridge that forwards domain events to the webview, the useAppEventListener hook, the full data flow from log parse to UI re-render, Tauri commands for frontend-to-backend calls, type safety across the Rust/TypeScript boundary with Serde, and pitfalls like stale closures and event ordering.
Real-Time Game Log Analysis: Parsing POE2's Client.txt with Rust
Part 3 of the POE2 Overlord series. Covers the real-time log analysis pipeline: how the app watches Client.txt via polling, parses log lines through a modular parser pipeline with regex pattern matching, detects session gaps, and cascades a single zone change event across four domains to update character location, walkthrough progress, zone statistics, and the frontend.
Building the Rust Backend with Tauri: Domain Structure, Services, and Persistence
Part 2 of the POE2 Overlord series. Walks through the Rust backend architecture: domain file structure, async traits with dependency injection via Arc<T>, the service registry that boots 10 services in dependency order, unified error handling with thiserror, Tauri commands as the IPC bridge, and file-based JSON persistence with atomic writes.
Building a Desktop Companion App for Path of Exile 2 with Tauri and React
Part 1 of a series on building POE2 Overlord, a desktop companion app for Path of Exile 2. Covers why I built it, the decision to go with Tauri over Electron, the monorepo structure, domain-driven design with 10 bounded domains, and how the Rust backend and React frontend fit together.
Tags
ai
1
claude
1
mcp
1
linux
1
macos
1
dotfiles
1
open source
2
typescript
7
next.js
1
react
5
mdx
1
rust
6
tauri
7
logseq
1
Projects
Path of Exile 2 Overlord
Pretty Logseq
© 2025 David Meents. All Rights Reserved.
GitHub
LinkedIn
Mastodon