sblantipodi/firefly_luciferin
关于
Real time video capture and processing software for desktop and embedded systems, designed to drive Glow Worm Luciferin firmware and deliver a fast, responsive Ambient Lighting Experience.
设计与媒体可以做什么
- Hardware accelerated processing: Best in class performance combined with ultra low CPU/GPU usage.
- Advanced algorithms for smooth color transitions and color correction.
- Adaptive gamma provides significantly improved color accuracy on both SDR and HDR content.
- HDR to SDR tone mapping adapts HDR color and brightness to your LEDs.
实测星标增长
- 24小时
- 0
- 7天
- +26
- 15天
- +27
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Luciferin
Bring your games, movies, and shows beyond the screen.
Luciferin fills your walls with the colors on screen, turning every scene into immersive ambient lighting. Capture your PC directly or connect consoles and TV sticks through HDMI capture. Add satellite lights to extend the experience around your room.
Firefly Luciferin captures the screen and calculates the colors. Glow Worm Luciferin, the firmware on your LED controller, brings them to your LEDs. Built together for ultra-low latency over Wi-Fi, Ethernet, or USB.
Why Luciferin? Luciferin is the naturally occurring light emitting compound responsible for bioluminescence in fireflies and glow worms. That's the inspiration behind the names Firefly Luciferin and Glow Worm Luciferin.
Control it from your desktop, phone, or AI assistant.
If you like Luciferin, give it a star, or fork it and contribute!
Click the image to watch Luciferin in action.
Two capture modes, one lighting system
| Your setup | How it works |
|---|---|
| PC gaming and desktop use | Run Firefly on the Windows or Linux PC whose screen you want to capture. No capture card required: this is the recommended, most responsive setup for PC gaming. |
| TV, console, or TV stick | Feed the HDMI source to both your TV and a USB capture card through an HDMI splitter. Firefly processes the captured video on a PC or Raspberry Pi, so you can enjoy ambient lighting without keeping a PC next to the TV. |
Firefly automatically detects whether a desktop is available. The web interface is always available, and a dedicated desktop interface is available when a desktop environment is present. On a Raspberry Pi with limited RAM, an installation without a desktop leaves more memory available for capture and processing.
Key features
- Hardware accelerated processing: Best in class performance combined with ultra low CPU/GPU usage.
- Advanced algorithms for smooth color transitions and color correction.
- Adaptive gamma provides significantly improved color accuracy on both SDR and HDR content.
- HDR to SDR tone mapping adapts HDR color and brightness to your LEDs.
- Remote control: use Firefly from phone or desktop, and Glow Worm via its built in web interface.
- AI control through MCP: ask a compatible AI assistant to control Luciferin using natural language.
- Home automation: supports Home Assistant, MQTT, and Matter, all optional for a basic setup. Use Matter to add it as a light in Alexa, Google Home, or other compatible systems.
- Multi monitor support with single or multiple instances.
- Surround lighting with satellites.
- Web browser firmware installer.
- Programmable firmware, change your microcontroller's settings on the fly.
- One click updates for both the PC software and firmware, keeping your entire setup up to date effortlessly.
- Automatic black bar detection and aspect ratio adjustment for video content.
- Built for gamers, with low overhead capture designed to preserve smooth gameplay.
- Multi platform, Windows and Linux ready, supporting x86 and ARM architectures.
- Prefer a DIY build over a prebuilt board? Grab your soldering iron and use Luciferin’s official PCB, without designing your own.
- Have a question? Ask the community.
Quick start
You can download the Firefly Luciferin installer for Windows or
Linux here.
The Linux version is also available on Flathub
and Snap Store.
Glow Worm Luciferin firmware can be flashed on your device using the
Why don't you build your own Luciferin?
Get up and running in minutes with the Quick Start
guide, or dive into the complete
Wiki for every feature and setting.
Easy to learn, easy to use
Effortless setup with minimal configuration required, yet highly customizable to meet specific needs.
When a desktop environment is available, the dedicated desktop interface provides additional customization options, while the web interface remains accessible.
(click the image above to watch it on YouTube)
Luciferin Official PCB
Unlike other prebuilt boards (which are also compatible with Luciferin), the official PCB is upgradable!*
Prefer a DIY build over a prebuilt board? Grab your soldering iron and use Luciferin’s official PCB, without designing your own.
The Luciferin Official PCB requires a "D1 Mini format" board. With the new Luciferin Module for the Official PCB, you can use a smaller board, opening up more upgrade possibilities without the need to replace the PCB or redo any soldering or cabling.

