How fer0n/unwatched works
Unwatched is a cross-platform RSS-based YouTube player. Its main workflow is to follow channels or add individual videos, sort new items through the inbox or queue, then play them with playback-speed and chapter controls. The README also highlights search, podcast support, notifications, and iCloud sync. The graph combines those documented capabilities with relationships shown in sampled source and the SOURCE INDEX; unsampled feature internals are represented at their existing directory paths.
Main entry points: Video.swift Video library · PlayerManager.swift Playback manager · Subscription.swift Subscriptions · NavigationManager.swift Navigation
Components 24
Discovery and intake
- Navigation
Unwatched/Unwatched/Controller/NavigationManager.swift - YouTube browser
Unwatched/Unwatched/View/Browser/BrowserView.swift - Channel search
Unwatched/Unwatched/Service/YoutubeChannelSearch.swift - URL handling
Unwatched/Unwatched/Service/UrlService.swift
Queue and library
- Queue
UnwatchedShared/UnwatchedShared/Model/QueueEntry.swift - Inbox triage
UnwatchedShared/UnwatchedShared/Model/InboxEntry.swift - Subscriptions
UnwatchedShared/UnwatchedShared/Model/Subscription.swift - Video library
UnwatchedShared/UnwatchedShared/Model/Video.swift - Library views
Unwatched/Unwatched/View/Library/LibraryView.swift
Playback and chapters
- Playback manager
Unwatched/Unwatched/Controller/PlayerManager/PlayerManager.swift - Player backend
UnwatchedShared/UnwatchedShared/Controller/PlayerBackend.swift - AV player
Unwatched/Unwatched/InnerTube/AVPlayerViewModel.swift - Chapter service
UnwatchedShared/UnwatchedShared/Service/ChapterService.swift - Chapter controls
Unwatched/Unwatched/View/Chapter/ChapterList.swift
Data and services
- Video service
Unwatched/Unwatched/Service/VideoService.swift - Subscription service
Unwatched/Unwatched/Service/SubscriptionService.swift - Feed refresh
Unwatched/Unwatched/Controller/RefreshManager/RefreshManager.swift - Local search
Unwatched/Unwatched/Service/LocalSearchService.swift - Cloud sync
Unwatched/Unwatched/Helper/CloudStorage/CloudStorageSync.swift - Podcast downloads
UnwatchedShared/UnwatchedShared/Controller/PodcastDownloadManager.swift
App integrations
- Share intake
Unwatched/UnwatchedShareExtension/ShareViewController.swift
Other components
- Viewer
- YouTube data API
- iCloud
Connections 30
- Viewer → Navigation: opens app
README.md - Navigation → YouTube browser: routes to
Unwatched/Unwatched/Controller/NavigationManager.swift - Navigation → Playback manager: starts playback
Unwatched/Unwatched/Controller/NavigationManager.swift - Viewer → Share intake: shares URL
Unwatched/UnwatchedShareExtension/ShareViewController.swift - Share intake → Video library: adds video
Unwatched/UnwatchedShareExtension/ShareViewController.swift - Share intake → Subscriptions: previews channel
Unwatched/UnwatchedShareExtension/ShareViewController.swift - YouTube browser → URL handling: resolves URL
- Viewer → Channel search: finds channels
README.md - Channel search → YouTube data API: searches channels
- Viewer → Subscriptions: follows channels
README.md - Subscriptions → Feed refresh: refreshes feeds
- Feed refresh → Video library: fetches videos
Unwatched/Unwatched/Controller/RefreshManager/RefreshManager.swift - Video library → Inbox triage: triages new items
README.md - Video library → Queue: queues new items
README.md - Viewer → Queue: organizes queue
README.md - Viewer → Inbox triage: sorts new items
README.md - Library views → Video library: shows library
- Library views → Local search: offers search
- Local search → Video library: searches videos
Unwatched/Unwatched/Service/LocalSearchService.swift - Playback manager → Player backend: controls playback
Unwatched/Unwatched/Controller/PlayerManager/PlayerManager+Playback.swift - Player backend → AV player: uses AV player
Unwatched/Unwatched/Controller/PlayerManager/PlayerManager+Playback.swift - Playback manager → Video library: marks watched
Unwatched/Unwatched/Controller/PlayerManager/PlayerManager.swift - Playback manager → Queue: moves video
Unwatched/Unwatched/Controller/PlayerManager/PlayerManager.swift - Playback manager → Chapter service: controls chapters
- Chapter controls → Chapter service: shows chapters
README.md - Viewer → Playback manager: plays video
README.md - Subscriptions → Cloud sync: syncs library
- Cloud sync → iCloud: syncs data
README.md - Viewer → Podcast downloads: downloads podcasts
- Podcast downloads → Video library: tracks downloads