Switcher is a macOS app for running multiple local web projects through portless. It starts and stops dev servers, manages the portless HTTPS proxy, and gives each project a stable URL like https://your-slug.localhost:1355.
- Add projects with a directory path and run command
- Start and stop dev servers from a simple project list
- Automatic framework detection (Next.js, Nuxt, Astro, Remix, Svelte, Angular, Vite, Laravel, Mintlify, React Native, Go, Rust, Node, and more)
- Custom project icons (SF Symbols or images)
- Live log output per project
- Optional sync of project data via iCloud Documents (when enabled in a signed build)
- Clean shutdown of background processes when you quit the app
Pre-built releases (.dmg) are on the Releases page. Install by opening the DMG and dragging Switcher to Applications.
You still need portless installed separately.
Release builds are Developer ID–signed but may not be notarized yet. If macOS says the app cannot be checked for malicious software, use the app in Applications (after copying it out of the DMG):
- Right-click (or Control-click) Switcher.app: click the application, not the disk image.
- Choose Open from the menu (not double-clicking the icon).
- In the dialog, click Open again to confirm.
macOS remembers this choice for Switcher on your Mac, so you can open it normally next time.
Contributors and developers can build locally with:
See docs/RELEASE.md for signed release and DMG steps.
git clone https://github.com/gre-dev/Switcher.git
cd Switcher
xcodegen generate
open Switcher.xcodeprojBuild and run the Switcher scheme in Xcode.
- Install portless if you have not already; see the portless README (
npm install -g portlessis the usual approach). - Launch Switcher and add a project: choose the project folder and the command you normally use to start the dev server (for example
npm run dev). - Switcher assigns an app port in the 4000–4999 range and builds the portless command for you.
- Start the project; Switcher ensures the portless proxy is running on port 1355 (HTTPS) and opens the project’s
https://<slug>.localhost:1355URL when appropriate.
Project list and settings are stored locally under Application Support. iCloud sync requires the appropriate entitlements and container in a signed build.
| Path | Purpose |
|---|---|
Switcher/ |
SwiftUI app source |
project.yml |
XcodeGen project definition |
docs/RELEASE.md |
Maintainer release and DMG pipeline |
ExportOptions.plist |
Developer ID export options for xcodebuild -exportArchive |
scripts/release.sh |
Archive, export, and DMG helper script |
Generated Switcher.xcodeproj is not committed; run xcodegen generate after cloning.
Issues and pull requests are welcome. Please keep changes focused and match existing Swift and UI patterns in the codebase.
MIT. See LICENSE.