{"id":24221435,"url":"https://github.com/vlad2030/thinkpad-backlight-api","last_synced_at":"2025-08-03T03:10:30.281Z","repository":{"id":270173671,"uuid":"909548811","full_name":"Vlad2030/thinkpad-backlight-api","owner":"Vlad2030","description":"Keyboard backlight API for thinkpad","archived":false,"fork":false,"pushed_at":"2024-12-29T03:38:14.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T06:18:24.074Z","etag":null,"topics":["linux","rust","thinkpad"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/thinkpad-backlight-api","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vlad2030.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":"2024-12-29T03:28:36.000Z","updated_at":"2024-12-29T03:40:26.000Z","dependencies_parsed_at":"2024-12-29T03:48:10.705Z","dependency_job_id":"ebd2c593-d2d3-4a1b-8ae9-f9e141fa6d73","html_url":"https://github.com/Vlad2030/thinkpad-backlight-api","commit_stats":null,"previous_names":["vlad2030/thinkpad-backlight-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vlad2030%2Fthinkpad-backlight-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vlad2030%2Fthinkpad-backlight-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vlad2030%2Fthinkpad-backlight-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vlad2030%2Fthinkpad-backlight-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vlad2030","download_url":"https://codeload.github.com/Vlad2030/thinkpad-backlight-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241763751,"owners_count":20016162,"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":["linux","rust","thinkpad"],"created_at":"2025-01-14T06:17:49.758Z","updated_at":"2025-03-04T00:45:16.005Z","avatar_url":"https://github.com/Vlad2030.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# thinkpad-backlight-api\n\nKeyboard backlight API for thinkpad. Implemented on Rust\n\n# How to use\n\n## Add a crate\n\nAdd this to your `Cargo.toml`:\n\n```toml\nthinkpad-backlight-api = \"0.1.0\"\n```\n\n## Example usage\n\n```rust\nuse thinkpad_backlight_api::{KeyboardBacklight, LightLevel};\n\nfn main() {\n    if let Err(e) = KeyboardBacklight::set(LightLevel::Full) {\n        println!(\"Error: {:?}\", e)\n    }\n\n    match KeyboardBacklight::get() {\n        Ok(level) =\u003e println!(\"Level: {:?}\", level),\n        Err(e) =\u003e println!(\"Error: {:?}\", e),\n    }\n}\n```\n\n## Tested on\n\n- Lenovo thinkpad t480s (Ubuntu 24.04)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlad2030%2Fthinkpad-backlight-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvlad2030%2Fthinkpad-backlight-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlad2030%2Fthinkpad-backlight-api/lists"}