Skip to content
Rahmn-DevPublic

About

A modern, native macOS YouTube client built with SwiftUI. Features a clean split-screen video layout, customizable themes, and a floating picture-in-picture (PiP) mini-player.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

Repository files navigation

Lunea App Icon

Lunea

A modern YouTube client, designed natively for macOS.

Browse, discover, and watch YouTube through a focused desktop experience built with SwiftUI.

View on Dribbble


lunea

Overview

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.

Highlights

  • 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.

257_1x_shots_so

Tech Stack

Technology
Language Swift
UI SwiftUI
Networking URLSession
Concurrency Combine, Swift Concurrency / async-await
Video WKWebView + YouTube Embed
Data YouTube Data API v3

Getting Started

Requirements

  • macOS Ventura or newer
  • Xcode 15.0+
  • YouTube Data API v3 key

1. Clone the Repository

git clone YOUR_REPOSITORY_URL
cd Lunea

Open the project in Xcode.

2. Configure the API Key

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.

3. Build & Run

Select the Lunea scheme in Xcode and press:

⌘ R

Project Structure

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

Design

Lunea explores a translucent, layered interface designed around desktop viewing and multitasking on macOS.

View Lunea on Dribbble →

About

A modern, native macOS YouTube client built with SwiftUI. Features a clean split-screen video layout, customizable themes, and a floating picture-in-picture (PiP) mini-player.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages