gowebtail
gowebtail copied to clipboard
A websocket based tail that can monitor file change and send it into your browser. Based on fsnotify and websocket-example
This demo is based on fsnotify and Implementing Chat with WebSockets and Go. It's the web version of my gotail. The home.html.go is packed by go-bindata. I really enjoy log.io but it's a little bit heavy for me. So I write my own version with golang. Hope you like it.
Usage:
$gowebtail -addr=":8081" test.log
Then you can read it in your browser through http://localhost:8081