A modern YouTube client, designed natively for macOS.
Browse, discover, and watch YouTube through a focused desktop experience built with SwiftUI.
Lunea is a native macOS YouTube client built with Swift and SwiftUI.
It reimagines the YouTube desktop experience around a dedicated macOS interface, combining video discovery, search, playback, customizable themes, and multitasking features in a focused desktop application.
- Native macOS Experience — Built with Swift and SwiftUI specifically for macOS.
- Split-Screen Player — Watch videos while keeping the title, channel, description, and other video information accessible alongside the player.
- Mini Player — Continue watching in a compact floating player while browsing other content.
- Dynamic Themes — Switch between Midnight Red, Cyber Blue, Emerald Forest, and Light themes.
- Search & Categories — Search videos and browse categories including Music, Gaming, Tech, and News.
- YouTube Integration — Video discovery and metadata powered by YouTube Data API v3.
- Embedded Playback — Video playback through YouTube's embedded player using WKWebView.
| Technology | |
|---|---|
| Language | Swift |
| UI | SwiftUI |
| Networking | URLSession |
| Concurrency | Combine, Swift Concurrency / async-await |
| Video | WKWebView + YouTube Embed |
| Data | YouTube Data API v3 |
- macOS Ventura or newer
- Xcode 15.0+
- YouTube Data API v3 key
git clone YOUR_REPOSITORY_URL
cd LuneaOpen the project in Xcode.
On first launch, Lunea provides a configuration interface for entering your YouTube Data API v3 key.
Alternatively, configure it in YouTubeService.swift:
static var apiKey: String = "YOUR_API_KEY_HERE"Keep API keys private and never commit personal credentials to the repository.
Select the Lunea scheme in Xcode and press:
⌘ R
Lunea/
│
├── ContentView.swift
│ └── Root layout, navigation, and main window
│
├── SidebarView.swift
│ └── Sidebar navigation, window controls, and themes
│
├── PlayerView.swift
│ └── WKWebView player, mini player, and video details
│
├── VideoView.swift
│ └── Video cards, featured content, and search results
│
└── YouTubeService.swift
└── YouTube API client, data models, and application state
Lunea explores a translucent, layered interface designed around desktop viewing and multitasking on macOS.


