{"id":20804361,"url":"https://github.com/OneDeadKey/x-keyboard","last_synced_at":"2025-05-11T17:31:39.841Z","repository":{"id":34923200,"uuid":"179280509","full_name":"OneDeadKey/x-keyboard","owner":"OneDeadKey","description":" A zero-dependency web component to display and emulate keyboard layouts. ","archived":false,"fork":false,"pushed_at":"2024-09-27T07:09:51.000Z","size":5538,"stargazers_count":40,"open_issues_count":9,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T23:30:01.931Z","etag":null,"topics":["keyboard-emulation","keyboard-layout","webcomponent"],"latest_commit_sha":null,"homepage":"https://OneDeadKey.github.io/x-keyboard","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/OneDeadKey.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":"2019-04-03T11:58:00.000Z","updated_at":"2024-12-19T14:44:45.000Z","dependencies_parsed_at":"2024-02-01T10:26:05.799Z","dependency_job_id":"cbc77d75-8122-42c9-a9c8-83a838254d98","html_url":"https://github.com/OneDeadKey/x-keyboard","commit_stats":{"total_commits":103,"total_committers":5,"mean_commits":20.6,"dds":"0.19417475728155342","last_synced_commit":"6fd0c9f9276cbb08061560a5d3ec543660815cc2"},"previous_names":["onedeadkey/x-keyboard","fabi1cazenave/x-keyboard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneDeadKey%2Fx-keyboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneDeadKey%2Fx-keyboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneDeadKey%2Fx-keyboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneDeadKey%2Fx-keyboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OneDeadKey","download_url":"https://codeload.github.com/OneDeadKey/x-keyboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253604803,"owners_count":21934902,"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":["keyboard-emulation","keyboard-layout","webcomponent"],"created_at":"2024-11-17T19:08:54.338Z","updated_at":"2025-05-11T17:31:39.536Z","avatar_url":"https://github.com/OneDeadKey.png","language":"JavaScript","readme":"\u0026lt;x-keyboard\u0026gt;\n================================================================================\n\nA zero-dependency web component to display and emulate keyboard layouts.\n\n![screenshot](keyboard.svg)\n\n[Online demo here.](https://fabi1cazenave.github.io/x-keyboard/)\n\n\nKeyboard Layouts\n--------------------------------------------------------------------------------\n\nThis component uses [Kalamine][1] layouts in a JSON format describing:\n\n- the base and AltGr/Option layers, i.e. the characters that each key outputs;\n- the list of all dead keys used by the layout;\n- the default keyboard geometry.\n\n  [1]: https://github.com/fabi1cazenave/kalamine/\n\nAll keyboard layouts used in the demo page are defined in the `layouts.yaml` directory,then converted to JSON by Kalamine (see `layouts`).\n\n\nLayout Emulation\n--------------------------------------------------------------------------------\n\nOnce the keyboard layout is loaded, emulating it should be straight-forward (see `demo.js`). This relies on the [KeyboardEvent][2]’s [code][3] property, which excludes IE \u0026 Edge at the moment.\n\n  [2]: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent\n  [3]: https://www.w3.org/TR/uievents-code/#code-value-tables\n\n\nSupported Browsers\n--------------------------------------------------------------------------------\n\nWorks with Firefox and Chrome and probably all browsers with native web component support.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOneDeadKey%2Fx-keyboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOneDeadKey%2Fx-keyboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOneDeadKey%2Fx-keyboard/lists"}