https://github.com/ryzeon-dev/macbook-cpu-fan
Macbook fan controller daemon [Rust] and CLI [Python3]
https://github.com/ryzeon-dev/macbook-cpu-fan
Last synced: 2 months ago
JSON representation
Macbook fan controller daemon [Rust] and CLI [Python3]
- Host: GitHub
- URL: https://github.com/ryzeon-dev/macbook-cpu-fan
- Owner: ryzeon-dev
- License: agpl-3.0
- Created: 2024-03-04T11:59:49.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-01T11:04:40.000Z (about 1 year ago)
- Last Synced: 2025-02-04T15:47:16.396Z (4 months ago)
- Language: Rust
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# macbook-cpu-fan
Macbook fan controller daemon (Rust) and CLI (Python3)Building the executable requires `cargo` and `make` to be installed on the system
## Download, build and install
```bash
git clone https://github.com/ryzeon-dev/macbook-cpu-fan && cd macbook-cpu-fan && make && sudo make install
```## Build
After cloning the repo, enter the directory and run
```bash
make
```## Install
After building, run
```bash
sudo make install
```## Usage
All software activities can be controller via the provided CLI
```bash
$ mbcf --help
mbcf: MacBook CPU fan cotroller CLI
usage: mbcf [ARGUMENTS] [OPTIONS]Arguments:
start | restart | stop | enable | disable performs the specified command on the service using "systemctl" (requires root)Options:
-a | --apply CONFIG_NAME restarts the daemon applying the specified fan profile (requires root)
-h | --help show this message and exit
```