Mini Bus is a drastically simplified version of D-BUS, specifically for plain text communication between terminal UIs / shell scripts and terminal multiplexers.
Minibus daemon monitors /tmp/minibus for newly created UNIX Domain sockets (SOCK_STREAM) and connects to them based on their location:
/tmp/minibus/<channel>/in/*
minibusd connects to any IN sockets and listens for data
/tmp/minibus/<channel>/out/*
minibusd connects to any OUT sockets and sequentially publishes data recieved from any IN socket for this channel.
The minibus protocol is ridiculously simple, each message is \n\n terminated,
further protocol layers are at the discretion of both sender and reciever.
So it's a pub-sub mechanism?
How will you handle text encoding? Traditionally each terminal has its own active text-encoding. It might be enough to say all protocols must use UTF-8, or it's up to the protocol as long as '\n' is encoded as a single byte 0x0A in the protocol's encoding.
Edit: this is so mini-bus can recognise the message boundaries, regardless of the text-encoding being sent across the bus.