🎬 Raycast script for instant YouTube-to-Invidious conversion. Supports YouTube URLs, Shorts, youtu.be links, video IDs.
Invidious is a privacy-focused, open-source YouTube frontend. This script lets you seamlessly convert any YouTube link to Invidious and watch without ads or tracking.
- ✅ Automatically extracts video ID from any YouTube URL format
- ✅ Check and cache the most popular Invidious instance (based on user count) for 24 hours (https://api.invidious.io/)
- ✅ Opens video in your default browser
- Full YouTube URLs:
youtube.com/watch?v=... - YouTube Shorts:
youtube.com/shorts/... - Short links:
youtu.be/... - Embed URLs:
youtube.com/embed/... - Direct video IDs:
11-character codes
Download the open-in-invidious.sh script to your Raycast scripts directory
- Open Raycast
- Search for "Open in Invidious"
- Paste a YouTube URL, Short link, or video ID
- Press Enter
- Video opens in Invidious in your default browser
The script caches the address of the best Invidious instance for 24 hours to enhance performance. To clear the cache manually:
rm /tmp/invidious_instances.cache