Closed topheman closed 4 months ago
Currently, we can do:
# mirror terminal cat /dev/null > /tmp/snakepipe.sock && tail -f /tmp/snakepipe.sock|snakepipe render
# master terminal snakepipe gamestate|tee /tmp/snakepipe.sock|snakepipe render
Those aren't real unix sockets, it's just a simple file tailed. Lets make an implementation with unix sockets.
tail
snakepipe gamestate|snakepipe socket-play|snakepipe render
snakepipe socket-watch|snakepipe render
Allow overriding the address of the socket (have a default one)
Currently, we can do:
Those aren't real unix sockets, it's just a simple file
tail
ed. Lets make an implementation with unix sockets.Proposition:
snakepipe gamestate|snakepipe socket-play|snakepipe render
snakepipe socket-watch|snakepipe render
Allow overriding the address of the socket (have a default one)
Questions / Constraints