grpc-web-devtools

Chrome Browser extension to aid gRPC-Web development

Github stars Tracking Chart

gRPC-Web Dev Tools

PRs Welcome

gRPC-Web Dev Tools

Installation

Chrome

Via the Chrome Web Store (recommended)

or

  1. build it with make build
  2. open the Extension Management page by navigating to chrome://extensions.
  3. enable Developer Mode by clicking the toggle switch next to "Developer mode".
  4. Click the LOAD UNPACKED button and select the extension ./build directory.

Usage

const enableDevTools = window.__GRPCWEB_DEVTOOLS__, (() => {});
const client = new EchoServiceClient('http://myapi.com');
enableDevTools([
  client,
]);

NOTE: Requires that your generated client(s) use protoc-gen-grpc-web >= 1.0.4

Example

The example uses docker-compose to start a simple gRPC server, JavaScript client and the Envoy proxy for gRPC-Web:

make example-up

Example will be running on http://localhost:8080

To stop the example:

make example-down

Main metrics

Overview
Name With OwnerSafetyCulture/grpc-web-devtools
Primary LanguageJavaScript
Program languageHTML (Language Count: 6)
Platform
License:MIT License
所有者活动
Created At2019-04-10 06:50:25
Pushed At2024-07-24 03:00:08
Last Commit At2024-07-24 13:00:05
Release Count7
Last Release Namev1.4.0 (Posted on )
First Release Namev1.0.0 (Posted on )
用户参与
Stargazers Count423
Watchers Count5
Fork Count59
Commits Count92
Has Issues Enabled
Issues Count51
Issue Open Count25
Pull Requests Count38
Pull Requests Open Count33
Pull Requests Close Count60
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private