No description
Find a file
2024-05-01 22:51:23 +02:00
.github/workflows Update publish.yml - to only build on tag push 2024-04-28 13:20:49 +02:00
src feature(sender): change the behavour to only show the transfer name if relay and local room0ids are send to realy server 2024-05-01 22:51:23 +02:00
.gitignore base: add .env to gitignore 2024-04-19 12:52:04 +02:00
Cargo.lock feature(sender): adapted relay and sender component to work with a simple transfer name 2024-04-30 23:31:47 +02:00
Cargo.toml feature(sender): adapted relay and sender component to work with a simple transfer name 2024-04-30 23:31:47 +02:00
packets.proto project: first attempt of reimplemantation of caesar with websockets 2024-04-26 13:03:52 +02:00
pull_request_template.md Create pull_request_template.md 2024-04-28 13:19:51 +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.