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

WebUSB REPL #605

Closed
ladyada opened this issue Feb 8, 2018 · 9 comments
Closed

WebUSB REPL #605

ladyada opened this issue Feb 8, 2018 · 9 comments
Milestone

Comments

@ladyada
Copy link
Member

ladyada commented Feb 8, 2018

https://developers.google.com/web/updates/2016/03/access-usb-devices-on-the-web
https://github.com/webusb/arduino
Expose REPL w/WebUSB HID -> no native serial monitor required whatsoever
But is Chrome only right now. Still, Chrome is a popular browser.
Lets ponder for 4.0 or beyond!

@ladyada ladyada added this to the Long term milestone Feb 8, 2018
@tannewt
Copy link
Member

tannewt commented Feb 8, 2018

I think this is a good idea too! We could share a lot of development work between a WebUSB webpage and a standalone, cross-platform Electron app (which is chromium under the hood).

@theacodes
Copy link
Collaborator

I would love to look into this. I'm adding it to my list of things to look into while I have free time over the holidays, but it should absolutely not discourage anyone else from taking this on - just please reach out if you want to collaborate. :)

@ladyada
Copy link
Member Author

ladyada commented Nov 11, 2019

i thiiiiiiiiiiiink we needed more USB endpoints? or were waiting till we could config the USB endp on/off states - e.g. disable MSD on demand

@ladyada
Copy link
Member Author

ladyada commented Nov 12, 2019

note there's webserial nowadays. could be interesting to try that - it may 'just work' (?)

@theacodes
Copy link
Collaborator

theacodes commented Nov 12, 2019 via email

@ladyada
Copy link
Member Author

ladyada commented Feb 3, 2020

following up, with WebSerial now included, this is not important - we can use the every day repl in a browser! it would be nice to have webusb eventually but i don care too much anymore :)

@theacodes
Copy link
Collaborator

theacodes commented Feb 3, 2020 via email

@carlosperate
Copy link

I think this is a good idea too! We could share a lot of development work between a WebUSB webpage and a standalone, cross-platform Electron app (which is chromium under the hood).

I know this is a very old comment, but just in case this information is useful, the device chooser for electron has not been implemented yet, and I assume this would also apply for WebSerial: electron/electron#14545
But, I think this node implementation could be used as a WebUSB polyfill: https://github.com/thegecko/webusb

@ladyada
Copy link
Member Author

ladyada commented Nov 19, 2020

closing this cause we can just use webserial instead of a webusb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants