Skip to content

Desktop Client Configuration

After deploying your self-hosted Flow-Like backend, you need to configure the desktop application to connect to it instead of the default cloud service.

Set the FLOW_LIKE_API_URL environment variable before launching the desktop app:

Terminal window
# Linux / macOS
export FLOW_LIKE_API_URL=https://your-api.example.com
./flow-like
# Windows (PowerShell)
$env:FLOW_LIKE_API_URL = "https://your-api.example.com"
.\flow-like.exe
# Windows (Command Prompt)
set FLOW_LIKE_API_URL=https://your-api.example.com
flow-like.exe
VariableDescriptionExample
FLOW_LIKE_API_URLFull URL to your self-hosted APIhttps://api.flow-like.internal

The URL should point to your API service:

  • Docker Compose: http://localhost:8080 or your exposed endpoint
  • Kubernetes: The external URL of your api service (e.g., via Ingress)

For custom builds, you can also set the default backend at compile time:

VariableDescription
FLOW_LIKE_CONFIG_DOMAINDomain without protocol (e.g., api.example.com)
FLOW_LIKE_CONFIG_SECUREUse HTTPS (true or false, defaults to true)

These are set via option_env!() during the Rust build process.

After configuring, verify the connection:

  1. Launch the desktop app
  2. Check the settings panel for the connected backend URL
  3. Try logging in or creating a local app

Ensure your API is reachable from the desktop machine:

Terminal window
curl -v https://your-api.example.com/health

If using self-signed certificates, you may need to add them to your system’s trust store or use HTTP during development.

If your API uses HTTP but the app expects HTTPS, ensure your FLOW_LIKE_API_URL includes the correct protocol.