Yutub is a lightweight YouTube client built using SwiftUI and WebKit. This project allows users to browse YouTube with added customizations like dark mode, autoplay toggles, and multi-tab navigation. The app is optimized for visionOS, offering a native app experience for users who prefer an actual app than to browse YouTube in Safari.
-
Tabbed Interface:
- Quickly switch between Home, Watch Later, Subscriptions, History, and Settings.
-
Dark Mode:
- Toggle dark mode to adjust the interface and YouTube content based on your preference.
-
Autoplay Control:
- Enable or disable video autoplay across tabs.
-
Multiple Tabs:
- Access separate instances of YouTube for personalized content management.
-
Native Settings:
- Control app behavior like dark mode and autoplay directly from a dedicated settings tab.
If you do not have an Apple Developer account, you can still run the app on your personal device using Xcode. Here's how:
Open a terminal and clone this repository:
git clone https://github.com/pballada/yutub.git
cd yutub
- Download and Launch Xcode.
- Open the project by selecting
Yutub.xcodeproj
.
To bypass the Apple Developer account requirement, you must set a unique bundle identifier:
- In Xcode, select the Yutub project in the left sidebar.
- Go to the Signing & Capabilities tab.
- Change the Bundle Identifier to something unique (e.g.,
com.yourname.Yutub
).
- Under the Team dropdown, select your Personal Team. If no team is listed, add one by logging in with your Apple ID in Xcode.
- Xcode will handle code signing automatically.
- Open Settings on Vision Pro.
- Go to Privacy & Security > Developer Mode.
- Toggle Developer Mode on and restart if prompted.
- Turn on Vision Pro and connect to the same Wi-Fi as your Mac.
- Open Xcode, go to Window > Devices and Simulators.
- Select Pair Device and enter the pairing code displayed on Vision Pro.
- Select either the VisionOS Simulator or connect a Vision Pro device as the build target.
- Click the Run button (or press
Cmd + R
) to install and launch the app on your device.
Note: Apps installed without a paid Apple Developer account are valid for 7 days. After that, you will need to reinstall the app.
- Xcode 15 or later (SwiftUI and iOS 16+ support required)
- macOS Monterey or later
- iOS Device with iOS 16 or later
This project does not use any third-party libraries and relies entirely on Swift and SwiftUI frameworks.
This project is open-source and licensed under the MIT License. Feel free to contribute or use it as a foundation for your own projects!
If you have any questions or issues, feel free to open an issue in the repository.