A Backstage frontend plugin that provides a gRPC playground interface, ported from BloomRPC. Current stable version is 0.3.0 (beta). It allows sending gRPC requests (unary, client streaming, server streaming) directly from Backstage entity pages or a dedicated route. Proto files are loaded from a backend plugin (backstage-grpc-playground-backend). Unlike BloomRPC, this plugin is web-based, integrates with Backstage's API documentation system, and generates markdown documentation via protoc-gen-doc. Does not support server reflection or gRPC-web. Requires Backstage ^1.5.0 and React 16/17.
npm install backstage-grpc-playgroundNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to add the gRPC playground as an API doc widget for grpc entities and as a standalone route.
Follow installation instructions at https://github.com/zalopay-oss/backstage-grpc-playground-backend
Place .proto files in the backend's proto directory (default packages/backend/proto).
Use only unary, client streaming, or server streaming RPCs.
Use Node.js 14 or 16, or check for compatibility updates.
Use React 16.13.1 or 17.0.0. For React 18, wait for an update.
Run 'yarn --cwd packages/app add backstage-grpc-playground' from backstage root.
Ensure .proto files are in packages/backend/proto (or configured protoDir) and that the yaml file references them correctly.
Add <Route path="/grpc-playground" element={<GrpcPlaygroundPage />} /> in App.tsx and ensure the API entity spec.type is 'grpc'.Only use unary, client streaming, or server streaming RPCs.