A macOS screensaver that plays live video streams. Supports YouTube videos and direct HLS streams.
Also available: Android TV Live Screensaver
Turn any live stream into your screensaver/lockscreen. Some examples:
Disclaimer: This project was entirely vibe-coded. I've never written Swift before in my life.
Note: This was tested exclusively on macOS Tahoe on an M2 MacBook. Your mileage may vary on other versions/hardware.
Using Homebrew:
brew install yt-dlp ffmpeg
Or install yt-dlp using pip:
pip install yt-dlp
brew install ffmpeg
Build and install:
make install
Or step by step:
make build
open build/LiveScreensaver.saver
Other commands:
make clean # Remove build directory
make uninstall # Remove screensaver from ~/Library/Screen Savers/
make start # Trigger screensaver immediately
https://www.youtube.com/watch?v=VIDEO_ID (live streams only)https://example.com/stream.m3u8Note: Only live YouTube videos are supported. Regular (non-live) YouTube videos will not work.
Note: macOS screensaver UI can be buggy. If the Options button is unresponsive, try closing and reopening System Settings. PRs welcome for anyone who can figure out why.
YouTube videos don't play:
Black screen: Wait a few seconds for loading, or try a different URL
18 commits
Swift
95.5%
Makefile
4.5%
A macOS screensaver that plays live video streams. Supports YouTube videos and direct HLS streams.
Also available: Android TV Live Screensaver
Turn any live stream into your screensaver/lockscreen. Some examples:
Disclaimer: This project was entirely vibe-coded. I've never written Swift before in my life.
Note: This was tested exclusively on macOS Tahoe on an M2 MacBook. Your mileage may vary on other versions/hardware.
Using Homebrew:
brew install yt-dlp ffmpeg
Or install yt-dlp using pip:
pip install yt-dlp
brew install ffmpeg
Build and install:
make install
Or step by step:
make build
open build/LiveScreensaver.saver
Other commands:
make clean # Remove build directory
make uninstall # Remove screensaver from ~/Library/Screen Savers/
make start # Trigger screensaver immediately
https://www.youtube.com/watch?v=VIDEO_ID (live streams only)https://example.com/stream.m3u8Note: Only live YouTube videos are supported. Regular (non-live) YouTube videos will not work.
Note: macOS screensaver UI can be buggy. If the Options button is unresponsive, try closing and reopening System Settings. PRs welcome for anyone who can figure out why.
YouTube videos don't play:
Black screen: Wait a few seconds for loading, or try a different URL
18 commits
Swift
95.5%
Makefile
4.5%