You can use post-command hook and keep sending updates to a web-app through web-sockets. I’m unaware of any packages that let you do that though.