No description
Find a file
2024-04-28 11:18:48 +02:00
.github/workflows added unit tests for sender and receiver 2024-04-28 09:55:19 +02:00
src feature(relay): added first basic tests for relay component 2024-04-28 11:18:48 +02:00
.gitignore base: add .env to gitignore 2024-04-19 12:52:04 +02:00
Cargo.lock shuttle: added tls support for clients and chaned standart route to shuttle server 2024-04-26 20:08:23 +02:00
Cargo.toml shuttle: added tls support for clients and chaned standart route to shuttle server 2024-04-26 20:08:23 +02:00
packets.proto project: first attempt of reimplemantation of caesar with websockets 2024-04-26 13:03:52 +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.