This product was not featured by Product Hunt yet. It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).
Product upvotes vs the next 3
Waiting for data. Loading
Product comments vs the next 3
Waiting for data. Loading
Product upvote speed vs the next 3
Waiting for data. Loading
Product upvotes and comments
Waiting for data. Loading
Product vs the next 3
Loading
rpc-dart
Type-safe tRPC v11 client for Flutter apps
Bring tRPC’s end-to-end type safety to Flutter and Dart without OpenAPI or build_runner. rpc-dart uses TypeScript’s compiler API to generate zero-cast Dart models and clients with SuperJSON, HTTP batching, and an agnostic reactive cache runtime.
Not long ago I was building a monorepo with a Node.js + Fastify backend using tRPC. The backend DX was awesome — until I had to build the mobile app. With a few years of Flutter and zero React Native experience, I chose Flutter and quickly realized there was no proper tRPC integration for Dart. I ended up hand-writing DTOs and HTTP wrappers again, losing the tight end-to-end type safety that makes tRPC great in the first place.
So I built rpc-dart (and trpc_flutter).
Instead of routing through OpenAPI or relying on Dart's `build_runner`, `rpc-dart` uses the TypeScript Compiler API (`ts.TypeChecker`) directly against your tRPC v11 router and generates standalone, zero-cast Dart 3 models and clients (`npx rpc-dart generate`).
What's included in v0.1:
- Zero `build_runner` or `freezed`: Outputs pure, immutable Dart 3 classes, sealed unions, and nested router clients with pattern-matched `RpcJson` decoders (zero raw `as` casts).
- True wire semantics: Preserves `z.input` vs. `z.output` transforms, supports SuperJSON (`DateTime`, `BigInt`, `Set`, `Map`, `Uri`), and uses 3-state `RpcOpt<T>` so `PATCH` mutations distinguish omitted keys from `null`.
- Composable link pipeline & cache runtime: Includes microtask `HttpBatchLink`, single-flight `AuthLink` refresh, `RetryLink`, and a lightweight `RpcQueryCache` + `ValueListenable` bridge that drops into `setState`, Riverpod, BLoC, or Provider.
Queries, mutations, and HTTP batching work out of the box today, with subscriptions and oRPC support on the roadmap.
It's 100% open source on GitHub with full docs and a runnable Fastify + Flutter example. Would love your feedback, stars, or contributions!
About rpc-dart on Product Hunt
“Type-safe tRPC v11 client for Flutter apps”
rpc-dart was submitted on Product Hunt and earned 2 upvotes and 1 comments, placing #156 on the daily leaderboard. Bring tRPC’s end-to-end type safety to Flutter and Dart without OpenAPI or build_runner. rpc-dart uses TypeScript’s compiler API to generate zero-cast Dart models and clients with SuperJSON, HTTP batching, and an agnostic reactive cache runtime.
On the analytics side, rpc-dart competes within API, Open Source, Developer Tools, GitHub and Google Cloud Run — topics that collectively have 733.3k followers on Product Hunt. The dashboard above tracks how rpc-dart performed against the three products that launched closest to it on the same day.
Who hunted rpc-dart?
rpc-dart was hunted by Aditya. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.
For a complete overview of rpc-dart including community comment highlights and product details, visit the product overview.
Hey Product Hunt! 👋
Not long ago I was building a monorepo with a Node.js + Fastify backend using tRPC. The backend DX was awesome — until I had to build the mobile app. With a few years of Flutter and zero React Native experience, I chose Flutter and quickly realized there was no proper tRPC integration for Dart. I ended up hand-writing DTOs and HTTP wrappers again, losing the tight end-to-end type safety that makes tRPC great in the first place.
So I built rpc-dart (and trpc_flutter).
Instead of routing through OpenAPI or relying on Dart's `build_runner`, `rpc-dart` uses the TypeScript Compiler API (`ts.TypeChecker`) directly against your tRPC v11 router and generates standalone, zero-cast Dart 3 models and clients (`npx rpc-dart generate`).
What's included in v0.1:
- Zero `build_runner` or `freezed`: Outputs pure, immutable Dart 3 classes, sealed unions, and nested router clients with pattern-matched `RpcJson` decoders (zero raw `as` casts).
- True wire semantics: Preserves `z.input` vs. `z.output` transforms, supports SuperJSON (`DateTime`, `BigInt`, `Set`, `Map`, `Uri`), and uses 3-state `RpcOpt<T>` so `PATCH` mutations distinguish omitted keys from `null`.
- Composable link pipeline & cache runtime: Includes microtask `HttpBatchLink`, single-flight `AuthLink` refresh, `RetryLink`, and a lightweight `RpcQueryCache` + `ValueListenable` bridge that drops into `setState`, Riverpod, BLoC, or Provider.
Queries, mutations, and HTTP batching work out of the box today, with subscriptions and oRPC support on the roadmap.
It's 100% open source on GitHub with full docs and a runnable Fastify + Flutter example. Would love your feedback, stars, or contributions!