AROS World Exec

General => General Chat => Topic started by: Amiwell on August 08, 2022, 12:21:08 PM

Title: browservice, enables browsing the modern web on historical browsers
Post by: Amiwell on August 08, 2022, 12:21:08 PM
hi all aros users

A friend of mine made me know this project, I still didn't try it could be useful with Odyssey 8)

https://rb.gy/sl7xw7
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: miker1264 on August 08, 2022, 02:58:05 PM
hi all aros users

A friend of mine made me know this project, I still didn't try it could be useful with Odyssey 8)

https://rb.gy/sl7xw7

It says that Browservice runs Chromium.

How could that work for AROS?

Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: Amiwell on August 08, 2022, 03:19:41 PM
I think so but I have not tried
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: magorium on August 08, 2022, 06:03:20 PM
It says that Browservice runs Chromium.

How could that work for AROS?
Because the browserservice itself is not running on AROS but on a Linux or Windows machine.

The AROS browser uses the proxy that runs on such a machine and the proxy itself directs the requests to the chromium (CEF) instance (that runs in the background on the same machine as the proxy).

CEF renders it's own instance to an image, which is transferred to to the AROS webbrowser. That is what you get to see in the AROS webbrowser. I presume that is why the javascript is needed, in order to transfer the input from the AROS browser back to CEF, so that you can enter url's, click links, fill in edit-fields etc.

That input allows you to "control" the CEF instance "remotely".

In theory that should work perfectly although I guess not so for heavy animated websites (video's), but afaik that is not the aim of the project (even though it does state it works with those as well as long as your connection is fast enough).

If you would have to make a comparison then you could probably compare it with VNC, but with some serious twists.
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: Amiwell on August 09, 2022, 04:59:43 AM
I saw a video of OS 4 and Odyssey and works :)
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: Amiwell on August 09, 2022, 05:30:10 AM
Now I try to install the service on an Acer Aspire One even if I currently have no problems with Odyssey I don't go to sites where I can't enter :)
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: Amiwell on August 09, 2022, 09:16:18 AM
I can't configure everything I'm not very practical, I'm using a dell SFF with Windows 10 as host :-\
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: magorium on August 09, 2022, 11:35:29 AM
I can't configure everything I'm not very practical, I'm using a dell SFF with Windows 10 as host :-\
What is it exactly that you can't configure ?

I have not experimented with this browserservice yet but I can try and give you some idea's/pointers in case you want to.

You mentioned that you use windows 10 as a host. Can you run the webservice successful on that machine ? You can test that with opening a browser on the same windows machine and try connecting to the proxy using by using the correct ip-address (local ip) and port number.
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: Amiwell on August 09, 2022, 01:02:14 PM
ok magorium, just download the package and perform cmd "browservice.exe --vice-opt-http-listen-addr=your_local_ip:8080" ok the services run, after Odyssey you have to insert on url http://your_local_windows_ip:8080 and voilą

(https://i.ibb.co/1nWbK66/2.jpg)

(https://i.ibb.co/cwZ7y4H/3.jpg)
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: miker1264 on August 09, 2022, 01:10:42 PM
salvo

Your browser troubles are over. No more worries.  :D

But is it faster & better than normal browsing?
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: Amiwell on August 09, 2022, 02:09:55 PM
yes miker run fine and It depends on the computer where the service is installed, I have a core duo 2 and the result is also acceptable on YouTube, only you have to configure the scrollbar if not there are problems

(https://i.ibb.co/StSCkqk/9.jpg)

yeahhhhhhhhhhhhhh ;D
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: G-linx on August 09, 2022, 02:50:26 PM
Does this suggest that aros hosted could use the same host for browserservice? Perhaps irrelevant but curious
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: AMIGASYSTEM on August 09, 2022, 03:05:20 PM
Does this suggest that aros hosted could use the same host for browserservice? Perhaps irrelevant but curious

Yes, if the network will work on AROS Hosted ! in practice and how to use a proxy
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: miker1264 on August 09, 2022, 06:43:11 PM
Does this suggest that aros hosted could use the same host for browserservice? Perhaps irrelevant but curious

Good question. I'm curious about the answer.

But if you are running AROS hosted you have access to the browsers on the host system already.

Maybe even Host Bridge could launch them from AROS.
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: AMIGASYSTEM on August 10, 2022, 03:13:03 AM
miker this also applies to the native, if I have turned on the PC I surf directly with the PC which is faster, and then if I use only one computer, I save Electricity Energy "today very costly"
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: Amiwell on August 10, 2022, 05:23:12 AM
For me it is an emergency solution, but some users complained because they could not access some sites
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: Amiwell on August 10, 2022, 05:35:18 AM
Does this suggest that aros hosted could use the same host for browserservice? Perhaps irrelevant but curious

Good question. I'm curious about the answer.

But if you are running AROS hosted you have access to the browsers on the host system already.

Maybe even Host Bridge could launch them from AROS.

In Full Screen Mode you cannot use Linux applications you would need a dedicated X server, you can only have Icaros in the window but there is a problem with the De di Linux decorations if you can remove then you will have the illusion of having Icaros in full screen
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: magorium on August 10, 2022, 08:27:14 AM

@salvo:
Congratulations on your progress.. It should be able to solve most (if not all) browser related issues.

Do note the remarks on github about the insecurity though.... you have to be careful from where the proxy can be reached (that can be from the outside world wide /mean/ internet).

Also note the remarks on cookies and password saving etc. (cleanup on exit by default but you are allowed to change it). Note that according to the documentation each individual client uses the same browserservice (and its settings). I would consider that a (security) flaw.



@Glinx:
Does this suggest that aros hosted could use the same host for browserservice? Perhaps irrelevant but curious
I fail to see why that would not be able to work. I am assuming the git site mentioning the requirement for using a separate machine have a few pro's in comparison to running it native.
- CEF is a beast, requires quite some cpu cycles. Combine it with the proxy and more or less constant image sending and you are using even more cycles.
- Using it as standalone allows you to use the service from different clients (seems to be a common use-case). Again cpu cycles and also memory hogging.
- using the service as standalone allows you to take some security measure that would be bothersome to do when located on the same host.. Separating client from service adds an additional layer of security and should be easier to maintain.

Running the service form a docker should be able to take care of most security issues (when properly setup) though.

Still no practical experience with this particular service but I do have some experience with using CEF for complete other goals. That more or less works in a similar fashion and is perfectly (cap)able to run on the same host.
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: Amiwell on August 10, 2022, 10:10:52 AM
yes magorium on the site there is this annotation for connecting the client on proxy server

"Only the proxy server needs an Internet connection; the client only needs to be able to connect to the proxy server. It is advisable not to expose the client directly to the Internet. One possible network setup is to have two interfaces on the proxy server: one for Internet and another for the local connection to the client"

So you have to connect Aros to the Host computer directly but in this case how network preferences must be configured?
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: Amiwell on August 10, 2022, 10:26:56 AM
Now I'm not using the service but I usually connect via the internet locally
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: Amiwell on September 26, 2022, 12:29:42 AM
There have been fixes of this service now the implementation with Odyssey has improved

(https://i.ibb.co/DRj0jqV/snap.png)
Title: Re: browservice, enables browsing the modern web on historical browsers
Post by: Amiwell on September 26, 2022, 12:32:21 AM
There are no energy consumption problems using this method, currently as host I have an old laptop and aros I use it with the Acer Aspire One