Skip to main content

🚀 pipeglow

Visualize CI pipeline status with smart lights

🗺️ Overview

pipeglow updates your smart lights to provide real-time visual feedback about your CI pipeline status. By automatically changing light colors based on pipeline states, you get immediate visual notifications about how your builds and deployments are going.

🛠️ Installation

pip install pipeglow

📋 Configuration

Create a .env file with the following environment variables:

GOVEE_API_KEY=your_api_key_here
GOVEE_DEVICE_ID=your_device_id
GOVEE_DEVICE_MODEL=your_device_model
GITLAB_API_TOKEN=your_gitlab_token
GITLAB_PROJECT_ID=your_project_id

✨ Features

🌈 Pipeline Status Colors

Each pipeline state is represented by a distinct color:

  • 💛 Preparing/Pending: Yellow (#9F9110)
  • 💗 Waiting: Pink (#DC6BAD)
  • 💙 Running: Blue (#3974C6)
  • 💚 Success: Green (#309508)
  • ❌ Failed: Red (#FF0000)
  • ⚫ Canceled/Skipped: Dark Gray (#212121)

🌞 Dynamic Brightness

Light brightness automatically adjusts based on pipeline update recency:

  • Recent updates appear brighter
  • Brightness gradually dims as updates age
  • Provides intuitive temporal feedback

🦊 GitLab Integration

There is support for checking any GitLab instance (.com, self-managed or GitLab Dedicated). By default, pipeglow assumes gitlab.com.

💡 Lighting Integration

Today, pipeglow works with Govee lights. You will need a Govee API key in order to use pipeglow. You will need to run pipeglow on a machine with access to the Internet so that it can communicate with the Govee API.

🚀 Usage

This will cause pipeglow to check the project you specified in .env and update the light specified in .env accordingly. (Alternately, you can set the items specified in .env as environment variables.)

pipeglow change_the_lights

Specify a different GitLab URL:

pipeglow change_the_lights --gitlab-url https://gitlab.example.com
uvx pipeglow change_the_lights

Run a command like this in a loop to check and update the lights once every 15 seconds:

while true; do
    uvx pipeglow change_the_lights
    sleep 15
done

Alternately, you can use set_the_lights to set the lights based on a pipeline status. This is useful if you have a webhook trigger pipeglow.

uvx pipeglow set_the_lights success
# pipeglow set_the_lights  --light-status running
🚀 Just set the lights to running please!
🏆 The light has been updated!

📄 License

MIT License

Metadata

Release files for pipeglow 0.0.975

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pipeglow 0.0.975
File Size Uploaded
pipeglow-0.0.975.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pipeglow 0.0.975
File Interpreter ABI Platform
pipeglow-0.0.975-py3-none-any.whl Python 3 none any Details

Total release size: 16.8 kB

Release files / pipeglow-0.0.975.tar.gz

Download URL pipeglow-0.0.975.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4bcad5aa5e00810ca7215d3c52f8068071e0c3f4ea6f274a6f5a2f7e8f807c09
BLAKE2b-256 checksum
How to use checksums
f2576c6cba108d2a3e73fc8f141b75cf32a2a1405b22a6d53c24a7e5343468d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / pipeglow-0.0.975-py3-none-any.whl

Download URL pipeglow-0.0.975-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e0ae1595418dd7d4f66190e36f8c8a7a01f09a6f322ea992be0dc943e735731
BLAKE2b-256 checksum
How to use checksums
50c30bbe6c97f987095b1f62df4d4a36e0e95018a8f1d804b15e94602b39a7e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.0.975 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page