1
0
Fork 0
mirror of synced 2026-12-06 18:12:25 +00:00
No description
Find a file
Parker Wahle 8ce8105e3b
chore: link the TODOs to their issues
Refs #2, #3, #4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mv4cZ2TAgLi4RirGrVaqXv
2026-11-23 01:53:16 -05:00
.github chore(settings): extend the shared settings from regulad/.github 2026-11-22 02:14:46 -05:00
.vscode separate proj.; doesn't work yet (resources) 2026-01-16 11:22:50 -05:00
src/kmr chore: link the TODOs to their issues 2026-11-23 01:53:16 -05:00
.gitignore separate proj.; doesn't work yet (resources) 2026-01-16 11:22:50 -05:00
.python-version separate proj.; doesn't work yet (resources) 2026-01-16 11:22:50 -05:00
LICENSE.md separate proj.; doesn't work yet (resources) 2026-01-16 11:22:50 -05:00
pyproject.toml separate proj.; doesn't work yet (resources) 2026-01-16 11:22:50 -05:00
README.md separate proj.; doesn't work yet (resources) 2026-01-16 11:22:50 -05:00
uv.lock separate proj.; doesn't work yet (resources) 2026-01-16 11:22:50 -05:00

Keymap Renderer

This project takes two files, a keyboard-layout-editor format keyboard description JSON file, and a .kdl.json ("keybind description language") file.

If you copy the Raw Data, be sure to save it as .js! If it's downloaded through Download JSON, make sure to save it as .json.

It will then render a keyboard annotated with the bind present in each key in the KDL and produce a Markdown file containing each keybind layer and a table containing additional information.

Each layer's markdown file will then be converted into PDF, and all layers for a given KDL will be merged into a final PDF file. You may then print out this PDF file or use it as reference.

Also contains a script to generate KDLs from the following sources:

  • nvim-nmap.kdl.json (create with uv run nvim-nmap.kdl.py -o /tmp/nvim-nmap.kdl.json)

Existing work

Substantial parts of the rendering code for this project are taken from kle_render. Unfortunately, the original keyboard-layout-editor is distributed under an all rights reserved license despite being open source.

TODO

  • Additional KDL creators
  • Code is a little jank, but is readable.