Skip to content
E

electron-trpc

Build type-safe Electron inter-process communication using tRPC

by jsonnullFree

#3175in Utilities
0In stores

Description

electron-trpc is a library for building type-safe inter-process communication (IPC) in Electron apps with tRPC. You expose APIs from Electro…

Highlights

  • Type-safe IPC between Electron processes
  • Client types inferred from the main process
  • Queries, mutations and subscriptions
  • Faster and more secure than a local server
  • Example project in the repository

Ratings & Reviews

No ratings yet

Be the first to rate electron-trpc.

People also visit

E

Electron Toolkit

Toolkit for Electron

Utilities
Launch
T

TauRPC

Typesafe IPC layer for Tauri applications

Utilities
Launch
E

Electron Redux

Use redux in the main and browser processes in electron

Utilities
Launch
E

electron

Build cross-platform desktop applications

AI Skills
Get
D

Debugtron

Debug in-production Electron based app

Developer Tools
Launch
R

RPC Anywhere

Create a type-safe RPC anywhere

Utilities
Launch

electron-trpc FAQ

What is electron-trpc?

A library for type-safe IPC in Electron, built on tRPC.

Why not use a localhost server?

The docs say Electron IPC is faster and more secure than opening local servers for communication.

Which tRPC features work?

The project says all of them, including queries, mutations and subscriptions.

Do I write the client types myself?

No. The client types are inferred from the APIs exposed in the main process.

Where do I start?

The Getting Started page, then the example usage section and the example project in the repository.

What are the best electron-trpc alternatives?

Popular alternatives to electron-trpc include Electron Toolkit, TauRPC and Electron Redux. See all electron-trpc alternatives

Developer Stuff

Badges