This is better: https://github.com/videlalvaro/gifsockets - it's event based so doesn't tie up lots of memory while running and doesn't stop after 30 frames.
> what about progress bars for stuff that your server is doing in the background
This seems like a really good micro-service.