Have you ever wanted to subscribe to updates to a specific playlist within a YouTube channel, instead of all the new videos in a channel? Unfortunately, YouTube doesn't support playlist subscriptions.
But, YouTube has an API...
YT Playlist Notifier is a progressive web app that allows you to search for and subscribe to updates to playlists. You'll get a browser notification when new videos are added to any playlist you're subscribed to.
YT Playlist Notifier stores your playlist subscriptions locally, and you're not required to authenticate or log in anywhere.
At its most basic, you'll see notifications for any new videos whenever you close and then revisit the web app. If your web browser doesn't support notifications, you'll at least see a list of the latest videos across all your subscribed playlists.
If you're using a browser that supports periodic background sync and have installed YT Playlist Notifier, the periodic sync event checking for new videos will fire automatically, about once a day. You don't have to do anything—just sit back and wait for video notifications!
- Preact (thanks for the debugging help, Jason!)
- Vite
- Workbox, via the
vite-plugin-pwa plugin
. - Open Props (thanks for the styling help, Adam!)
- YouTube Data API
idb-keyval
for persisting local state.- Icon Kitchen and Material Design Icons for the icons.
- quicktype for generating TypeScript types out of the YouTube Data API responses.
To run a copy of this project, first register for YouTube Data API access, and obtain a browser API key.
Create an .env.local
file at the root of this project, and include the following:
VITE_YT_API_KEY=[your API key here]