Hijacking Chrome's Network Tab to Debug an Electron App
seg6.space·1d·
Discuss: Hacker News
🛠Browser DevTools
Preview
Report Post

Dec 26, 2025

A while back I was working on a local-first productivity app. Think notes, files, AI chat, all running on your machine with no cloud required. The frontend was Svelte running in Electron, but the core of the app lived in a Rust backend compiled as a native Node module using Neon FFI. Storage, search, embeddings, AI inference. All Rust.

The architecture was straightforward: frontend calls JavaScript functions like js__store_create_resource or js__ai_send_chat_message, those calls cross the FFI boundary into Rust, Rust does its thing with SQLite and ML models and whatever else, and returns the result. Clean separation. Rust handles the heavy lifting, JavaScript handles the UI.

This was a fast-moving project. Early stage, small team, lots of experimentation. Feat…

Similar Posts

Loading similar posts...