qmk / qmk_configurator

The QMK Configurator
http://config.qmk.fm
677 stars 341 forks source link

[Feature Request] DFU Programming through the Browser #924

Open ecumene opened 3 years ago

ecumene commented 3 years ago

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?

yanfali commented 3 years ago

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 ?

ecumene commented 3 years ago

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

ecumene commented 3 years ago

Good to know they switched to WebHID.