[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-librejs] Cross-browser (and environment) LibreJS via client/se

From: Nik Nyby
Subject: Re: [Help-librejs] Cross-browser (and environment) LibreJS via client/server architecture
Date: Wed, 23 Sep 2015 10:16:00 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

On 09/23/2015 03:53 AM, Fabio Pesari wrote:
What do you think about implementing LibreJS as a server program and
then having the extensions simply communicate with it?

Essentially, the browser sends the URL to LibreJS and waits for LibreJS
to send a modified version of the page back, then renders that instead.

Configuration would not be that hard - just install it via your distro's
package manager and both the server and the browser extensions will be
installed. During the first run, the extensions can ask for a valid host
and port (which can be changed later), and other options (what to do
when the server does not respond, for example).

In terms of performance, I don't think this would be slower than a
browser addon if the server runs locally: the work load would be moved
to the back-end, which will be faster than the browser in any case.
JavaScript on the JVM would be a good fit for it, I think.

This fits with this ([1]) proposal and of course, making a LibreJS
command line program (which RMS asked) would be trivial.



That sounds like a nice idea. The first step could be isolating the
license logic into its own package, so we could have whatever LibreJS
front-end we wanted. I made one attempt here, but haven't given
it much attention since April:

So we could start there, or start fresh. If anyone is working on this, let
me know.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]