{"id":16465592,"url":"https://github.com/peterfox/litra","last_synced_at":"2026-06-17T09:31:47.339Z","repository":{"id":195100858,"uuid":"692414950","full_name":"peterfox/litra","owner":"peterfox","description":"A small utility to for the Logitech Litra written in Go","archived":false,"fork":false,"pushed_at":"2026-06-12T10:00:06.000Z","size":22,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-12T10:23:58.398Z","etag":null,"topics":["cli","go","golang","lighting","logitech"],"latest_commit_sha":null,"homepage":"","language":"Go","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/peterfox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-09-16T12:05:23.000Z","updated_at":"2026-06-12T09:08:30.000Z","dependencies_parsed_at":"2023-10-16T03:21:48.123Z","dependency_job_id":"bdebba21-aa98-49b0-bada-2ecd430ebb58","html_url":"https://github.com/peterfox/litra","commit_stats":null,"previous_names":["peterfox/litra"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/peterfox/litra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterfox%2Flitra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterfox%2Flitra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterfox%2Flitra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterfox%2Flitra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterfox","download_url":"https://codeload.github.com/peterfox/litra/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterfox%2Flitra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34443232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","go","golang","lighting","logitech"],"created_at":"2024-10-11T11:34:33.529Z","updated_at":"2026-06-17T09:31:47.334Z","avatar_url":"https://github.com/peterfox.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Litra\n\nJust a simple utility to work with the Logitech Litra Glow light.\n\n## Install\n\n### Brew\n\nYou can install via brew.\n\n```sh\nbrew tap peterfox/litra\nbrew install litra\n```\n\n## Usage\n\n### Basic controls\n\n```shell\n$ litra on\n$ litra off\n$ litra toggle\n$ litra brightness 50      # set brightness 0-100 (percent)\n$ litra temperature 4000   # set colour temperature 2700-6500 (kelvin)\n```\n\n### Relative adjustments\n\nIncrease or decrease brightness and colour temperature relative to the current device state. An optional step value can be provided; if omitted a sensible default is used.\n\n```shell\n$ litra brightness-up         # increase brightness by 10%\n$ litra brightness-up 20      # increase brightness by 20%\n$ litra brightness-down       # decrease brightness by 10%\n$ litra brightness-down 5     # decrease brightness by 5%\n\n$ litra temperature-up        # increase colour temperature by 200K\n$ litra temperature-up 500    # increase colour temperature by 500K\n$ litra temperature-down      # decrease colour temperature by 200K\n$ litra temperature-down 100  # decrease colour temperature by 100K\n```\n\nValues are clamped to the valid range (brightness: 0–100, temperature: 2700–6500) so there is no need to track where you are.\n\n### Profiles\n\nProfiles let you save the current brightness and temperature under a name and restore them later. They are stored in `~/.litra`.\n\n```shell\n# Save the current light state as a profile\n$ litra profile save work\n\n# Load a saved profile\n$ litra profile load work\n\n# List all saved profiles\n$ litra profile list\n```\n\nExample `~/.litra` file:\n\n```json\n{\n  \"profiles\": {\n    \"work\":    { \"brightness\": 70, \"temperature\": 4500 },\n    \"evening\": { \"brightness\": 30, \"temperature\": 2800 },\n    \"video\":   { \"brightness\": 85, \"temperature\": 5500 }\n  }\n}\n```\n\nThe file can also be edited by hand — any valid JSON matching the structure above will be picked up by the CLI.\n\n## Build\n\n```shell\ngo build -v .\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterfox%2Flitra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterfox%2Flitra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterfox%2Flitra/lists"}