#nushell #streaming #nushell-plugin #output #endpoint #ws

app nu_plugin_ws

A Nushell plugin for easily streaming output from websocket endpoints

4 releases

new 0.2.2 Dec 7, 2024
0.2.1 Dec 7, 2024
0.1.2 Dec 6, 2024

#42 in WebSocket

Download history 374/week @ 2024-12-02

374 downloads per month

MIT and maybe CC-PDDC

23KB
280 lines

nu_plugin_ws

Crates.io Version Nushell

A plugin for Nushell, a cross-platform shell and scripting language. This plugin adds support for streaming from a websocket.

Installation

Cargo

Get the latest version from crates.io with a local install:

# Downloads and installs the plugin
cargo install nu_plugin_ws
# Registers the plugin with Nushell
plugin add ~/.cargo/bin/nu_plugin_ws
# Activates the plugin
plugin use ws

Manual build

Manual builds can also be used:

# Clone the repository
git clone https://github.com/alex-kattathra-johnson/nu_plugin_ws.git
# Enter the repo folder
cd nu_plugin_ws
# Build a release version of the plugin
cargo build -r
# Registers the plugin with Nushell
plugin add target/release/nu_plugin_ws
# Activates the plugin
plugin use ws

Dependencies

~26–57MB
~1M SLoC