| Crates.io | relayx |
| lib.rs | relayx |
| version | 0.1.0 |
| created_at | 2025-07-06 15:24:42.667021+00 |
| updated_at | 2025-07-06 15:24:42.667021+00 |
| description | A TCP client with shell-like interface. |
| homepage | https://github.com/kostya-zero/relayx |
| repository | https://github.com/kostya-zero/relayx |
| max_upload_size | |
| id | 1740194 |
| size | 27,926 |
Relayx is a TCP client with a shell-like interface, inspired by Microsoft's Telnet client. It allows you to open a TCP connection to a server, send messages, and view responses.
cargo install relayx
Download the latest release from the GitHub releases page that matches your platform.
Relayx uses a simple command-based interface. Here are the available commands:
| Command | Description |
|---|---|
open <address> |
Opens a new TCP connection to the specified address (e.g., 127.0.0.1:8080). |
send <message> |
Sends a message over the active connection. |
close |
Closes the current TCP connection. |
set <option> <value> |
Sets a configuration option. |
list |
Lists the current configuration options and their values. |
clear |
Clears the console screen. |
help or ? |
Displays the help message with all available commands. |
exit |
Closes any active connection and exits Relayx. |
Relayx has a few configuration options that can be modified using the set command.
| Option | Description |
|---|---|
wait_for_response |
Whether to wait for a response from the server after sending a message. |
read_timeout |
The time in milliseconds to wait for a response from the server. |
connection_timeout |
The time in milliseconds to wait for a connection to be established. |
To build Relayx from the source code, you will need to have the Rust toolchain installed.
git clone https://github.com/kostya-zero/relayx.git
cd relayx
cargo build --release
./target/release/relayx
Relayx is licensed under the MIT License. See the LICENSE file for more details.