Pipedash dev environment setup with mise, running the app, every mise task, the Tauri prerequisites and the cargo features.
A working toolchain takes mise, a clone of the repository and two commands. This page lists the tools, the tasks and the cargo features of the Pipedash repository.
Environment setup
The repository uses mise for tools and tasks. mise.toml pins these tools:
| Tool | Version |
|---|---|
| Rust | nightly-2026-10-31, with the components rust-src, llvm-tools, clippy, rustfmt and rustc-dev |
| Node | 26 |
| Bun | 1.4.4 |
| zizmor | 1.32.0 |
| OSV Scanner | 2.7.0 |
The file sets RUST_LOG=debug and K8S_OPENAPI_ENABLED_VERSION=1.32. rust-toolchain.toml selects nightly-2026-10-31 for Cargo with the components rustfmt, rustc-dev, clippy, rust-src, llvm-tools-preview and rust-std.
Keep the Rust versions in both files aligned. Run cargo fmt without a toolchain override so formatting uses the pinned compiler.
These commands install mise, clone the repository, install the tools and then the frontend dependencies:
curl https://mise.run | sh
git clone https://github.com/hcavarsan/pipedash.git
cd pipedash
mise install
mise run installThe desktop app needs the system libraries that Tauri lists in its prerequisites. The CI jobs on Ubuntu install these packages:
sudo apt install -y build-essential curl wget file libxdo-dev libssl-dev \
libayatana-appindicator3-dev librsvg2-dev libwebkit2gtk-4.1-dev patchelf xdg-utilsRunning the app
mise run devdev runs the full stack with hot reload. It starts the backend with cargo watch and the Vite frontend side by side, and the frontend starts after the backend answers /api/health. mise run dev:tauri starts the native app.
Mise tasks
| Task | What it does |
|---|---|
dev | Backend with cargo-watch and the Vite frontend |
dev:front, dev:back | Frontend only, backend only |
dev:tauri | Desktop app |
dev:ios, dev:android | Mobile development |
build | Release build of pipedash-web after build:front |
build:front | Frontend assets |
build:tauri | Desktop bundles |
build:ios, build:android | Mobile builds |
build:analyze | Frontend build with bundle analysis |
check, check:front, check:back | TypeScript type check with tsc --noEmit and cargo check --workspace --all-targets --all-features |
lint | lint:front, lint:back, lint:actions, lint:structure and lint:dup |
lint:front | Frontend Biome checks (bun run lint), followed by lint:screenshots |
lint:screenshots | Frozen dependency installation, TypeScript checking and knip in ios/app-store-screenshots |
lint:back | Clippy with warnings denied |
lint:actions | zizmor --persona=pedantic .github |
lint:structure | Tests the structure checker, then audits source structure |
lint:dup | bunx jscpd, with a 1% duplication threshold |
audit:deps | osv-scanner scan source --recursive . |
new:plugin | Generates a provider crate and adds its registry dependency |
fix, fix:front, fix:back | biome check --write . and cargo clippy --fix --allow-dirty |
fmt, fmt:front, fmt:back | biome format --write . and cargo fmt --all |
fmt:check, fmt:front:check, fmt:back:check | biome format . and cargo fmt --all -- --check |
test, test:back | cargo test --workspace --all-features |
test:postgres | PostgreSQL tests of pipedash-core. The task needs TEST_DATABASE_URL |
ci | fmt:check, lint, check and test |
precommit | fmt, lint and check in sequence |
release | ci and build |
bump:patch, bump:minor, bump:major | Version bump with the bump_version binary in hacks, then cargo update |
install | Installs frontend dependencies with bun install |
install:ios, install:android | Initializes the mobile targets |
examples:sqlite:up, examples:sqlite:down | Builds and starts the SQLite Docker example, or stops it and deletes its volumes |
examples:postgres:up, examples:postgres:down | The same for the PostgreSQL example |
examples:demo:up, examples:demo:down | Builds and starts the public demo stack, or stops it and deletes its volumes |
clean | cargo clean and removal of crates/pipedash-web/dist and the Vite cache |
knip | Finds unused code |
icons | Generates app icons from app-icon.png into crates/pipedash-desktop/icons with the Tauri CLI |
deps, deps:minor | Updates dependencies with taze, major or minor |
bun run test type-checks tests with tsc -p tsconfig.test.json and runs bun test --isolate src. Bun isolates each test file. DOM tests unmount React roots and clear React Query clients before unregistering Happy DOM.
Run python3 scripts/test_icons.py to check icon generation in a temporary checkout without changing tracked icons. The CI Biome job runs this check after dependency installation, followed by lint:front and bun run test.
Contributor checks
mise run ci runs formatting, lint, type checks and the Rust workspace tests. It does not run bun run test or the ignored PostgreSQL tests.
The repository requires this full check sequence:
mise run fmt:check && mise run lint && mise run check && mise run test:back && bun run test
TEST_DATABASE_URL=postgresql://postgres:[email protected]:5432/pipedash_test \
mise run test:postgresmise run precommit formats, lints and type-checks. It does not run tests.
Dependency auditing runs locally with mise run audit:deps. CI dependency scanning is paused for existing Tauri Linux dependency findings. Changes must not add findings. The contributing page lists the code rules that lint:structure and lint:dup enforce.
Cargo features
| Feature | Crates | Effect |
|---|---|---|
postgres | pipedash-core, pipedash-desktop, pipedash-web | Compiles PostgreSQL support. It is in the default features of all 3 crates |
full | pipedash-core, pipedash-web | Enables postgres |
devtools | pipedash-desktop | Enables tauri/devtools |
custom-protocol | pipedash-desktop | Enables tauri/custom-protocol |
embedded-frontend | pipedash-web | Embeds frontend assets. Enabled by the crate's default features and required by its binary |
A PostgreSQL storage backend needs the postgres feature at build time. The storage backends page covers the runtime choice.
The pipedash-web crate defaults to postgres and embedded-frontend. Its full feature enables only postgres. The root workspace dependency disables default features so library consumers can choose them.
Next step
The architecture page shows where a change belongs, and the contributing page covers the templates and checks. The iOS release page covers the iOS build and release workflows.
Plugin development
Adding a CI/CD provider to Pipedash. Covers the scaffold command, generated files, metadata, registration, local IDs, backend presentation, the Plugin trait, health and HTTP hooks, run log hooks, shared helpers, contract tests and the retry policy.
Security
How Pipedash stores and encrypts tokens, protects the web API and WebSocket, pairs devices, limits unencrypted HTTP, rejects cross-origin writes, handles telemetry and receives vulnerability reports.