jlebon / textern

A Firefox add-on for editing text in your favourite external editor!
GNU General Public License v3.0
140 stars 21 forks source link

FYI: I wrote a native helper in Rust #67

Open Screwtapello opened 4 years ago

Screwtapello commented 4 years ago

As I hinted in a recent PR, I've written a native-messaging helper in Rust that's (I believe) compatible with the official Python one. The code (and instructions, and a pre-built static binary) are here:

https://gitlab.com/Screwtapello/textern-helper/

Compared to the existing Python implementation:

I won't claim this code is bullet-proof or beautiful; as soon as it worked for me I decided to publish it. There's certainly things I'd like to change if I need to dive into the code again for whatever reason, but absent any external influence I expect to leave it alone for now.

I'm happy to answer any questions you may have, or take suggestions if you'd like to try out my code, but otherwise feel free to close this issue, and thanks for writing Textern!