A native macOS app that launches, configures, and monitors a local LLM inference server (ds4-server). Run any GGUF model on your Mac with a polished GUI — no terminal required.
I took interest in the ds4 project and started to use it on my personal hardware. Then I thought to develop a little GUI app for it using ds4 itself for inference, no usage of cloud APIs for inference.
- Model management — Discover
.gguffiles in~/.ds4-launcher/models/, download models directly from HuggingFace Hub, and configure multi-token prediction (MTP) models. - Server lifecycle — Start, stop, and restart the ds4-server process with graceful shutdown.
- Live telemetry — Real-time charts for prefill/generation throughput (tokens/sec), context utilization, memory usage, and GPU load.
- Color-coded logs — Auto-scrolling log viewer with ANSI support.
- Menu bar access — Control the server from the macOS menu bar with a tray icon.
- Persistent config — All settings saved to JSON and restored on launch.
Zero external dependencies. Built with Swift 5.9+ and SwiftUI for macOS 14.0+.
| Metrics & Logs | Metrics Graph |
|---|---|
![]() |
![]() |
- Clone the repo and open the SPM package.
- Build with
swift buildor from Xcode. - Place the
ds4-serverbinary somewhere on yourPATH, or set its path in the app's configuration. - Launch the app — it will scan for models, let you download new ones, and start the server with one click.
This project uses OpenWiki for auto-generated code documentation. The docs are derived from source code and kept up to date by scheduled GitHub Actions — you shouldn't need to hand-edit them.
| Resource | Description |
|---|---|
| openwiki/quickstart.md | High-level overview and quick-start guide |
| Architecture Overview | Service layer design, data flow, and rationale |
| Domain Concepts | ds4-server contract, GGUF format, download targets |
| View Hierarchy | Complete SwiftUI component breakdown |
| Setup & Operations | Build instructions, configuration, troubleshooting |
| External Integrations | ds4-server binary, HuggingFace Hub, file layout |
Sources/App/
├── DwarfStarLauncherApp.swift @main entry point
├── Models/ GGUFModel, ServerConfig, ServerStatus, LogLine, DownloadState
├── Services/ ServerManager, StatusMonitor, ModelManager, ModelDownloader
├── Views/ ContentView, ConfigurationPanel, LogView, MetricsView, TrayMenu, etc.
└── Utilities/ PathResolver
Resources/ App icon, Info.plist

