Based on the provided documentation, here's how you can set up Browservice to work with old tactile mobile devices and tablets:
Understanding the Approach
Browservice works by rendering a modern web browser on a server and then streaming the rendered output as images to the client device. The client device, which can be a historical browser on an old mobile device or tablet, only needs to display these images and forward user input (like touch events) back to the server.
Key Considerations for Tactile Devices
Client Browser Compatibility:
Browservice is designed to work with browsers from the late 90s and early 2000s. However, the JavaScript client on the client device needs to be somewhat capable. Browsers like Internet Explorer 4.0 and above or Firefox versions from the early 2000s have been tested. The closer the browser is to the ones in the supported list, the better.
For very old devices with limited browser capabilities, the client-side JavaScript might be too heavy.
Network Performance:
A fast and reliable network connection between the Browservice server and the client is essential. Old mobile devices might have slower network interfaces (e.g., older Wi-Fi or cellular). A local network is ideal.
Browservice is optimized for LAN connections, and performance on slow connections might be problematic.
Touch Input:
Browservice captures mouse events. Tactile devices typically generate touch events that are then translated to mouse events by the browser. This should work without modification as long as the browser handles touch events correctly.
Screen Size:
Older tablets and mobile devices may have small screens. Browservice allows you to control the zoom level using the --initial-zoom command line option and hotkeys Ctrl+K/J/M for zoom in/out/reset. You may also need to reduce the size of the browser window on the proxy server side to better fit small client screens.
The client-side JavaScript and the control bar may not be ideal for small screens. In this case, consider hiding the control bar by using --show-control-bar=no to give more space for the browser view.
Setup Steps
Set up the Browservice Server:
You'll need a machine running Linux (x86_64, ARM, or ARM64) or Windows (x86 or x86_64) with sufficient memory and CPU to run a modern Chromium browser. A Raspberry Pi 4 is a good option, as mentioned in the README.
Download the prebuilt binary for your server's OS from the releases page or build it from source.
Start the Browservice proxy using the instructions in the README. Bind it to the network interface accessible by the tactile device, making sure to avoid exposing the proxy to untrusted networks. For example:
(remember to replace browservice-RELEASE-ARCH.AppImage with the actual filename of the downloaded executable).
Consider using a data directory using the --data-dir option to persist session cookies and browser storage.
Configure the Client Device:
Connect the old mobile device or tablet to the same network as the server.
Open the browser on the client device.
Set the Browservice server's address as the home page for easy access.
Navigate to the Browservice server's address, using the IP and port, e.g., http://[Redacted IPAddress]:8080.
Disable the native browser controls to free up screen space (if possible).
Adjust Command Line Options:
Consider using the following command line options on the Browservice server, to improve the experience for tactile devices:
--initial-zoom: To zoom the page to a suitable level by default.
--show-control-bar=no: To remove the control bar if it is too intrusive.
If your tactile device has a slow network, reduce image quality using the command line option --vice-opt-default-quality.
If you are having trouble with SSL/TLS certificate errors, you may use --certificate-check-exceptions command line option, but consider the security implications before using this option.
Testing and Fine-Tuning:
Test the connection on the tactile device.
If the performance is too slow, try lowering the image quality by setting the --vice-opt-default-quality option to a lower value (e.g. 70 for JPEG) at the server.
You may need to adjust the zoom level based on the device's screen resolution.
Troubleshooting
Connection Issues: Check network connectivity between server and device.
Performance: If the performance is too slow, check the network, reduce image quality and/or the window size on the Browservice server.
Input Problems: If the touch input isn't working well, make sure the client browser supports it and is forwarding mouse events.
Example Setup
Server: Raspberry Pi 4 running a recent version of Raspberry Pi OS (64 bit), with Browservice listening on [Redacted IPAddress]:8080.
Client: An old Android tablet using the built-in browser, connected to the same Wi-Fi network.
Important Notes
Security: Be careful when exposing the Browservice server to untrusted networks. Always ensure the network between the server and client is completely trusted.
HTTPS: Browservice does not support encrypted connections. Thus, use a trusted local network or a secure tunnel between the client and the server.
Client Trust: The client has control over a web browser process running on the proxy. Make sure to isolate the network to prevent any security risks.
By following these steps, you should be able to use Browservice to access the modern web with your old tactile mobile devices and tablets, but please be aware that due to the nature of the devices there may be issues with the overall experience.