"""LED Grab - Ambient lighting based on screen content."""

from importlib.metadata import version, PackageNotFoundError

try:
    __version__ = version("wled-screen-controller")
except PackageNotFoundError:
    # Running from source without pip install (e.g. dev, embedded Python)
    __version__ = "0.0.0-dev"

__author__ = "Alexei Dolgolyov"
__email__ = "dolgolyov.alexei@gmail.com"

# ─── Project links ───────────────────────────────────────────
GITEA_BASE_URL = "https://git.dolgolyov-family.by"
GITEA_REPO = "alexei.dolgolyov/wled-screen-controller-mixed"
REPO_URL = f"{GITEA_BASE_URL}/{GITEA_REPO}"
DONATE_URL = ""  # TODO: set once donation platform is chosen
