Skip to content

Run the standalone picker

The GitHub quickstart has the same steps if you prefer to follow along in the repository.

You need Git, Docker with Compose, and a trusted network. Anyone who can reach the picker can change the shared palette. Use an authenticated reverse proxy if you need to restrict access.

  1. Download the Compose files and create the settings file and state directory. Run these commands as the account that will own the saved selection.

    git clone https://github.com/scottgigawatt/swatcharr.git
    cd swatcharr
    cp example.env .env
    mkdir -p state
    id -u
    id -g
    
  2. In .env, set SWATCHARR_UID and SWATCHARR_GID to the two IDs. If port 8784 is already in use, set SWATCHARR_WEBUI_PORT to an available port. If you use a reverse proxy, set SWATCHARR_ALLOWED_HOST to its hostname and forward the original Host header.

  3. Validate the chart and start the published image.

    docker compose config --quiet
    docker compose up -d
    
  4. Open http://localhost:8784 on the Docker host, or use its LAN address from another device. If you changed SWATCHARR_WEBUI_PORT, use that port in either address. Choose a palette, select Apply theme, and reload the picker. The same swatch should still be selected.

The picker saves the selection in state/selected.css. Back up that file to preserve the choice. To restore an app's original appearance, choose App default, select Apply theme, and reload the app.

Apply the palette to your apps

Connect your applications so each web interface reads the shared selection. If saving a change fails or one app keeps its original colors, troubleshoot the picker.

Choose an image, update the picker or stop it when you are ready to maintain the deployment.