pine64_fan.py → Trivial pine64 fan controller based on schematics by MarkHaysHarris777 from http://forum.pine64.org/showthread.php?tid=1854
pine64_fan.service → Systemd unit file for pine64_fan.py
pine64_monitor.sh → A fan-aware pine64 health monitoring script. The most of it was stolen quite shamelessly from longsleep's pine64_health.sh found at https://github.com/longsleep/build-pine64-image/tree/master/simpleimage/platform-scripts
install.sh → A rather crude pine64_fan installation script for systemd
pine64_fan_controller_pcb.gerber.zip → Zipped gerber files for the fan controller PCB from EaseEDA.com https://easyeda.com/ishwest/fan_pwm-2047c9a43c604f4cb16242dc6e6cda8f
case-top/ → Case top model for 3D-printing https://www.thingiverse.com/thing:2238089
pcb/ → Fan controller PCB https://easyeda.com/ishwest/fan_pwm-2047c9a43c604f4cb16242dc6e6cda8f
You can use this script in any manner that suits you though remember at all times that by using it you agree that you use it at your own risk and neither I nor anybody else except for yourself is to be held responsible in case anything goes wrong as a result of using this script.