Super cool! I recently released a template (apparently) based on the same principles to develop webview based sketchplugins: https://github.com/jacopocolo/sketchplugin-webview-template
Are you going to release this as a github repo when you are done? Can't wait for part II!
Nice! I won't release this as a Github repo but you can download the result as a zip in part II.