So no installation instructions, the ones here don't work (it's not compiled), and it doesn't seem to work (tailing a log file that is receiving new content once per second `while true.... date > mylog; done` - /buffer.json always empty, /flush does nothing except echo "Flushed" and the web interface apparently does nothing...
Thank you very much for trying it out and, I agree, I have a lot more work to do. As always, the devil's in the details - and having those details pointed out is a great way to move forward!
11 comments
[ 2.8 ms ] story [ 37.6 ms ] threadln -s $GOPATH/src/github.com/minikomi/pipesock/default ~/.pipesock
> cat /usr/share/dict/words | ./pipesock 2013/06/01 22:35:59 Read Line Error: EOF 2013/06/01 22:35:59 Read Line Error: EOF 2013/06/01 22:35:59 Read Line Error: EOF 2013/06/01 22:35:59 Read Line Error: EOF
This happened when trying to do "y | ./pipesock", amongst other things, perhaps you should silently ignore stuff that isn't streaming in line-based.
FWIW the websocket library now installed, I get a single reading in the html frontend, the first message I broadcast.
Nice idea, needs a lot more work!