languagetool icon indicating copy to clipboard operation
languagetool copied to clipboard

LanguageTool embedded HTTP Server why no socket file support for local instances.

Open oiaohm opened this issue 2 years ago • 0 comments

https://stackoverflow.com/questions/21650370/setting-up-an-http-server-that-listens-over-a-file-socket Yes it possible to do HTTP over a file socket. Particularly thinking the local instance comes out box without encryption. Being a file socket this cannot by mistake be connected to the internet. Also socket files allow per user instances.

I am a Linux user I run more than 1 copy of libreoffice at a time being able to have languagetool installed once locally and shared would be good. I also notice that I have a limit of so many request per min and so many per day. This also starts me thinking I want a proxy to know what of my applications is consuming my usage if I am using the online service.

From Linux I would be thinking dbus interface proxy where applications can use local connections and if internet is down or user want to use local instances have it spin up local instance of languagetool on demand. This would enable stats on what is using what and client side connection pooling and limiting. Client side can know if they have done their 20 free request per min or the 80 paid for request per min or the text limit and control this. But ideal there is a client side proxy.

oiaohm avatar Jul 31 '22 23:07 oiaohm