qmk_configurator icon indicating copy to clipboard operation
qmk_configurator copied to clipboard

[Feature Request] DFU Programming through the Browser

Open ecumene opened this issue 3 years ago • 3 comments

QMK Configurator receives a binary from the API and just provides a download link. It's possible (though experimental, and not in Firefox/Safari) to flash a new keyboard firmware through the browser. This could make it possible for users of things like a Chromebook or Android Phone to flash their keyboard firmware.

WebUSB has a good track record for security so far by only having access to devices you allow it to, Browsers other than Chrome have not expressed any interest in supporting it as it's pretty controversial and hard to implement. In my opinion the power it brings to the web is far greater than the risk of "bloat" in some websites. Here's an example of an Android Operating System you can flash onto a rooted phone via the web right now.

This could be an optional feature in the configurator, or if not I plan to implement it into my own site for fun 😄 So how about it? Is this a desirable feature?

ecumene avatar May 19 '21 02:05 ecumene

WebUSB is really cool, but it seems google itself may have moved on to WebHID, as it is in the latest versions of chrome. Have you looked at https://github.com/remap-keys/remap ?

yanfali avatar May 19 '21 16:05 yanfali

No I haven't! That's really neat.

ecumene avatar May 19 '21 19:05 ecumene

Good to know they switched to WebHID.

ecumene avatar May 19 '21 19:05 ecumene