{"id":15862564,"url":"https://github.com/juwit/keylight-cli","last_synced_at":"2025-04-01T20:44:44.520Z","repository":{"id":127210294,"uuid":"355233280","full_name":"juwit/keylight-cli","owner":"juwit","description":"An experimental CLI to control the Elgato KeyLight Air that #WorksOnMyMachine","archived":false,"fork":false,"pushed_at":"2021-04-07T14:35:41.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T13:34:06.438Z","etag":null,"topics":["cli","keylight"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/juwit.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":"2021-04-06T15:09:49.000Z","updated_at":"2023-02-13T18:58:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"8adeb900-39f4-487f-8fd6-f48ad962be16","html_url":"https://github.com/juwit/keylight-cli","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"8d626dc42975e3074344108acf10bb13bc6c9d68"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juwit%2Fkeylight-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juwit%2Fkeylight-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juwit%2Fkeylight-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juwit%2Fkeylight-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juwit","download_url":"https://codeload.github.com/juwit/keylight-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709918,"owners_count":20821298,"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":["cli","keylight"],"created_at":"2024-10-05T22:41:26.410Z","updated_at":"2025-04-01T20:44:44.498Z","avatar_url":"https://github.com/juwit.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# keylight-cli\n\nAn experimental CLI to control the Elgato KeyLight Air that #WorksOnMyMachine\n\nInspired by https://gitlab.com/obviate.io/pyleglight/\n\n## CLI usage (for native image \u0026 native package)\n\n```text\nUsage: keylight [COMMAND]\nCommands:\n  on\n  off\n  brightness\n  color\n```\n\n```text\nUsage: keylight brightness \u003cbrightness\u003e\n      \u003cbrightness\u003e   the brightness to setup (value must be between 0 and 100)\n```\n\n```text\nUsage: keylight color \u003ccolor\u003e\n      \u003ccolor\u003e   the color temperature to set (value must be between 2900 and 7000)\n```\n\n## building \u0026 running\n\n### a standalone fat-jar\n\n```shell\nmvn package\n```\n\nthen run it with\n\n```shell\njava -jar target/keylight-cli-1.0.0-jar-with-dependencies.jar \u003ccommand\u003e\n```\n\n### a native image\n\n(requires GraalVM \u0026 native-image installed)\n\n```shell\nmvn package -P native-image\n```\n\nthen run it with\n\n```shell\n./target/keyligh \u003ccommand\u003e\n```\n\nthen put the native image in your `$PATH`\n\n### building a native package (.deb)\n\n(requires at least a JDK 14)\n\n```shell\nmvn package\n\nmkdir target/dist\n\ncp target/keylight-cli-1.0.0-jar-with-dependencies.jar target/dist\n\njpackage  \\\n  --input target/dist \\\n  --dest target/dist \\\n  --name keylight-cli \\\n  --app-version 1.0.0 \\\n  --main-jar keylight-cli-1.0.0-jar-with-dependencies.jar \\\n  --type deb\n```\n\nthen install it\n\n```shell\nsudo dpkg -i target/dist/keylight-cli_1.0.0-1_amd64.deb\n```\n\nthe CLI will be installed in /opt/keylight-cli\n\nthen run it with \n\n```shell\n/opt/keylight-cli/bin/keylight-cli \u003ccommand\u003e\n```\n\n## dependencies\n\n* picocli : to implement CLI features\n* jmdns : to implement service discovery of the keylight\n\n## disclaimer\n\nIt may not work with other devices.\n\nWhen having multiple devices, the first found by the service discovery will be used.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuwit%2Fkeylight-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuwit%2Fkeylight-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuwit%2Fkeylight-cli/lists"}