Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

NullStream

A minimal distraction free macOS YouTube player built with SwiftUI and WKWebView, using the YouTube iframe API. I use this to listen to music when I need to focus and can't afford getting distracted.

NullStream

Features

  • Playback control: Play, pause and seek (told you it was minimal)
  • Video list: Manage a library of videos to play
  • Persistence: Video URLs stored locally in UserDefaults

Requirements

  • macOS 14.0+
  • Xcode 15+

Building

  1. Open NullStream.xcodeproj in Xcode
  2. Select the NullStream scheme
  3. Build and run (⌘R)

To build a release and install it to /Applications, run make install (quit the app first). This runs:

xcodebuild -project NullStream.xcodeproj -scheme NullStream -configuration Release -derivedDataPath build.noindex build rm -rf /Applications/NullStream.app cp -R build.noindex/Build/Products/Release/NullStream.app /Applications/

Note this only works on the machine it was built as it's signed with "Sign to Run Locally".

Usage

  1. Add a video: Click "Add URL" and paste a YouTube URL (e.g. https://www.youtube.com/watch?v=dQw4w9WgXcQ)
  2. Play/Pause: Use the control bar, the Space key, the media keys or the macOS Now Playing menu bar item
  3. Left pane: Toggle the sidebar to show/hide your saved video list
  4. Open new video: Click a video in the list, or add a new one with "Add URL"
  5. Reset player: If YouTube refuses to play, use Playback → Reset Player (this also happens automatically on recoverable errors and after waking from sleep)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages