For anyone interested I just open sourced a project for compiling arduino code from a Chrome plugin.
It connects to a server (that you have to setup) which compiles the code and sends it back to the user.
It can also interface with the serial port
the plugin is here:
and the server code is here:
note the plugin is written in javascript, html and css, and the server uses docker and go.