Install the latest client from PyPI (requires Python 3.10+):
python3 -m pip install -U rpcclientThis provides two console entry points:
rpcclient [HOSTNAME]— connect to a remoterpcserverrpclocal— control the local machine, no remote server required
Download and run the latest server artifact for your platform/arch from the latest server-publish GitHub Action, or build it yourself (below).
!!! note Cross-platform builds are not currently supported — build on the target OS.
=== "macOS / iOS"
Requires Xcode.
```bash
brew install protobuf protobuf-c
python3 -m pip install mypy-protobuf protobuf grpcio-tools
git clone git@github.com:doronz88/rpc-project.git
cd rpc-project
make -C src/protos/ all
cd src/rpcserver
mkdir build && cd build
cmake .. -DTARGET=OSX && make # macOS
cmake .. -DTARGET=IOS && make # iOS
```
=== "Linux"
```bash
sudo apt-get install -y protobuf-compiler libprotobuf-dev libprotoc-dev protobuf-c-compiler
python3 -m pip install mypy-protobuf protobuf grpcio-tools
git clone git@github.com:doronz88/rpc-project.git --recurse-submodules
cd rpc-project
make -C src/protos/ all
cd src/rpcserver
mkdir build && cd build
cmake .. -DTARGET=LINUX && make
```