Access remote actors, publish services, subscribe to messages and state updates etc., via the Syndicate network protocol from bash (and perhaps other shells).
Go to file
Tony Garnock-Jones 3b740a5d6f README.md 2021-08-19 19:28:28 -04:00
README.md README.md 2021-08-19 19:28:28 -04:00
syndicate.sh set -euo pipefail 2021-08-19 19:28:17 -04:00

README.md

syndicate-sh

This is an implementation of the Syndicate network protocol (based on Preserves) for Bash.

Q. Is this a joke, or is this serious?
A. Yes.

Dependencies

First, it depends on Bash-specific shell features.

Second, you'll need the preserves-tool program, which syndicate.sh uses to slice and dice network packets. It's written in Rust, so you can get it with:

cargo install preserves-tools

Third, you'll need a Syndicate network server ("broker"). The best option at present is the Rust-language server:

cargo install syndicate-server

Running the demo

Start the server in one terminal, in the same directory as the syndicate.sh file:

syndicate-server -s ./sock

Then, in one or more other terminals, run syndicate.sh:

./syndicate.sh