Skip to content

Add ryoku-palette-bridge package - #225

Closed
Sipper1236 wants to merge 3 commits into
Ryoku-dev:mainfrom
Sipper1236:feature/palette-bridge-pkg
Closed

Sipper1236 wants to merge 3 commits into
Ryoku-dev:mainfrom
Sipper1236:feature/palette-bridge-pkg

Conversation

@Sipper1236

Copy link
Copy Markdown
Contributor

Summary

Adds the Ryoku Palette Bridge as a first-class package in the repo, so the hub page has something behind it.

What's included

  • Go binary () at
  • Doctor helper (ok palette is valid: /home/rayyan/.cache/ryoku/colors.json
    ok canonical service is active
    ok health endpoint responds
    ok published palette matches
    Ryoku Palette Bridge is healthy.) that validates palette health
  • Install/remove scripts for Spotify, Vesktop, and Zen integrations
  • systemd user unit for optional service management
  • Matugen templates (zen.css, vesktop-colors.css, matugen-apps.example.toml)
  • Spicetify extension (ryoku-wallpaper-colors.js)
  • Zen extension sources (background.js, manifest.json, palette.js)

Packaging

builds alongside the other Go repos (ryoku-hub, ryoku-shell, etc.) with .

Note

This is the backend side of PR #188. The UI page ( and QML settings) lives in the companion PR; install this package first so the UI has a real service to control.

rayyan added 3 commits September 21, 2026 10:12
Vendors the Palette Bridge into the main repo so the hub page has
something behind it. Ships the binary, doctor helper, install/remove
scripts, systemd user unit, Matugen templates, and the Zen extension
sources. The package is built alongside the other Go repos in
release/packages/ryoku-palette-bridge/PKGBUILD.
- Use /usr/bin in the systemd unit so the packaged service starts
  correctly (the old %h/.local/bin path only worked for the dev install)
- Make doctor.sh skip the jq-dependent palette-diff check when jq is
  absent, instead of hard-failing on a fully healthy bridge
- Wrap the palette validation jq call behind the have_jq guard so a
  missing jq no longer produces a false FAIL for an otherwise healthy bridge
- Add -ldflags='-s -w' to the build step so the shipped binary matches
  the size of other Ryoku Go packages (~20 MB vs ~25 MB)
@Sipper1236

Copy link
Copy Markdown
Contributor Author

Merged into PR #231

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant