trpc-openapi VS wundergraph

Compare trpc-openapi vs wundergraph and see what are their differences.

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
trpc-openapi wundergraph
11 108
2,006 2,162
2.3% 0.5%
3.5 9.3
23 days ago 3 days ago
TypeScript TypeScript
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

trpc-openapi

Posts with mentions or reviews of trpc-openapi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-01.
  • Create Production-Ready SDKs for tRPC
    2 projects | dev.to | 1 Dec 2023
    tRPC does not natively export OpenAPI documents, but the trpc-openapi package adds this functionality. We'll start this tutorial by adding trpc-openapi to a project, and then we'll add a script to generate an OpenAPI schema and save it as a file.
  • Using OpenAPI to Detect Breaking Changes in tRPC
    7 projects | dev.to | 16 Oct 2023
    While trpc-openapi originally was used to expose REST endpoints of the tRPC router, we will use it to generate an OpenAPI specification for our API.
  • tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy
    30 projects | news.ycombinator.com | 12 Aug 2023
    Sure it can, you can use https://github.com/prosepilot/trpc-openapi
  • Will you, and when will you, use trpc in your code?
    5 projects | /r/node | 19 Jun 2023
    You either have to go with react native or use https://github.com/jlalmes/trpc-openapi to generate rest endpoint using trpc. lol. Not sure how good the trpc-openapi package is though. Read somewhere it was missing stuff
  • Is tRPC redundant with SvelteKit?
    3 projects | /r/sveltejs | 8 Jun 2023
    As for exposing the API externally, neither (can) limit this but SvelteKit's API is generally considered to be an internal implementation detail that you don't use directly since it might change between versions. If you want to expose an API you should choose tRPC, probably alongside the OpenAPI plugin or something similar.
  • [AskTS] What do you think will be the future of runtime type checking?
    10 projects | /r/typescript | 28 May 2023
    In essence, features of the language made for static type checking at compilation are possibly being left favour of tools that act like a superset of the language that provide the static build type checking and offer runtime type checking too. An example I recently saw was the trpc-openapi package which uses Zod for creating the types of the schema for the http request and responses, it takes a zod schema as that is what it can use when compiled to JavaScript to generate the types for the openapi file at runtime, there's scarcely a type or interface in sight when using it but you have full type safety.
  • Help me get out of stack hell
    4 projects | /r/nextjs | 15 Apr 2023
    Take a look at https://github.com/jlalmes/trpc-openapi which will give you a rest endpoint based on your trpc router. Ymmv in reality but basically this should give you some confidence that your trpc router can be called from another client (not just next).
  • Full-Stack TypeScript with tRPC and React
    1 project | /r/reactjs | 7 Mar 2023
    Ok thanks, I did find a good example here https://github.com/jlalmes/trpc-openapi/blob/master/examples/with-nextjs/src/server/router.ts
  • Why we ditched GraphQL for tRPC
    5 projects | dev.to | 14 Dec 2022
    There is an OpenAPI Extension for tRPC that can be used to create a more REST-like API from your procedures, and that in turn can be used for auto-generating documentation. But if my app needed to offer third-party API access, I would likely reach for GraphQL again.
    1 project | /r/reactjs | 14 Nov 2022
    tRPC is nice because you have type safety the whole way down. Someone has made a tRPC OpenaAPI for exposing tRPC procedures externally in the OpenAPI format https://github.com/jlalmes/trpc-openapi

wundergraph

