{"id":20622617,"url":"https://github.com/myterminal/thinklucent","last_synced_at":"2025-08-16T22:35:18.843Z","repository":{"id":63261239,"uuid":"475698314","full_name":"myTerminal/thinklucent","owner":"myTerminal","description":"A simple implementation for automatic keyboard backlight in Linux for ThinkPad (and beyond)","archived":false,"fork":false,"pushed_at":"2024-11-01T14:28:28.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-16T22:35:18.628Z","etag":null,"topics":["keyboard-backlight","linux","thinkpad"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/myTerminal.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":"2022-03-30T02:59:57.000Z","updated_at":"2025-05-26T23:02:01.000Z","dependencies_parsed_at":"2024-01-15T04:54:53.450Z","dependency_job_id":"18c7a52e-5312-404b-a1f8-26890536dd35","html_url":"https://github.com/myTerminal/thinklucent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/myTerminal/thinklucent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myTerminal%2Fthinklucent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myTerminal%2Fthinklucent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myTerminal%2Fthinklucent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myTerminal%2Fthinklucent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myTerminal","download_url":"https://codeload.github.com/myTerminal/thinklucent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myTerminal%2Fthinklucent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270781206,"owners_count":24643806,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"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":["keyboard-backlight","linux","thinkpad"],"created_at":"2024-11-16T12:23:59.921Z","updated_at":"2025-08-16T22:35:18.807Z","avatar_url":"https://github.com/myTerminal.png","language":"Makefile","funding_links":["https://ko-fi.com/Y8Y5E5GL7"],"categories":[],"sub_categories":[],"readme":"# thinklucent\n\n[![Built with Lisp](https://img.shields.io/badge/built%20with-Lisp-blueviolet)](https://lisp-lang.org)\n[![License](https://img.shields.io/github/license/myTerminal/thinklucent.svg)](https://opensource.org/licenses/MIT)  \n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Y8Y5E5GL7)\n\nA simple implementation for automatic keyboard backlight in Linux for ThinkPad (and beyond)\n\n## Background\n\nAfter using an Apple MacBook Pro for four years, I collected quite a few elements from my computing workflow in macOS and carried over most of them to my Linux setup. However, one of those that I couldn't get over to this side of the wall was automatic keyboard backlight. The backlight could be turned ON and OFF, but would stay at the same state or brightness level regardless of whether I was interacting with the computer. After a few failed attempts at implementing a simple script to achieve it in Bash and on Node.js and then later on with Rust, I figured Lisp could be the one, and hence comes *thinklucent*.\n\n*thinklucent* has been initially designed to be a script that watches for keyboard (and other input) events to keep the keyboard backlight ON for a reasonable time interval and then automatically turn if OFF until the next user interaction.\n\n## Installation\n\nThere are a few different ways to get *thinklucent*.\n\n### Compile from source\n\n    # Clone project to the local workspace\n    git clone https://github.com/myTerminal/thinklucent.git\n\n    # Switch to the project directory\n    cd thinklucent\n\n    # Install with `make`\n    make install\n\n### Automatic installation\n\nSimply execute the below command in a terminal; the rest should be automatic.\n\n    /bin/bash -c \"$(curl https://raw.githubusercontent.com/myTerminal/thinklucent/main/install)\"\n\n### Through a package manager\n\n*thinklucent* will soon be available to install from your operating system's package manager.\n\n## How to Use\n\nA simple way to use *thinklucent* is to run it in a command-line terminal with no command arguments.\n\n    sudo thinklucent\n\nIt does need to be run as `root` so that it can work with keyboard backlight.\n\n### Running as a service\n\n*thinklucent* can also be run as an init service, and currently only supports [Runit](http://smarden.org/runit). Support for more init systems will be implemented soon.\n\n### Further help with commands\n\nTo learn more about usage, refer to `manpage`:\n\n    man thinklucent\n\n## Updating\n\nIn order to update *thinklucent*, simply run:\n\n    thinklucent-update\n\n## Uninstalling\n\nIn order to uninstall *thinklucent*, simply run:\n\n    thinklucent-uninstall\n\n## External Dependencies\n\nBeing written with Common Lisp, *thinklucent* depends on [SBCL](https://www.sbcl.org). In most cases, it will be automatically installed while generating the binary, but if it doesn't please install it before running the installation.\n\nThe other required programs are as follows:\n\n - [libfixposix-dev](https://github.com/sionescu/libfixposix)\n\n## Similar project(s)\n\n- [tp-auto-kbbl](https://crates.io/crates/tp-auto-kbbl)\n\n## To-do\n\n* Add support for more init systems like OpenRC, SysVinit, etc.\n* Support for more hardware\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyterminal%2Fthinklucent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyterminal%2Fthinklucent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyterminal%2Fthinklucent/lists"}