{"id":16049256,"url":"https://github.com/ayan4m1/kle-pcb-generator","last_synced_at":"2025-04-05T07:20:53.592Z","repository":{"id":141352534,"uuid":"446172485","full_name":"ayan4m1/kle-pcb-generator","owner":"ayan4m1","description":"Generate EAGLE schematic/board from KLE JSON","archived":false,"fork":false,"pushed_at":"2022-02-10T12:42:04.000Z","size":151,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T15:44:48.540Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ayan4m1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-09T18:37:00.000Z","updated_at":"2023-09-21T02:10:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b635650-13b3-4d52-aeaa-ff1079fd82cd","html_url":"https://github.com/ayan4m1/kle-pcb-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayan4m1%2Fkle-pcb-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayan4m1%2Fkle-pcb-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayan4m1%2Fkle-pcb-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayan4m1%2Fkle-pcb-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayan4m1","download_url":"https://codeload.github.com/ayan4m1/kle-pcb-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247301128,"owners_count":20916447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T00:15:26.516Z","updated_at":"2025-04-05T07:20:53.557Z","avatar_url":"https://github.com/ayan4m1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kle-pcb-generator\n\nThis is a Node script which can transform JSON files from Keyboard-Layout-Editor into Autodesk EAGLE scripts which will generate a schematic and board for a given keyboard layout.\n\n## features\n\n- SMD or THT diodes\n- Alps, Alps-MX, Choc, Choc X, or Hotswap switches\n- Variable width/height keys\n- Stabilizers for \u003e= 2U keys\n- Traditional or duplex matrix wiring\n\n## not supported\n\n- Rotated keys\n- Stepped keys (ISO enter)\n- MCU placement/wiring\n\n## prerequisites\n\n- [Node.JS 16](https://nodejs.org/download/release/latest-gallium/)\n- [Clueboard Eagle libraries](https://github.com/clueboard/eagle_libs)\n- Autodesk EAGLE\n\n## usage\n\nFirst, clone this repo. Then, open a terminal in the clone directory. Execute\n\n```sh\nnpm i\n```\n\nThen, to run the script, use\n\n```sh\nnode src/index.js example.json\n```\n\nWhere example.json is a KLE JSON file in the same directory.\n\nTo get a list of the diodes and switches you can use, run `node src/index.js parts`.\n\n## examples\n\nHere is a numpad schematic:\n\n![numpad schematic](./examples/numpad-schematic.png)\n\nAnd the matching board layout:\n\n![numpad board](./examples/numpad-board.png)\n\nHere is a 69-key keyboard schematic:\n\n![69 schematic](./examples/69-schematic.png)\n\nAnd the matching board layout:\n\n![69 board](./examples/69-board.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayan4m1%2Fkle-pcb-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayan4m1%2Fkle-pcb-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayan4m1%2Fkle-pcb-generator/lists"}