Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hudclark/grpc-nvim

Grpc Client for Neovim
https://github.com/hudclark/grpc-nvim

fennel grpc neovim

Last synced: 3 months ago
JSON representation

Grpc Client for Neovim

Awesome Lists containing this project

README

        

# grpc-nvim

A GRPC client built using [grpcurl](https://github.com/fullstorydev/grpcurl).

![Example](./assets/example.gif)

---

## Install

### Dependencies
- [grpcurl](https://github.com/fullstorydev/grpcurl) on system path.
- [plenary.nvim](https://github.com/nvim-lua/plenary.nvim)

### Using packer.nvim

```lua
use {
"hudclark/grpc-nvim",
requires = { "nvim-lua/plenary.nvim" }
}
```

## Usage

Place your cursor over a valid GRPC request, then `:Grpc`. Results will be shown in a split.

Valid GRPC requests are blocks that start with the pattern `^grpc `. Some examples are as follows:
```proto
// Describe the server via reflection
grpc localhost:50051 list

// Send a request over plaintext.
grpc --plaintext localhost:50051 helloworld.Greeter/SayHello
{
"name": "Hudclark"
}
```