39aldo39 / klfc

Keyboard Layout Files Creator
GNU General Public License v3.0
222 stars 12 forks source link

Contribution: Keyboard Layout Editor .json generator #36

Open lmlask opened 3 years ago

lmlask commented 3 years ago

I like your .json format very much, it's well documented and makes it so much easier to work with complex layouts. I'm thinking of adding a Python CLI utility ('klfc-kle', for example) which would generate a KLE .json that could be uploaded to KLE (http://www.keyboard-layout-editor.com/) for easier visualization or to KLE-Render (https://kle-render.herokuapp.com/) for exporting images and such. The syntax I'm thinking would be something like

klfc-kle [options] -f [KLFC .json file] -o [output path, default ./]

something like

klfc-kle --keyboard iso --key-color #ffffff --label-color #000000 --label-size 3 -f colemak.json -o ~/klfc/

and/or shortened to

klfc-kle -kb iso -kc #ffffff -lc #000000 -ls 3 -f colemak.json -o ~/klfc/

Would you accept such a PR?

jarnowic commented 5 months ago

hello! any progress with this project?