https://github.com/bavix/vakeel
An agent sending an event about its work
https://github.com/bavix/vakeel
Last synced: over 1 year ago
JSON representation
An agent sending an event about its work
- Host: GitHub
- URL: https://github.com/bavix/vakeel
- Owner: bavix
- License: mit
- Created: 2024-07-20T21:18:46.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-02T02:34:02.000Z (over 1 year ago)
- Last Synced: 2025-04-10T04:15:57.789Z (over 1 year ago)
- Language: Go
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vakeel
vakeel is a service that allows you to send updates from multiple clients to a single server.
## Description of the service
The vakeel service is built using [gRPC](https://grpc.io/) and [zerolog](https://github.com/rs/zerolog).
### Agent
The agent is a client that sends updates to the server.
### Server
The server is a gRPC server that receives updates from multiple clients and stores them in memory.
### Protocol
The protocol used by the service is defined in the [protobuf definition](https://github.com/bavix/vakeel-way/blob/master/api/vakeel_way/state.proto).
## Run the service
```
LOG_LEVEL=info go run main.go agent --id=224f8a59-6705-4f3e-b7de-177757932aad
```
## Upgrade
To update manually, you can use the following command:
```
wget -qO- https://github.com/bavix/vakeel/releases/download/v1.2.0/vakeel-v1.2.0-linux-amd64.tar.gz | tar xvz -C /tmp; mv /tmp/vakeel $(dirname `which vakeel`); chmod +x `which vakeel`
```
After restart the service.
Someday you'll need to make an automatic update)