grpc-ecosystem/polyglot is tracked by TopGit as a developer tool, with 534 stars on GitHub, written primarily in Java. A universal grpc command line client
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
By default, Polyglot always tries to use reflection before compiling local protos. Reflection can be turned off explicitly by setting the flag --use_reflection=false.
Configuration (optional)
Some of the features of Polyglot (such as Oauth, see below) require some configuration. Moreover, that sort of configuration tends to remain identical across multiple Polyglot runs. In order to improve usability, Polyglot supports loading a configuration set from a file at runtime. This configuration set can contain multiple named Configuration objects (schema defined here). An example configuration could look like this:
By default, Polyglot tries to find a config file at $HOME/.polyglot/config.pb.json, but this can be overridden with the --config_set_path flag. By default, Polyglot uses the first configuration in the set, but this can be overridden with the --config_name flag.
The general philosophy is for the configuration to drive Polyglot's behavior and for command line flags to allow selectively overriding parts of the configuration. For a full list of what can be configured, please see config.proto.
Using TLS
Polyglot uses statically linked boringssl libraries under the hood and doesn't require the host machine to have any specific libraries. Whether or not the client uses TLS to talk to the server can be controlled using the --use_tls flag or the corresponding configuration entry.
Polyglot can also do client certificate authentication with the --tls_client_cert_path and --tls_client_key_path flags. If the hostname on the server does not match the endpoint (e.g. connecting
to localhost, but the server thinks it's foo.example.com), --tls_client_override_authority=foo.example.com can be used.
Authenticating requests using OAuth
Polyglot has built-in support for authentication of requests using OAuth tokens in two ways:
Loading an access token from disk and attaching it to the request.
Loading a refresh token from disk, exchanging it for an access token, and attaching the access token to the request.
In order to use this feature, Polyglot needs an OauthConfiguration inside its Configuration. For details on how to populate the OauthConfiguration, please see the documentation of the fields in config.proto.
Listing services
Polyglot supports printing a list of all the discovered services using the list_services command. This command can be invoked as follows:
The printed services can be filtered using --service_filter=<service_name> or --method_filter=<method_name>, and the --with_message flag can be used to also print the exact format of the requests.
Custom metadata
It is possible to add custom grpc metadata to calls made using Polyglot by setting the --metadata=key1:value1,key2:value2 flag.
Configuring logs
Polyglot uses the slf4j logging framework with the org.slf4j.impl.SimpleLogger implementation. It also redirects grpc's JUL logs to slf4j. To change the default log level, specify the org.slf4j.simpleLogger.defaultLogLevel JVM argument, e.g., by passing the argument -Dorg.slf4j.simpleLogger.defaultLogLevel=debug.
Build requirements
In order to build Polyglot from source, you will need:
Example invocations can be found in the examples directory. In order to run a simple rpc call, invoke run-server.sh followed by (in a different terminal) call-command-example.sh.
Does grpc-ecosystem/polyglot have a project website?
No homepage URL was recorded for grpc-ecosystem/polyglot in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Is grpc-ecosystem/polyglot open source?
Yes — grpc-ecosystem/polyglot ships under the BSD-3-Clause license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/grpc-ecosystem/polyglot.
What else is in the Developer Tools space?
grpc-ecosystem/polyglot is tracked by TopGit under the Developer Tools category, alongside 6 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What is grpc-ecosystem/polyglot?
grpc-ecosystem/polyglot (grpc-ecosystem/polyglot) is a Java project on GitHub. From the project's own README: A universal grpc command line client
What license does grpc-ecosystem/polyglot use?
grpc-ecosystem/polyglot is released under the BSD-3-Clause license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
Where do I read more about grpc-ecosystem/polyglot?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/grpc-ecosystem/polyglot is the definitive source.
Why is grpc-ecosystem/polyglot categorized under Developer Tools?
TopGit places grpc-ecosystem/polyglot in the Developer Tools category based on its GitHub topics and description (tagged: "client", "command-line", "grpc"). Categories are assigned from real repository metadata, not editorial guesswork.
Read full README in the tab above.
Curious whether polyglot is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about polyglot.