Skip to main content

Open multiple Windsurf (VS Code-based) instances for different directories/paths

Project description

Open Windsurf

Windsurf Python Poetry License Generated

A simple utility to open multiple Windsurf (VS Code-based) instances for different directories/paths.

FeaturesInstallationUsageExamplesOptions

✨ Features

🚀 Multiple Instances - Open different projects in separate Windsurf windows
🔍 Path Validation - Automatically checks if paths exist
⚙️ Flexible Options - Supports profiles, custom data directories, and more
💻 Simple Interface - Easy to use command-line tool
📦 Poetry Package - Easy installation and dependency management

📦 Installation

From Source

# Clone the repository
git clone https://github.com/yourusername/open-windsurf.git
cd open-windsurf

# Install with Poetry
poetry install

# Activate the virtual environment
poetry shell

Using pip (once published)

pip install open-windsurf

🚀 Usage

When installed with Poetry

# Within Poetry shell
open-windsurf PATH1 PATH2 PATH3 ...

# Or using Poetry run
poetry run open-windsurf PATH1 PATH2 PATH3 ...

When installed with pip

open-windsurf PATH1 PATH2 PATH3 ...

📋 Examples

Open two separate Windsurf instances for different projects:

open-windsurf ~/projects/project1 ~/projects/project2

Open multiple projects with a specific profile:

open-windsurf --profile coding ~/projects/project1 ~/projects/project2

Open multiple projects and wait for all instances to close:

open-windsurf --wait ~/projects/project1 ~/projects/project2

⚙️ Options

Option Description
--wait Wait for all Windsurf instances to close before exiting
--user-data-dir DIR Specify a custom user data directory for all instances
--profile PROFILE Use a specific profile for all instances
--new-window Force opening in new windows

📋 Requirements

  • Python 3.8+
  • Windsurf installed and available in your PATH
  • Poetry (for development)

🛠️ Development

# Clone the repository
git clone https://github.com/yourusername/open-windsurf.git
cd open-windsurf

# Install development dependencies
poetry install

# Run tests
poetry run pytest

# Format code
poetry run black open_windsurf
poetry run isort open_windsurf

Generated with ❤️ by Windsurf and Sonnet 3.7

Created on March 5, 2025

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

open_windsurf-0.1.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

open_windsurf-0.1.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file open_windsurf-0.1.2.tar.gz.

File metadata

  • Download URL: open_windsurf-0.1.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/5.15.0-131-generic

File hashes

Hashes for open_windsurf-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0631ce1da3cccb903f1d0a43ac2e83122e8842e88fc6847a63f4eb61f1391261
MD5 bd7abbde709cd7c8284156b4695a98f8
BLAKE2b-256 149c88c761e48c8f5037118cfeb08da0dae75620ad8d751fa50f2a469b09f2fb

See more details on using hashes here.

File details

Details for the file open_windsurf-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: open_windsurf-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/5.15.0-131-generic

File hashes

Hashes for open_windsurf-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4f56e69129d23c5696cc1636edbd25633054dc48f6796090d7f832efaeff50bd
MD5 87f26e06f8958a6be482ea6f3695d87f
BLAKE2b-256 ec6ca9babc2b17eaaac2213b1372946e1841e409f7643c16ebe1cd23187a63b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page