Skip to content

beng1z/lightgiz

Repository files navigation

💡 Lightgiz

A personal ambient lighting project for RGB keyboards and Wiz smart bulbs.

Linux Python License


About

This is a personal project built with vibecoding - just me tinkering with ambient lighting for my own setup. It syncs screen colors to keyboard backlighting and smart bulbs in real-time.

Not intended for production use. Just a hobby project that works for my specific hardware (Tuxedo laptop + Wiz bulbs).


Features

  • 🎨 Real-time screen color extraction
  • 💡 Wiz smart bulb control over WiFi
  • ⌨️ 4-zone keyboard RGB control (Tuxedo)
  • 🎵 Audio reactive lighting modes
  • ✨ Various effect animations
  • 🖥️ System tray integration

Installation

  1. Clone the repository:

    git clone https://github.com/beng1z/lightgiz.git
    cd lightgiz
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up configuration:

    cp config.example.json config.json

Requirements

  • Linux (tested on Fedora)
  • Python 3.8+
  • Tuxedo laptop (for keyboard) or Wiz smart bulb

Usage

python main.py

System Service (Optional)

To run on startup:

  1. Edit lightgiz.service to match your user/path.
  2. Copy to systemd:
    sudo cp lightgiz.service /etc/systemd/system/
    sudo systemctl enable --now lightgiz.service

Project Structure

lightgiz/
├── main.py              # Main daemon
├── screen_capture.py    # Screen capture module
├── color_extractor.py   # Color extraction
├── keyboard_controller.py # Keyboard LED control
├── wiz_controller.py    # Wiz bulb control
├── tray_indicator.py    # System tray interface
├── settings_window.py   # Settings GUI
├── config_manager.py    # Configuration management
└── config.json          # User settings

License

MIT - Do whatever you want with it.


Made with 💡 and vibecoding

About

screen and audio reactive ambient light project for wiz bulbs and tuxedo laptops

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages