remap-keys / remap

Keymap Customization Web app for your keyboard.
https://remap-keys.app
Other
224 stars 27 forks source link

Add a new feature to support building a firmware #773

Closed yoichiro closed 9 months ago

yoichiro commented 10 months ago

This pull request provides a new feature to build a firmware in the backend of Remap server.

For keyboard registers/degisners

A new tab "BUILD" is added in the keyboard management page which the keyboard is already approved. The registerer/degisner adds firmware files like the following:

The registerer/designer can embed customization points in each file. <remap /> tag is used to embed them.

スクリーンショット 2023-11-13 9 12 55

For keyboard users

A new "BUILD" tab is added in each keyboard catalog page.

スクリーンショット 2023-11-13 9 14 08

When pressing the "BUILD FIRMWARE" button, a new dialog is displayed. The dialog has a UI to specify customization points which are detected from each registered firmware file. Users can sprcify the parameter value of each customization point on the dialog.

スクリーンショット 2023-11-13 9 14 42 スクリーンショット 2023-11-13 9 14 56

When pressing the "BUILD" button, a new building firmware task is registered. The time to build the firmware will be in a few minutes.

スクリーンショット 2023-11-13 9 15 33

When completing the building task, the standard output/error will be shown.

スクリーンショット 2023-11-13 9 45 06

If the building task is succeeded, users can download and flash the firmware binary file directly from the page.

スクリーンショット 2023-11-13 9 18 01

Limitation logics

Implementation