there are a few frontends already as far as I know...
# tornadofx
k
there are a few frontends already as far as I know. Like tkg.io. And that has the advantage of just importing a KLE layout, which is already a nice way to create and share a graphical keyboard layout