Skip to content
T

TauRPC

Typesafe IPC layer for Tauri applications

by MatsDKFree

#4503in Utilities
0In stores

Description

TauRPC is a Tauri extension that provides a fully typed IPC layer between a Rust backend and a TypeScript frontend. You declare your backend…

Highlights

  • Typed commands and events between Rust and TypeScript
  • TypeScript bindings generated at runtime in debug builds
  • Trait-based procedure API
  • Specta-based type generation
  • Complete Svelte example

Ratings & Reviews

No ratings yet

Be the first to rate TauRPC.

People also visit

T

Tauri Specta

Completely typesafe Tauri commands

Utilities
Launch
E

electron-trpc

Build type-safe Electron inter-process communication using tRPC

Utilities
Launch
T

tauri-v2

Tauri v2+ cross-platform app development with Rust backend

AI Skills
Get
T

tauri-development

Tauri development guidelines

AI Skills
Get
R

RPC Anywhere

Create a type-safe RPC anywhere

Utilities
Launch
T

Tauri

Create small, fast, secure

Design
Launch

TauRPC FAQ

What is TauRPC?

A Tauri extension that gives you typed communication between the Rust backend and the TypeScript frontend for commands and events.

How are the TypeScript types made?

The bindings are generated when the app runs, using the Exporter builder, usually only in debug builds. Type generation uses Specta under the hood.

How do I use my structs?

Mark inputs and outputs with the ipc_type attribute so their TypeScript types are generated and serialized correctly.

Is there an example?

Yes. The README links to a complete example that uses Svelte.

What are the best TauRPC alternatives?

Popular alternatives to TauRPC include Tauri Specta, electron-trpc and RPC Anywhere. See all TauRPC alternatives

Developer Stuff

Badges