Pipedash
Deployment

Desktop app

Where the Pipedash desktop app keeps data, tokens and config on macOS, Windows and Linux, plus its settings, in-app updates and installers.

The Pipedash desktop app is a Tauri 2 application for macOS, Windows and Linux. It runs SQLite storage and keeps provider tokens in the operating system keyring by default. The native identifier is com.henrique.pipedash.

Window

The configured window size is 1700 by 1000 pixels, with the title "Pipedash". At startup, Pipedash maximizes the window if its outer width or height exceeds the monitor's available work area. The native title bar is off, so Pipedash draws its own header and window controls.

  • macOS: window controls sit at the left of the header.
  • Windows and Linux: window controls sit at the right of the header.
  • Drag: the header is a drag region, so dragging the header moves the window.
  • Maximize: a double-click on blank header space maximizes the window. The window buttons show the real state, and the maximize button reads "Restore window" while the window is maximized.

Settings, General has a Theme control with Dark, Light and System. It also has a Platform selector with Auto-detect, macOS, Windows and Linux. The selector overrides the detected platform, which moves the window controls. The "Check provider status pages" switch and the "Proxy URL" field sit in the same section. The Configuration page covers both settings.

Desktop integration

Settings, General has a Desktop integration card.

ControlDefaultEffect
Show in menu barOffShows the native menu bar item on macOS.
Show in system trayOffShows the native tray icon on Windows and Linux.
Keep running when the window closesOffKeeps the app process open when the main window closes. This needs a working menu bar item or tray icon.

With Keep running when the window closes on, closing the window hides it on macOS and Windows. On Linux, closing minimizes it so the window remains accessible without a tray host. Quit Pipedash stops the app.

Turning the menu bar item or tray icon off also turns off Keep running when the window closes. These settings live in desktop.json inside the app data directory.

Linux desktops can need a tray extension. If Pipedash cannot create or update the native tray, General settings shows "Desktop integration needs attention" with a retry action.

The card also links to Manage pinned pipelines and Notification settings.

Native application menu

On macOS, Pipedash adds these commands to the native application menu:

MenuItemShortcut
ApplicationSettings…Cmd+,
ApplicationLockCmd+L
PipelinesRefresh AllCmd+R
PipelinesToggle SidebarCmd+\
PipelinesFindCmd+F

Settings… opens General settings. Lock locks the local session. Refresh All requests a manual refresh. Toggle Sidebar and Find act on the interface.

Windows and Linux do not show this native application menu.

Clicking the menu bar item or tray icon opens its menu. Open Pipedash restores and focuses the main window.

The icon uses the first state in this order whose condition holds:

Yes

No

Yes

No

Yes

No

Yes

No

Offline?
Local session unavailable
or host not ready

Offline

Failing?
Pinned failed or degraded pipeline allowed by notification preferences
or unread danger notification

Failing

Running?
Pinned pipeline pending or running
or run watch active

Running

Attention?
Other notifications unread

Attention

Idle

StateMeaning
OfflineThe local session is unavailable, or the connected host is not ready.
FailingA pinned pipeline is failed or degraded and the notification preferences allow its alerts, or a danger notification is unread.
RunningA pinned pipeline is pending or running, or a run watch is active.
AttentionOther notifications are unread.
IdleNone of these conditions applies.

Windows and Linux use red, blue and amber status dots. macOS uses a monochrome template icon and a hollow running indicator. The macOS menu bar item also shows the unread count. The tooltip summarizes failures, running pipelines, the current watch and unread notifications.

The menu includes:

  • Open Pipedash and the current status summary.
  • Up to 3 unread notifications, Mark all as read and Notifications….
  • The current run watch, when one exists, with Open run and Stop watching while it is active.
  • Up to 8 pinned pipelines. Each available pipeline has Open pipeline, Choose run to watch… and Unpin actions.
  • Show all pinned pipelines… when more than 8 are pinned, plus Manage pins….
  • Pinned views and repositories, when any exist, with Manage views….
  • All pipelines and Refresh all.
  • Settings links for General, Notifications and Providers, plus a System notifications switch.
  • Lock Pipedash for a local session and Quit Pipedash.

Opening a notification marks it as read. Refresh all stays disabled while its refresh request runs.

When the local session is locked or the host connection is unavailable, the menu hides pipeline details. It shows Open Pipedash, the readiness or connection message and Quit Pipedash.

Token storage

The desktop app uses the system keyring when the backend is SQLite, no vault password is set and no encrypted tokens exist. The app stores tokens as one JSON map under service pipedash and account tokens.

If PIPEDASH_VAULT_PASSWORD is set or encrypted tokens exist, the app uses encrypted SQLite. The keyring stays as a fallback and tokens migrate from it on read. The token storage page covers the full rules.

Data and config paths

At startup the app creates its app data directory, which Tauri builds from the platform data directory and the identifier. Settings, Storage shows the exact path. The app sets PIPEDASH_CONFIG_PATH to config.toml inside that directory. A new install writes a config with backend = "sqlite", metrics_enabled = true, default_refresh_interval = 300 and data_dir set to the same directory.

The SQLite file is pipedash.db inside the effective data directory. A non-empty storage.data_dir chooses that directory before PIPEDASH_DATA_DIR or the platform fallback. Because the starter config sets storage.data_dir, changing only PIPEDASH_DATA_DIR does not replace that saved location.

Use Settings, Storage to move existing data. The installation guide lists the core/web fallback paths. Those paths do not replace the native app directory in the starter config.

