I built a native macOS menu bar companion for Portless
Описание и применение
PortlessBar — это приложение для macOS, которое отображает в меню все регистрации Portless как кликабельные URL и позволяет включать/выключать прокси одним нажатием, упрощая локальный рабочий процесс.
Задача
Portless replaces port numbers with named URLs for local development, but accessing those URLs and controlling the proxy from the command line is inconvenient on macOS.
Результат
PortlessBar provides a lightweight macOS menu bar interface that automatically lists Portless registrations, allows quick URL opening, and offers a single‑click proxy toggle, improving developer workflow on macOS.
Рабочий процесс
- 1. Install PortlessBar via Homebrew or download the app.
- 2. Ensure Portless is installed and the initial proxy setup is completed in Terminal.
- 3. Launch PortlessBar from the Applications folder or via Homebrew cask.
- 4. PortlessBar reads Portless state files and process arguments to list registrations.
- 5. Click a URL in the menu bar to open it in the default browser.
- 6. Toggle the proxy switch at the top to connect or disconnect the proxy without stopping development servers.
- 7. Use settings to enable Launch at Login or adjust update preferences.
Доказательства
PortlessBar shows your current Portless registrations as URLs. Click one to open it in your default browser.
The switch at the top connects or disconnects the proxy without stopping your development servers.
The app is written in Swift. It reads Portless's state files and process arguments to discover registrations and the proxy configuration.
The current release has been tested with Portless 0.8.0 and 0.15.6.
Install with Homebrew: brew install --cask akshitkrnagpal/tap/portlessbar
- Дата записи: 2026-10-02T07:56:24.812Z