freja

Crates.iofreja
lib.rsfreja
version0.0.1
created_at2025-06-30 09:24:18.472438+00
updated_at2025-06-30 09:24:18.472438+00
descriptionCommand-line toolbox integrating multiple utilities; includes a WebSocket tester
homepage
repositoryhttps://github.com/karanabe/freja.git
max_upload_size
id1731591
size12,975
karanabe (karanabe)

documentation

README


Freja

A command-line toolbox integrating multiple utilities, starting with a WebSocket tester.



Freja aims to bundle several small command-line tools into a single binary. Currently it provides a WebSocket client and a simple echo server so you can quickly debug or demonstrate WebSocket interactions from the terminal.

Goals

  • Combine several lightweight utilities under one CLI
  • Offer an easy-to-use WebSocket client and server
  • Serve as a minimal example of tokio + tokio-tungstenite

Feature

  • Initial command provides a WebSocket client
  • Server mode running a local echo service

TODO

  • TLS support
  • Configurable logging

Getting Started

# Build and run as a client
cargo run -- websocket example.com --port 4444

# Listen as an echo server
cargo run -- websocket -l 0.0.0.0 --port 4444

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Commit count: 0

cargo fmt