{"id":24343563,"url":"https://github.com/ohare93/zsa-keymapp-python","last_synced_at":"2025-04-14T23:16:14.352Z","repository":{"id":272907373,"uuid":"917720431","full_name":"ohare93/zsa-keymapp-python","owner":"ohare93","description":"Control your ZSA keyboard using the Keymapp API in Python.","archived":false,"fork":false,"pushed_at":"2025-01-22T16:15:42.000Z","size":27,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T23:15:58.283Z","etag":null,"topics":["ergodox","keymapp","moonlander","poetry","protobuf","python","voyager","zsa"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ohare93.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-01-16T14:23:36.000Z","updated_at":"2025-04-05T02:40:33.000Z","dependencies_parsed_at":"2025-01-17T11:35:57.408Z","dependency_job_id":null,"html_url":"https://github.com/ohare93/zsa-keymapp-python","commit_stats":null,"previous_names":["ohare93/zsa-keymapp-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohare93%2Fzsa-keymapp-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohare93%2Fzsa-keymapp-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohare93%2Fzsa-keymapp-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohare93%2Fzsa-keymapp-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohare93","download_url":"https://codeload.github.com/ohare93/zsa-keymapp-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975329,"owners_count":21192210,"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":["ergodox","keymapp","moonlander","poetry","protobuf","python","voyager","zsa"],"created_at":"2025-01-18T08:39:01.735Z","updated_at":"2025-04-14T23:16:14.334Z","avatar_url":"https://github.com/ohare93.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zsa-keymapp-python\n\nControl your ZSA keyboard (Moonlander / Voyager / Ergodox) using the [Keymapp](https://blog.zsa.io/keymapp/) API (Protobuf) in Python.\n\nSee also a Talon implementation https://github.com/ohare93/zsa-keymapp-talon for voice and foot-pedal control of your keyboard layers.\n\n## Installation\n\nThis repo uses poetry as a package manager and Python 3.12 (though older versions may work fine).\n\n1. Install the dependencies in the pyproject.toml\n\n```sh\npoetry install\n```\n\n2. Generate the Protobuf API code from the keymapp.proto file\n\n```sh\npoetry run python -m grpc.tools.protoc -I. --proto_path . --python_out . --mypy_out . --grpc_python_out . ./protos/*.proto\n```\n\nAny .proto files in the protos/ folder will be used for generation.\n\n## Usage\n\nEnsure your Keymapp API is enabled in the application,\n\n![](./assets/keymapp-settings.png)\n\nRun it:\n\n```sh\npoetry run python keymapp.py\n```\n\nThis will change the keyboard layer to the 2nd layer (layer 1!). Change the code in keymapp.py to do whatever you like 🎉 Set the layer, increase the brightness, change led colours in your keyboard. See protos/keymapp.proto for the valid endpoints. \n\nSee also:\n- [Kontroll](https://github.com/zsa/kontroll) a command-line tool written in Rust to interact with the Keymapp API. (Where the keymapp.proto file was taken from)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohare93%2Fzsa-keymapp-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohare93%2Fzsa-keymapp-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohare93%2Fzsa-keymapp-python/lists"}