[!WARNING] WIP! YouTube videos will run into 403 after some time, embedded videos are used by default for now.
A Twitch and YouTube frontend app using Svelte and Electron.
![]()
vinesauce playing Yoshi's Island.
|
![]()
YouTube feed with videos and streams.
|
csv
file separated by Channel ID, URL, Title)rt:://
URLs.Tested on Windows and Ubuntu. Not tested on macOS.
These are files from the latest successful build, they do not require a GitHub account to download.
You can check for possible older artifacts here.
On launch, a custom protocol handler is registered for rt://
URLs, this allows you to open videos or streams directly in the app.
If the app is not running, it will be started with the URL as an argument, if it is running, the URL will be opened in a new window.
YouTube
:
rt://yt/{VIDEO_ID}
rt://youtube/{VIDEO_ID}
rt://www.youtube.com/watch?v={VIDEO_ID}
rt://youtu.be/{VIDEO_ID}
Twitch
:
rt://tw/{CHANNEL_NAME}
rt://twitch/{CHANNEL_NAME}
rt://www.twitch.tv/{CHANNEL_NAME}
If you are using extensions like LibRedirect, you can set a frontend for YouTube like Invidious and set the instance URL to rt://
. The same can be done for Twitch, you can set the frontend to SafeTwitch and set the instance URL to rt://
.
To store users, feeds and emotes, SQLite is used with better-sqlite3.
Data (databases, window state, etc):
%AppData%/com.rt.app
~/.config/com.rt.app
Logs:
%LocalAppData%/com.rt.app/logs
$XDG_DATA_HOME/com.rt.app/logs
or $HOME/.local/share/com.rt.app/logs
YouTube
:
The feed uses YouTube's rss feed to retrieve videos to avoid rate limits, this sadly does not contain video duration.
The watch page will try to retrieve a YouTube player using YouTube.js, if it fails, it will use Vidstack's YouTube provider to play videos via embeds, this fallback has the drawbacks of not being able to play videos that disallows embedding and not being able to select a video quality. You have the option to switch between them.
Twitch
:
The player uses a custom hls.js loader that fetches and reads the playlists, this is what allows for ad blocking as the loader can detect ads and switch to a backup stream until ads are over, this was inspired by TwitchAdSolutions method of switching streams.
Uses GQL queries from the internal Twitch API to retrieve user data and stream playback.
yt-dlp
) and thumbnails.