{"id":29464134,"url":"https://github.com/karjonas/thinkfan-tui","last_synced_at":"2025-07-14T06:02:01.434Z","repository":{"id":270872625,"uuid":"910974790","full_name":"karjonas/thinkfan-tui","owner":"karjonas","description":"A terminal-based Linux application for fan control and temperature monitoring on ThinkPad laptops.","archived":false,"fork":false,"pushed_at":"2025-07-11T20:34:34.000Z","size":170,"stargazers_count":38,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T22:21:15.977Z","etag":null,"topics":["fan","linux","rust","sensors","terminal","thinkpad"],"latest_commit_sha":null,"homepage":"https://github.com/karjonas/thinkfan-tui","language":"Rust","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/karjonas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2025-01-02T00:24:29.000Z","updated_at":"2025-07-11T21:37:32.000Z","dependencies_parsed_at":"2025-01-03T18:22:47.362Z","dependency_job_id":"9494c9c0-e06e-42d4-b59b-08392ade7cdf","html_url":"https://github.com/karjonas/thinkfan-tui","commit_stats":null,"previous_names":["karjonas/thinkfan-tui"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/karjonas/thinkfan-tui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karjonas%2Fthinkfan-tui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karjonas%2Fthinkfan-tui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karjonas%2Fthinkfan-tui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karjonas%2Fthinkfan-tui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karjonas","download_url":"https://codeload.github.com/karjonas/thinkfan-tui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karjonas%2Fthinkfan-tui/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265248348,"owners_count":23734218,"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":["fan","linux","rust","sensors","terminal","thinkpad"],"created_at":"2025-07-14T06:01:31.951Z","updated_at":"2025-07-14T06:02:01.423Z","avatar_url":"https://github.com/karjonas.png","language":"Rust","funding_links":[],"categories":["💻 Apps"],"sub_categories":["👨‍💻 System Administration"],"readme":"# thinkfan-tui\n\nA terminal-based Linux application for fan control and temperature\nmonitoring on ThinkPad laptops.\n\n![Screenshot](screenshot.gif \"Screenshot\")\n\n## How it Works?\n\nThe application continously runs the `sensors` command to read\ntemperatures and display these in the terminal. To control the fan speed,\ncommands are written to the `/proc/acpi/ibm/fan` file. If the user lacks\npermissions to do so the owner of the file is changed to the current\nuser by calling the `pkexec` command.\n\n## Keyboard Shortcuts\n\n| Key  | Action                          |\n| ---- | ------------------------------- |\n| 0..7 | Set fan speed to specific level |\n| A    | Set fan speed to automatic      |\n| F    | Set fan speed to full           |\n| Q    | Quit application                |\n\n## Tested Laptops\n\n- T14s AMD Gen 1\n- T14s AMD Gen 4\n- T490\n- E14 Intel Gen 6\n- ThinkPad P1 Gen 2\n\n## Getting Started\n\n### Dependencies\n\nThe project uses `lm-sensors` and `policykit`. These can be installed\nwith the commands below.\n\n#### Ubuntu\n\n```\nsudo apt install lm-sensors policykit-1\n```\n\n#### Arch Linux\n\n```\nsudo pacman -S lm_sensors polkit\n```\n\n### Installing\n\n#### Using crates.io (preferred)\n\nThis project is written in the rust programming language\nand is built using the cargo package manager, see\nhttps://www.rust-lang.org/tools/install for installation instructions.\n\nAfter rust and cargo is installed you can install `thinkfan-tui` from\ncrates.io by running:\n\n```\ncargo install thinkfan-tui\n```\n\n#### Arch User Repository (AUR)\n\nFor Arch Linux users the package is available in the AUR:\nhttps://aur.archlinux.org/packages/thinkfan-tui\n\n#### Pre-built\n\nThere are also pre-built binaries available at\nhttps://github.com/karjonas/thinkfan-tui/releases. Unzip the binary,\nmake it executable and run.\n\n## Troubleshooting\n\nIf the application does not let you update the fan speeds, make sure that the `thinkpad_acpi` kernel module is loaded with fan control enabled. To reload it temporarily, run the following commands:\n\n```\nsudo modprobe -r thinkpad_acpi\nsudo modprobe thinkpad_acpi fan_control=1\n```\n\n## Contributing\n\nPlease report any issues you find at\nhttps://github.com/karjonas/thinkfan-tui/issues. If your laptop model\nis not in the list of tested laptops, feel free to test it add it to\nthe list. Outputs from the `sensors -j` command are also appreciated\nfor more test coverage on different laptops.\n\n## License\n\nDistributed under the MIT License. See LICENSE for more information.\n\n## Contact\n\nThis project is hosted at https://github.com/karjonas/thinkfan-tui\n\n## Acknowledgements\n\n`thinkfan-tui` is inspired by\n[Thinkfan UI](https://github.com/zocker-160/thinkfan-ui).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarjonas%2Fthinkfan-tui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarjonas%2Fthinkfan-tui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarjonas%2Fthinkfan-tui/lists"}