My DIY key lights project based on a small Adafruit board with an ARM processor is now on github. The project is written in CircuitPython so it is (I think)
easy to customize for number of LEDs, colors, etc.
https://github.com/touchgadget/key_led
DIY Piano Key Lights
No explicit, hateful, or hurtful language. Nothing illegal.