Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web serial is available in browser now (Edge, Chrome, Opera only) #52

Open
james-portman opened this issue Jul 1, 2022 · 3 comments
Open

Comments

@james-portman
Copy link

Bar the avrdude/direct binaries, the rest of this can now be done in browser only (without node).

I can't get the node stuff to work in Linux which is a shame.
Should be possible to do almost all of this in plain JS/HTML now using web serial

https://codelabs.developers.google.com/codelabs/web-serial#7

@karniv00l
Copy link
Contributor

But this is Electron: https://www.electronjs.org/docs/latest/tutorial/devices

If you want to use plain browser and still be able to burn the firmware, you need avrdude port like this one: https://github.com/noopkat/avrgirl-arduino/blob/master/tests/demos/webserial/README.md

@james-portman
Copy link
Author

OK, my point still stands.
I cannot get it to build as-is on my computer.
It could just be straight javascript and work on Windows/Mac/Linux all in the same way without external things like node, electron

@karniv00l
Copy link
Contributor

Yeah, it could be nice, but the support is pretty bad right now: https://caniuse.com/web-serial

@james-portman james-portman changed the title Web serial is available in browser now Web serial is available in browser now (Edge, Chrome, Opera only) Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants