Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hudclark/grpc-nvim
- Owner: hudclark
- License: mit
- Created: 2022-11-28T12:02:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T15:28:27.000Z (almost 2 years ago)
- Last Synced: 2024-04-16T00:55:01.236Z (7 months ago)
- Topics: fennel, grpc, neovim
- Language: Fennel
- Homepage:
- Size: 1.19 MB
- Stars: 27
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
}
```