Open multiple Windsurf (VS Code-based) instances for different directories/paths
Project description
Open Windsurf
A simple utility to open multiple Windsurf (VS Code-based) instances for different directories/paths.
Features • Installation • Usage • Examples • Options
✨ 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0631ce1da3cccb903f1d0a43ac2e83122e8842e88fc6847a63f4eb61f1391261
|
|
| MD5 |
bd7abbde709cd7c8284156b4695a98f8
|
|
| BLAKE2b-256 |
149c88c761e48c8f5037118cfeb08da0dae75620ad8d751fa50f2a469b09f2fb
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f56e69129d23c5696cc1636edbd25633054dc48f6796090d7f832efaeff50bd
|
|
| MD5 |
87f26e06f8958a6be482ea6f3695d87f
|
|
| BLAKE2b-256 |
ec6ca9babc2b17eaaac2213b1372946e1841e409f7643c16ebe1cd23187a63b9
|