2 unstable releases

✓ Uses Rust 2018 edition

0.4.0 May 4, 2020
0.3.0 Feb 18, 2017

#12 in WebSocket

MIT/Apache and maybe MPL-2.0

21KB
237 lines

Manx

manx is a wscat clone. It's a simple interface to websocket servers.

One of its features is that it saves the prompt, so that you can type commands even if you are receiving a flood of data.

For those learning Rust and async, manx shows how async websockets can interface with sync stdin and stdout loops.

Windows should be supported (although currently untested, please sent in bug reports!)

Thanks especially to smol, async-tungstenite, tungstenite, and linefeed, which provided the building blocks for this app.

Install

Make sure you have Rust, then

$ cargo install manx

Usage

manx 0.4.0
Walther Chen <walther.chen@gmail.com>
Talk to websockets from cli

USAGE:
    manx [FLAGS] [OPTIONS] <URL>

FLAGS:
    -h, --help              Prints help information
        --show-ping-pong    Print when ping or pong received.
    -V, --version           Prints version information

OPTIONS:
        --cert <cert_path>    Specify a client SSL Certificate

ARGS:
    <URL>

License

Licensed under either of

at your option.

Contribution

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.

Dependencies

~8MB
~164K SLoC