Back to browse
MōBrowser, a TypeScript-first desktop app framework with typed IPC

MōBrowser, a TypeScript-first desktop app framework with typed IPC

by Ikryanov·Apr 14, 2026·7 points·0 comments

AI Analysis

●●SolidSlickNiche Gem

Typed IPC with Protobuf beats Electron's string channels, but Tauri already won the size war.

Strengths
  • Protobuf-based RPC for type-safe IPC instead of fragile postMessage strings.
  • Built-in source code encryption protects both frontend and backend from extraction.
  • Single Chromium bundle ensures consistent rendering across Windows, macOS, and Linux.
Weaknesses
  • Desktop framework space is saturated with Electron, Tauri, and NW.js already established.
  • No clear advantage on app size—Tauri still wins for lightweight deployments.
Target Audience

Desktop app developers using TypeScript

Similar To

Electron · Tauri · NW.js

Post Description

Hi HN,

For the last ~15 years I've worked on embedding web browsers into Java and .NET desktop apps (JxBrowser, DotNetBrowser). Over time, I watched many teams move from embedding web views into native apps, to building full desktop apps with frameworks like Electron and Tauri.

Both are useful, but in practice I kept running into several problems.

With Electron, beyond the larger app footprint, I often ran into:

- lack of type-safe IPC - no source code protection - weak support for the modern web stack

Tauri solves some problems (like app size), but introduces others:

- different WebViews across platforms → inconsistent behavior - requires Rust + JS instead of a single stack

So we built MōBrowser, a framework for building desktop apps with TypeScript, Node.js, and Chromium.

Some of the things we focused on:

- typed IPC using Protobuf + code generation (RPC-style communication instead of string channels) - consistent rendering and behavior across different platforms - Node.js runtime - built-in packaging, updates, and scaffolding - source code protection - small delta auto-updates

The goal is to let web developers ship desktop apps with a web stack they already know and fewer cross-platform surprises.

I'd especially love feedback from people who have built production apps with Electron or Tauri.

Happy to answer any questions.

Similar Projects