Thank you for sharing this, and for providing a way to use other editors--I can't wait to try it with an Emacs client! (I had something similar in the past with just Firefox; I love the idea of being able to access it from anywhere!)

Alternatively you might want to try Emacs everywhere[1].

[1]: https://github.com/tecosaur/emacs-everywhere