Posts with mentions or reviews of wundergraph. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-03.
  • The Open-Source GraphQL Federation Solution
    1 project | news.ycombinator.com | 20 Feb 2024
  • GraphQL and the Beads on a String
    1 project | news.ycombinator.com | 20 Jan 2024
    I never really got graphql until I stumbled upon Wundergraph. (https://github.com/wundergraph/wundergraph). I have no affiliation with them except that I have been building an app with it. I'm honestly puzzled how it's not more popular. Maybe people are solving these problems in other ways? But I tried out a bunch of stuff: Vapor, Supabase, Hasura, etc. None of it simplifies building complex systems the way WG does.

    I think their takes on graphql make sense: https://wundergraph.com/blog/graphql_is_not_meant_to_be_expo...

  • GraphQL Federation Field-level Metrics 101
    2 projects | dev.to | 3 Jan 2024
    To demonstrate field usage metrics in Federation, I’ll be using WunderGraph Cosmo β€” a fully open source, fully self-hostable platform for Federation V1/V2 that is a drop in replacement for Apollo GraphOS.
  • You do need a technical co-founder
    1 project | news.ycombinator.com | 30 Nov 2023
    The inverse is also true. As a technical founder, and maybe even an introvert like me, you should definitely look for a non-technical co-founder who can help you with networking, etc... I found my dream co-founder through YC Co-founder match and what can I say, it's going great. We're focusing on enterprise GraphQL/API solutions (https://wundergraph.com) and I benefit from the networking and communication abilities of Stefan, while I answer all technical questions. Tldr, I highly recommend to team up with people who complement your skills.
  • The Open-Source Enterprise GraphQL Federation Solution
    1 project | /r/EnterpriseArchitect | 11 Nov 2023
  • The Road to GraphQL At Enterprise Scale
    6 projects | dev.to | 8 Nov 2023
    GraphQL Gateway is primarily responsible for serving GraphQL queries to consumers. It takes a query from a client, breaks it into smaller sub-queries, and executes that plan by proxying calls to the appropriate downstream subgraphs. When we started our journey, there was only Apollo Federation in the arena, and we used it. Still, now you can look at other options (e.g. Mercurius, Conductor, Hot Chocolate, Wundergraph, Hasura Remote Schemas), compare benchmarks and decide what's important and preferable for your needs. The Gateway provides a unified API for consumers while giving backend engineers flexibility and service isolation.
  • Show HN: Graphweaver – Instant GraphQL API on Postgres, MySQL, SQLite and More
    8 projects | news.ycombinator.com | 27 Aug 2023
  • tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy
    30 projects | news.ycombinator.com | 12 Aug 2023
    I'm a big fan of tRPC. It's amazing how it pushed TypeScript only stacks to the limit in terms of DX. Additionally, it made the GraphQL community aware of the limitations and tradeoffs of the Query language. At the same time, I think tRPC went through a really fast hype cycle and it doesn't look like we're seeing a massive move away from REST and GraphQL to RPC. That said, we see a lot of interest in RPC these days as we've adopted some ideas from tRPC and the old NextJS. In our BFF framework (https://wundergraph.com/) we've combined file based routing with RPC. In addition to tRPC, we're automatically generating a JSON Schema for each operation and an OpenAPI spec for the whole set of operations. People quite like this approach because you can easily share a set of RPC endpoints as an OpenAPI spec or postman collection. In addition, there are no discussions around HTTP verbs and such, there's only really queries, mutations and subscriptions. I'm curious what other people's experiences are with GraphQL, REST and RPC style APIs? What are you using these days and how many people/teams are involved/using your apis?
  • Preventing prompt injections with Honeypot functions
    1 project | dev.to | 1 Aug 2023
    You can check out the source code on GitHub and leave a star if you like it. Follow me on Twitter, or join the discussion on our Discord server.
  • Beyond Functions: Seamlessly build AI enhanced APIs with OpenAI
    1 project | dev.to | 14 Jul 2023
    If you like the work we're doing and want to support us, give us a star on GitHub.

What are some alternatives?

When comparing trpc-openapi and wundergraph you can also consider the following projects:

spot - Spot is a concise, developer-friendly way to describe your API contract.

graphql-go-tools - GraphQL Router / API Gateway framework written in Golang, focussing on correctness, extensibility, and high-performance. Supports Federation v1 & v2, Subscriptions & more.

create-t3-app - The best way to start a full-stack, typesafe Next.js app

Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.

typescript-runtime-type-benchmarks - πŸ“Š Benchmark Comparison of Packages with Runtime Validation and TypeScript Support

electric - Local-first sync layer for web and mobile apps. Build reactive, realtime, local-first apps directly on Postgres.

trpc-fe-boilerplate-next - βš’οΈ Minimal tRPC frontend Nextjs boilerplate for separate BE-FE repositories. Easily consume fully typesafe APIs.

Strapi - πŸš€ Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable and developer-first.

openapi-typescript - Generate TypeScript types from OpenAPI 3 specs

Multicorn - Data Access Library

ttype-safe - TypeScript runtime type validator generator that creates validation functions from TypeScript types with custom validation rules defined using JSDoc comments.

chatgpt-raycast - ChatGPT raycast extension