
Show HN: Splunkr-TV AppleTV App
I had AI shit out an app for this, source code at https://github.com/fragmede/spelunkr-tv. I made a discord at https://discord.gg/6JRz6ZNw6 if people wanna chat.
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
A native, unofficial tvOS frontend for spelunkr.tv: cable TV, but weirder.
Browse the real channel lineup, join whatever is on now, and keep watching as the broadcast rolls into the next program. The app uses SwiftUI for the guide and Apple's AVKit player for Internet Archive video. No account, API key, backend, or third-party runtime dependency is required.
xcodegen generate
On this development Mac, Xcode 26.3 and the tvOS 26.2 platform are installed in /Applications/Xcode_26.3.app. The original simulator checks used Xcode 16.4 and tvOS 18.5 in /Applications/Xcode.app; that installation remains available. To build with the current toolchain explicitly:
DEVELOPER_DIR=/Applications/Xcode_26.3.app/Contents/Developer xcodebuild
-project SpelunkrTV.xcodeproj -scheme SpelunkrTV
-destination 'generic/platform=tvOS Simulator'
-derivedDataPath build/DerivedData26 build CODE_SIGNING_ALLOWED=NO
Signing and distribution
The XcodeGen source and checked-in project select OnePatchDown, LLC (THSJJN6KNN) for automatic signing. The bundle identifier is org.fragmede.SpelunkrTV. Xcode needs a signed-in account with access to this team and permission to create provisioning profiles. If Apple reports PLA Update available, the team's Account Holder must accept the current Developer Program License Agreement on the Apple Developer website before provisioning can continue.
On the Apple TV, open Settings → Remotes and Devices → Remote App and Devices. With the Mac on the same network, open Xcode's Devices and Simulators window, select the TV, click Pair, and enter the code shown on the television. Then select the TV as the project's run destination.
Run a device build before the first archive so Xcode can register the paired TV and create its development profile. From the command line, use -destination 'platform=tvOS,id=<TV identifier>' -allowProvisioningUpdates -allowProvisioningDeviceRegistration build. An archive alone may report that the team has no registered devices. Keep the Apple TV awake when launching the installed app.
DEVELOPER_DIR=/Applications/Xcode_26.3.app/Contents/Developer xcodebuild
-project SpelunkrTV.xcodeproj -scheme SpelunkrTV -configuration Release
-destination 'generic/platform=tvOS' -derivedDataPath build/Release26
-archivePath build/OnePatchDown-Spelunkr.xcarchive
-allowProvisioningUpdates archive
Apple currently requires Xcode 26+ and the tvOS 26 SDK for App Store Connect uploads; the deployment target can remain tvOS 18. The app includes a required-reason privacy manifest for its app-only favorites preferences (UserDefaults, reason CA92.1). This declaration does not replace an App Store privacy policy or the release's privacy answers. Uploading an archive, creating TestFlight invitations, and submitting an App Store release are separate steps; a successful local archive does not perform them.
References: Apple TV pairing, upload requirements, required-reason privacy declarations.
Move around the guide with the directional pad; select a channel or Watch live to tune in.
Use Favorite to save the previewed channel. Favorites and filters remain available while browsing.
In the player, reveal the native playback controls, focus the TV icon, and select it for Previous channel, Next channel, Return to live, and Channel guide.
Press Back/Menu to return to the guide. Play/Pause uses the native player. The channel's broadcast clock continues while paused; resuming or choosing Return to live rejoins the current program.
In Simulator, the arrow keys and Return act as remote direction/select. Space is Play/Pause; Escape is Back/Menu.
Verification
The core scheduler and client run independently of the UI:
swift test
Optional: makes read-only requests to the actual broadcast endpoints.
SPELUNKR_LIVE_TESTS=1 swift test --filter LiveIntegrationTests
Run the remote-navigation and favorites tests with Product → Test in Xcode, or:
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcodebuild
-project SpelunkrTV.xcodeproj -scheme SpelunkrTV
-destination 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p)'
-derivedDataPath build/DerivedData test CODE_SIGNING_ALLOWED=NO
The UI tests require network access. Core tests use synthetic fixtures and no network by default. See tasks/todo.md for the actual validation record and docs/integration.md for the public data contract, parity-test provenance, and presentation limits.
On November 23, 2026, the signed Release archive built with Xcode 26.3 and the tvOS 26.2 SDK was installed and launched on an Apple TV (4th generation) running tvOS 26.6.1. The physical device loaded all 37 live channels, artwork, and current/upcoming programs. Hardware screenshot. Hardware playback and remote interaction remain to be exercised.
The app refreshes the catalog every 15 minutes and resolves program changes against the device clock. Enable automatic date and time on the Apple TV for accurate synchronization. The website can publish channels or schedules newer than its backup snapshot; the guide identifies backup use explicitly. Archive files may be unavailable or use codecs that Apple TV cannot play, in which case the player offers retry and channel switching.
The native station breaks preserve timing and text/music but do not reproduce decorative video clips. Separate translated subtitle sidecars and optional detailed film-credit documents are not loaded. Embedded subtitle tracks use the native player when provided by the original media. App Store submission and every individual Archive recording have not been verified.
Spelunkr provides the programming, curation, and broadcast data; the Internet Archive hosts the recordings. This is an independent client, not an official Spelunkr release. Media is streamed from its published origin and is not bundled or redistributed. Geometric app-icon artwork is original to this client; scripts/generate_assets.py reproduces it with Pillow.
This client's source code and original assets are free software: you can redistribute them and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The SPDX license identifier is GPL-3.0-or-later.
This software is distributed without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See LICENSE for the full terms.
This license does not grant rights to Spelunkr's branding or broadcast data, streamed third-party media, or third-party program artwork visible in the documentation screenshots. Existing source and fixture attribution is recorded in docs/integration.md and the fixture provenance.
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。