webvm icon indicating copy to clipboard operation
webvm copied to clipboard

Device interfaces like USB, Serial & HID

Open beriberikix opened this issue 3 years ago • 3 comments

https://twitter.com/reillyeon/status/1488651155647254529

Great work! Have you looked at supporting interacting with real devices via their web API counterparts? Ex. WebUSB, Web Serial and/or WebHID?

beriberikix avatar Feb 02 '22 00:02 beriberikix

Thanks! :)

Yes, it's been taken into consideration. While it's technically feasible, it's not in our plans for the time being. Should there be commercial interest for supporting these features, though, we will reconsider it.

If that's the case, feel free to contact us at [email protected].

sere avatar Feb 07 '22 17:02 sere

Thanks! :) Yes, it's been taken into consideration. While it's technically feasible, it's not in our plans for the time being. Should there be commercial interest for supporting these features, though, we will reconsider it. If that's the case, feel free to contact us at [email protected].

wdym that's not practical?

first of all, it would allow you to insert files into the WebVM. any normal linux distro can read USB, and it's hella useful too. if WebVM supported USB, then it could be used to unpack tar and gzip archives, and also allow for an easy way to make USB linux installers.

see? i just proved you wrong, AND i made you look dumb on the internet.

get told lmao

ok bye have a nice day

:3

Actually, not possible to do USB installers via WebUSB. You can install a different of Android on a phone and do ADB though.

hello-smile6 avatar Apr 23 '22 02:04 hello-smile6

Just do what @hello-smile6 said, and use WebUSB to emulate USB storage in the host OS.

r3dg0d avatar Dec 14 '22 09:12 r3dg0d