Skip to content
weblingsPublic

About

Video / Audio to Hue light colors, supports Windows, Linux, and Mac. A modular, multiplatform processor of inputs to generate outputs.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Aurora

Aurora

  • A modular, multiplatform processor of inputs to generate outputs. Today that's video / audio to Hue light colors.
  • Runs entirely on your machine — your screen, audio, and settings never leave your computer or local network
  • Aurora's capture math, Hue streaming wire format, and many UI elements were distilled from Huenicorn into discrete modules

Try the GitHub pages demo - Uses an example 3D room so no real Hue lights needed

Quick Start

  • You need a Philips Hue bridge with registered lamps, and an entertainment area defined through Philips' official app.
  • Locate the latest GitHub Release and download the zip for your platform. Keep the contents of the folder together so the app can work correctly.
  • Dependencies:
    • Windows: Try launching Aurora. If you get an error saying "The code execution cannot proceed because VCRUNTIME140.dll was not found", then you need: Visual C++ Redistributable. If not, it's already installed and you're good to go.
    • Linux (Debian/Ubuntu): sudo apt install libx11-6 libxext6 libxrandr2 libxdamage1 libxrender1 pipewire libaubio5 libcurl4t64 libopencv-core406t64 libmbedtls14t64 (ffmpeg and GL pieces arrive automatically as dependencies of those; on other releases the curl/opencv/mbedtls package names differ slightly — e.g. libopencv-core410 / libmbedtls21 — and a missing-.so error on launch names its package).
      • Compiling from source on Linux? You need the -dev variants instead — see docs/Building.md.
    • Mac (Apple silicon, macOS 27 is the supported target) older macOS is untested, Intel is not supported: Drag Aurora.app into your Applications folder (this also lets Spotlight find it), and open it. macOS may ask you to confirm opening an app downloaded from the internet; choose Open. Grant Screen Recording (and Local Network, so Aurora can reach your bridge) when prompted.

Layout

One repo, with a directory per slice. You only build the ones for your platform:

  • core/ — capture/processing/output contracts, pipelines, orchestration
  • app/windows / app/linux / app/mac — the runnable apps; start here to use Aurora
  • input/windows / input/linux / input/mac — screen + audio capture plugins (DXGI on Windows; X11 / Wayland-Pipewire on Linux; ScreenCaptureKit on Mac)
  • output/hue — Philips Hue entertainment-streaming output plugin
  • web/ui — the setup/control interface the apps serve in your browser

Prebuilt binaries: See GitHub Releases. To compile from source instead, see below.

For Developers

To build from source or contribute, clone git clone https://github.com/weblings/Aurora.git and see docs/Building.md (all platforms, presets, install trees) and CONTRIBUTING.md (tasks, version rules, test gates).

content --> Input ---------------> Processing --> Output --> bulbs
(screen,      |                       |             |
 audio,      DXGI /                  color +       Hue
 video)      X11 /                   effect
             PipeWire /              pipeline
             ScreenCaptureKit /
             CoreAudio

Input, Processing, and Output are built to be swappable modules: write your own Input (capture source), Processing (source to effects handling), or Output (color / effects) module

  • Full task history lives in beads (.beads/ is committed, so it ships with the clone): install the bd CLI, then bd list / bd show <id> from the repo root — closed tasks carry the context behind these docs.
  • Each slice's README covers its own status, build flags, and tests; ctest --test-dir build/linux-app (or build/windows-app, build/mac-app) runs the full native suite.
  • docs/ holds the distillation notes (capture, Hue output, browser strategy), lessons, and build history.

Troubleshooting

I'm not seeing audio reacting

  • If no audio was actively playing before you toggled to audio the grabber might have trouble finding it. Switch back to video, play some audio, then try switching to audio.

Linux (Wayland): capture freezes or goes black

  • Aurora captures through DMA-BUF by default, which has been verified on Intel + GNOME. If capture freezes or goes black on another GPU or compositor, launch with AURORA_PW_DMABUF=0 to fall back to shared memory (note that fullscreen windows may then freeze capture), and please file an issue.

Setup sees the Hue bridge but pairing never completes ("Press the button on your bridge")

  • Make sure the computer is on the same Wi-Fi/network as the bridge, the button press only registers on the bridge's own network.

Mac: Aurora can't find or reach the Hue bridge

  • macOS asks for Local Network access the first time Aurora talks to the bridge. If you chose Don't Allow, turn Aurora on in System Settings > Privacy & Security > Local Network, then quit and reopen Aurora.

Art

License

Aurora is licensed under the GNU General Public License v3.0 — same as Huenicorn, which its logic is distilled from. Huenicorn is GPL-3.0-only, so files ported from it stay under that licence; the list is in THIRD_PARTY_NOTICES.md.

  • Huenicorn by OpenJowel is a free Philips Hue screen synchronizer for GNU/Linux. Huenicorn was the reason I started exploring Linux again years ago, thank you OpenJowel!
  • RockyRoad by me is a web browser note-highway music app for guitar and piano with full support for WebXR-capable headsets. I repurposed a lot of the design tokens and components I built out there for this project.
  • Hyperion, OBS, RustDesk and other projects consulted as references, and every project whose code or assets are in Aurora, are recorded in THIRD_PARTY_NOTICES.md.

Intent and AI Disclaimer

  • This repo is vibecoded. One project goal was to experiment with using AI to translate my past decade of Unity and XR coding knowledge to native Windows, Linux, and MacOS apps in C++.
  • I've found the 1P Hue apps on various platforms unreliable over the years. Huenicorn has been a breath of fresh air! I was curious to see if I could extend some of the work its done.
  • Long-term I'd like to extend this framework to handle inputs beyond media and drive outpts beyond colors. We'll see

About

Video / Audio to Hue light colors, supports Windows, Linux, and Mac. A modular, multiplatform processor of inputs to generate outputs.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages