Skip to content

Latest commit

Β 

History

History
71 lines (48 loc) Β· 1.78 KB

File metadata and controls

71 lines (48 loc) Β· 1.78 KB

macOS Native App

OpenWhale includes a native macOS menu bar app built with SwiftUI. It gives you quick access to chat, status, and controls without opening a browser.


Features

  • Menu Bar Popover β€” Quick chat, connection status, and channel toggles from the menu bar
  • Full Chat Window β€” Dedicated chat interface with tool call display, Markdown rendering, and streaming responses
  • Dashboard Matching UI β€” Tool calls show as expandable chips with live status (spinner β†’ βœ“)
  • System Integration β€” Runs as a proper macOS app with custom icon

Prerequisites

  • macOS 14+ (Sonoma or later)
  • Swift 5.9+ β€” Comes with Xcode 15+
  • OpenWhale server running β€” The app connects to http://localhost:7777

Build & Run

cd OpenwhaleMacApp

# Build and launch
bash build.sh && open .build/OpenWhale.app

Install to Applications

cp -R .build/OpenWhale.app /Applications/

πŸ’‘ Tip: The app auto-connects to the local OpenWhale server. Make sure the server is running (npm run dev) before launching.


Installer

A guided SwiftUI installer that sets up everything automatically β€” clones the repo, installs dependencies, starts the server, configures providers/channels/skills, and installs the menu bar app.

cd OpenwhaleMacApp/Installer
bash build.sh
open .build/OpenWhaleInstaller.app

Source

The macOS app lives in OpenwhaleMacApp/ at the project root:

OpenwhaleMacApp/
β”œβ”€β”€ Views/
β”‚   └── Pages/         # ChatPage, etc.
β”œβ”€β”€ Models/
β”‚   └── AppState.swift # App state management
β”œβ”€β”€ Services/
β”‚   └── OpenWhaleClient.swift  # API client
β”œβ”€β”€ Installer/         # SwiftUI installer app
└── build.sh           # Build script