Access serial ports on the client side

Hi,
Is there any way to access serial ports on the client-side? I searched and found some results, but all of them were about accessing serial ports on the server-side and I want a solution to access the serial ports from the web application of my clients.

In theory that is possible through the browser of the client, there was a Web Serial API specification released recently.
But afaik currently this API is only supported in the latest Chrome and Edge browsers.
And of course, there is no Streamlit Component for this yet - you have to write your own component.

Here are some links for further reading:

https://caniuse.com/web-serial

1 Like