No description
Find a file
2024-04-19 12:52:04 +02:00
src relay: add different log levels and performe some code clean up 2024-04-19 12:31:07 +02:00
.gitignore base: add .env to gitignore 2024-04-19 12:52:04 +02:00
Cargo.lock relay: added basic implementation of the relay server in axum 2024-04-14 23:01:07 +02:00
Cargo.toml relay: added basic implementation of the relay server in axum 2024-04-14 23:01:07 +02:00
README.md docs: added README file 2024-04-19 12:50:43 +02:00

Caesar

This program provides a simple relay server that can be controlled via the command line.

Prerequisites

Rust toolchain installed

Installation

  1. Clone the repository:
git clone https://github.com/your-username/caesar.git
  1. Change to the project directory:
cd caesar
  1. Build the program:
cargo build --release

Usage

The program offers the following commands: serve Starts the relay server.

./target/release/caesar serve

You can optionally specify the listening address and port using flags:

./target/release/caesar serve -p 8080 -l 192.168.1.100

By default, the server listens on 0.0.0.0:1323.

send Sends data through the relay server.

./target/release/caesar send

receive Receives data through the relay server.

./target/release/caesar receive

Help

For more information about the commands and arguments, use:

./target/release/caesar --help

Development

To start a test system, please follow these steps: Start the relay server:

./target/release/caesar serve

Open a send window in another terminal:

./target/release/caesar send

Open a receive window in another terminal:

./target/release/caesar receive

Now you can test the functionality of the relay server.