Explore other compatible hardware, including supported prebuilt ready-to-use controllers.
Performance and hardware acceleration
Firefly Luciferin uses hardware acceleration to deliver responsive lighting with low CPU and GPU usage.
Luciferin is deeply integrated with your operating system through a series of bindings to native libraries.
This guarantees maximum efficiency and compatibility.
Depending on your operating system and hardware, supported technologies include
DirectX 12, OpenGL, Vulkan, Nvidia CUDA, Intel GPU acceleration, AMD ROCm HIP, SIMD (AVX, AVX2 and AVX512).
The FPS view shows how fast Firefly captures frames and how fast your LED controller processes them. For consistent lighting, keep the capture rate within your controller’s capabilities and ensure a strong Wi-Fi signal when streaming wirelessly.
Firefly Luciferin integrates GStreamer through GStreamer Java bindings, combining native multimedia processing with hardware-accelerated capture for high performance and low resource usage.
Explore capture performance and benchmarks.
Luciferin Web Interfaces
Both Luciferin components expose a Web Interface, so you get full control of your lights from any browser, including your phone.
- Glow Worm Luciferin (FULL firmware): control your lights straight from the browser, with no need for the Firefly Luciferin desktop client.
- Firefly Luciferin: besides the desktop app, it now offers its own web interface for full control from your phone or any browser.
Home Assistant integration
Luciferin can be easily integrated
in Home Assistant.

Thanks to Matter over WiFi it can be easily integrated with Google Home and Alexa.
Works with virtually every smart home system
Thanks to Matter over WiFi, Luciferin integrates with the major smart home ecosystems using a modern and standardized local protocol.
Control your lighting through Alexa, Google Home, Apple Home, Smarthings and others.
Advanced rendering pipeline
Luciferin’s rendering pipeline is built for precision and visual fidelity. Floating-point processing delivers smoother gradients, minimizes rounding artifacts, and maintains consistent color transformations throughout the pipeline.

HDR to SDR tonemap with LUT (Lookup Table)
Most affordable USB HDMI capture cards don't support HDR properly. When capturing HDR content, colors can appear severely washed out, with reduced contrast and inaccurate brightness.
TV or monitor can display a wider brightness range than an LED strip. HDR to SDR tone mapping adapts that range so the lighting keeps useful detail and colors instead of looking too dark or washed out.

Smoothing and Frame Generation
Luciferin’s Smoothing combines frame generation and Exponential Moving Average to create smoother LED color transitions and reduce flickering with both PC and HDMI capture, offering customizable settings to balance fluidity, responsiveness, and system load.


AI Agents and MCP (Model Context Protocol)
MCP (Model Context Protocol) connects Firefly Luciferin to a wide range of AI tools and assistants that support this open standard. Use your preferred MCP-compatible AI client to control lighting, adjust settings, and check connected devices through natural language. This lets you integrate Firefly into your AI workflows and automate lighting tasks directly from your assistant.

Aspect Ratio
Automatic aspect ratio settings keep the LEDs focused on the picture instead of black bars. They apply to both PC screen capture and HDMI capture, such as a widescreen movie on a TV.
Web Installer and automatic updates
Flash Glow Worm Luciferin firmware in a few clicks, directly from a compatible browser on your desktop computer or
Android phone.
Connect your ESP board with a USB data cable and open the Web
Installer.
Automatic updates are available for both the Firefly Luciferin desktop app and Glow Worm Luciferin Full
firmware.
Firefly can update the firmware on connected controllers over the air (OTA) via Wi-Fi. See the update
guide for details.
Development & AI
Luciferin was born years before the AI boom. Today, its development also benefits from locally run models and frontier AI models as supporting tools.
Architecture, design, and code review remain human-led, alongside a substantial share of the code.
探索相关项目
加载中…




