selium-remote-cli

Crates.ioselium-remote-cli
lib.rsselium-remote-cli
version0.2.1
created_at2026-01-12 23:59:13.457838+00
updated_at2026-01-21 07:17:00.201182+00
descriptionSelium module for supporting remote clients
homepagehttps://selium.com
repositoryhttps://github.com/seliumlabs/selium-modules
max_upload_size
id2039070
size60,697
Pete Hayes (itpetey)

documentation

README

Remote Client module

Provides users with a client library and CLI for orchestrating Selium applications and servers from afar.

Crate structure

This service has 4 crates:

  • selium-remote-client-cli (cli/) - CLI binary for executing commands via the selium-remote-client lib
  • selium-remote-client (client/) - client library that guests consume
  • selium-remote-client-protocol (protocol/) - wire protocol
  • selium-remote-client-server (server/) - WASM module run by the host

Usage

Compile the selium-remote-client-server component to WebAssembly and install in the Runtime's work directory:

cargo build --release --target wasm32-unknown-unknown -p selium-remote-client-server
cp target/wasm32-unknown-unknown/release/selium_remote_client_server.wasm /path/to/selium-runtime/work/modules/

The selium-remote-client-server component should be added to the Selium Runtime's initialisation args:

selium-runtime \
  --work-dir /path/to/selium-runtime/work \
  --module "path=selium_remote_client_server.wasm;capabilities=ChannelLifecycle,ChannelReader,ChannelWriter,ProcessLifecycle,NetQuicBind,NetQuicAccept,NetQuicRead,NetQuicWrite;args=utf8:localhost,u16:7000"
Commit count: 29

cargo fmt