3 ms·
As a fellow fan of It's All Text, I've looked into this a little bit, though I never got around to implementing anything. You're looking for the "Native Messagi
by thristian 9y ago
As a fellow fan of It's All Text, I've looked into this a little bit, though I never got around to implementing anything. You're looking for the "Native Messaging" feature: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_messaging https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Na...
I just checked the It's All Text github repo, and their suggested replacement is a thing called GhostText¹, which actually seems a good deal fancier that IAT ever was.
¹: https://github.com/GhostText/GhostText https://github.com/GhostText/GhostText
- slrz 9y agoLooking at GhostText and its editor integration scripts, those basically work by running a websocket server on localhost. Implementing access controls seems to be left as an exercise for the reader. If I understand the native messaging API correctly, nothing in there requires the presence of any networking daemon. The browser just execs a program you can communicate with using JSON messages on stdin/stdout. That is already a lot better than I thought.