Skip to main content

Projects

Projects tab showing project selection and project-specific settings
The Projects tab allows you to configure settings specific to individual projects.

Accessing Project Settings

  1. Open Settings from the Workspaces navbar
  2. Select the Projects tab
  3. Choose a project from the dropdown to view and modify its settings
Project settings override global settings where applicable.

Repositories

Repositories tab showing repository selection, general settings, and scripts configuration
The Repositories tab allows you to configure scripts that run when a repository is used in workspaces.

Accessing Repository Settings

  1. Open Settings from the Workspaces navbar
  2. Select the Repositories tab
  3. Choose a repository from the dropdown to view and modify its settings

General Settings

Configure basic repository information:
  • Display Name - A friendly name for this repository
  • Repository Path - The local path to the repository

Scripts & Configuration

Configure dev server, setup, and cleanup scripts for this repository. These scripts run whenever the repository is used in any workspace, ensuring a consistent development environment.

Dev Server Script

Command to start your development server. This enables the built-in preview browser in Workspaces, allowing you to see your application running as you make changes. Common examples:
The dev server must output its URL (e.g., http://localhost:3000) to stdout for Vibe Kanban to detect and display it in the preview panel.

Browser Testing

Learn how to use the built-in preview browser with your dev server

Setup Script

Commands that run before the coding agent starts working. Use this to prepare the development environment. Why use a setup script?
  • Install dependencies - Ensure all packages are installed before the agent modifies code
  • Build prerequisites - Compile shared libraries or generate files the agent needs
  • Environment preparation - Set up databases, pull Docker images, or configure services
Examples:
Setup scripts run in the repository’s root directory. They execute once when the workspace starts, not on every agent message.

Cleanup Script

Commands that run when a workspace closes. Use this to clean up resources and stop background processes. Why use a cleanup script?
  • Stop services - Terminate background processes that might conflict with other workspaces
  • Free resources - Release database connections, Docker containers, or other resources
  • Clean temporary files - Remove build artifacts or cache files
  • Format code - Run formatters to ensure consistent code style after agent changes
Examples: Code formatting examples: Combining multiple commands:
Cleanup scripts should be idempotent—safe to run even if the resources don’t exist. Use || true to prevent failures when there’s nothing to clean up.

Best Practices

Long-running setup scripts delay workspace startup. Install dependencies in setup, but avoid lengthy build processes unless necessary.
Scripts run from the repository root. Use relative paths or environment variables rather than hardcoded absolute paths.
Add || true to commands that might fail but shouldn’t block the workspace:
Run your scripts manually in a terminal before configuring them in Vibe Kanban to ensure they work correctly.

Browser Testing

Learn how the dev server integrates with the preview panel

Multi-Repository Sessions

Working with multiple repositories in a single workspace