Start-up problems

  • Config file errors: a TOML syntax error, an unset ${VAR} without a default, or an invalid [views.<key>] table does not crash the app. The window opens without the core and shows "Configuration file has errors" with the list of errors. Its hint reads "Fix the errors in <config path>, then retry." The Retry button loads the file again.
  • Corrupt database: when Pipedash cannot open pipedash.db because the file is corrupt, it moves pipedash.db and metrics.db into a corrupt_backups folder next to them. The files get the names pipedash_<YYYYMMDD_HHMMSS>.db.corrupt and metrics_<YYYYMMDD_HHMMSS>.db.corrupt. The app then starts with a new empty database. If the recovery fails, Pipedash restores the original files. This works for a custom storage.data_dir as well. A problem that is not a corrupt database, such as a wrong configuration, does not trigger it.

Settings sections

Settings, General page with Theme, Platform and Danger zone cards
Settings on a wide window, with the section sidebar at left.

Settings has 8 sections. On a wide window they sit in a sidebar. At 768 px and below they become tabs under the header.

SectionCovers
GeneralTheme, platform override, provider status page checks, proxy URL, desktop integration and Factory reset
NotificationsThe "Enable notifications" switch, alert types, provider mutes and pipeline watches, covered in notifications
ProvidersProvider list, refresh interval edits, Import and Export, covered in import and export
DevicesThis device's mode, sharing on the network and paired devices, covered in share with other devices
MetricsCollection and retention, covered in metrics
CacheCache statistics and clearing, covered in cache
StorageBackend, data directory, config file and migration, covered in storage backends
AboutApp version, the links to the privacy policy, support and source code, and the Updates card

Share with other devices

The desktop app can act as a host for the Pipedash apps on phones and other computers. A paired device shows the pipelines of this computer and uses its providers. The device needs no provider tokens of its own. The Server mode page walks through a full pairing with screenshots.

  1. Open Settings, Devices and turn on "Share on this network". The operating system firewall can ask whether Pipedash may accept incoming connections. Allow it.
  2. Choose "Add device". Pipedash shows a QR code, the server address, an 8-character code such as ABCD-EFGH and a pairing link. A code works once and expires after 5 minutes.
  3. On the new device, scan the QR code, paste the pairing link, or type the address and the code. The Mobile page covers the phone side.

The computer serves on its LAN address over plain HTTP, at http://<lan-ip>:<port>. Keep Pipedash open and the computer awake, or the devices lose the connection. If the LAN address of the computer changes, pair the devices again.

"Use a new port" changes the port of the shared address. Every paired device must pair again after it.

Settings, Devices lists the paired devices with their platform and last connection. Removing a device closes its connection at once. A locked vault answers 503 with HOST_LOCKED, and devices reconnect after the vault opens. A paired device cannot change the vault, setup, storage, push settings or factory reset of this computer. A factory reset on this computer removes every paired device. The Security page covers the tokens and the rules.

Alerts for phones

A shared computer records alerts while at least one device is paired, and phones check them in the background.

For push delivery to iPhone and iPad, the computer's owner turns on "Background notifications" in Settings, Notifications. The phone also needs "Enable notifications" on and system permission. The switch starts off on a computer that never shared. A computer that was already sharing before the upgrade keeps push on once, and later choices stick. A non-empty PIPEDASH_PUSH_RELAY_URL overrides the setting and disables the switch.

The computer sends relay.pipedash.app a subscription ID and an alert ID, without the alert title, body or pipeline name. The relay sees when alerts happen. The phone downloads the alert text from this computer, so the computer must stay reachable.

Settings, Devices marks a registered phone with "Push alerts on". The Notifications page covers delivery and relay settings.

Factory reset

Settings, General, Factory reset removes every provider and clears the pipeline, history and parameter caches. It also flushes all metrics and removes every stored token, including old per-provider keyring entries. The reset removes the providers from config.toml too, and it clears notification state, recorded alerts, push registrations and app lock settings. A confirmation dialog says the action cannot be undone.

Updates

The desktop app updates itself from the signed releases on GitHub. It asks before it downloads or installs anything.

  • Automatic check: Pipedash looks for a new release once the app finishes starting, or after 10 seconds at the latest, and then once a day. Development builds skip the automatic check.
  • Prompt: a found release opens the "Update available" dialog with the new version, the installed version ("You have 0.13.0.") and the release notes. "Later" hides that version until Pipedash starts again.
  • Update and restart: downloads the package, checks its signature against the public key built into the app, installs it and restarts Pipedash. The dialog shows the download progress and cannot be closed while the install runs. A failed install keeps the dialog open with "Couldn't install Pipedash <version>. Retry, or download it from the releases page."
  • Proxy: the check and the download use the "Proxy URL" from Settings, General when one is set.

Settings, About has an Updates card. The "Check for updates automatically" switch is on by default, also for installs from before the updater, and it lives in desktop.json. "Check for updates" works with the switch off and reports for example "Pipedash 0.13.1 is the latest version." After "Later", the card keeps the "Update and restart" button. A failed check reads "Couldn't check for updates. Check your connection and retry."

Version 0.13.0 and older have no updater. Install one newer release by hand from the downloads page, and later versions update in the app. The web server and the phone apps do not use this updater.

Release bundles

Each version tag publishes these bundles to a GitHub release.

OSTargetsBundles
macOSUniversaldmg, app
Windowsx86, x86_64, ARM64nsis installer
Linuxamd64, arm64deb, rpm, appimage

There is no MSI bundle. File names follow the release, for example pipedash_0.4.0_universal.dmg and pipedash_0.4.0_amd64.AppImage on release 0.4.0.