channels: add socat daemon for generic stream channels
consciousness-channel-socat listens on a unix socket for incoming connections, turning each into a bidirectional text channel. Also supports outbound connections via the open RPC (tcp: or unix:). Two sockets: socat.sock — capnp RPC (channel protocol) socat.stream.sock — data (incoming connections become channels) No config file needed. The simplest possible channel daemon. Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
2a84fb325d
commit
7123c9166d
4 changed files with 355 additions and 1 deletions
17
Cargo.lock
generated
17
Cargo.lock
generated
|
|
@ -605,6 +605,23 @@ dependencies = [
|
|||
"webpki-roots",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "consciousness-channel-socat"
|
||||
version = "0.4.0"
|
||||
dependencies = [
|
||||
"capnp",
|
||||
"capnp-rpc",
|
||||
"dirs",
|
||||
"futures",
|
||||
"json5",
|
||||
"poc-memory",
|
||||
"serde",
|
||||
"tokio",
|
||||
"tokio-util",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "consciousness-channel-telegram"
|
||||
version = "0.4.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue