Add beta media endpoint

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-19 21:13:11 +01:00
parent 183b5e334f
commit fc8e2db679
16 changed files with 312 additions and 79 deletions

View File

@@ -117,62 +117,83 @@ in
filters = [ ];
whitelist_filters = [ ];
user_rules = [
"||*^"
# Personal
"@@||karaolidis.com^$important"
# Connectivity Check
"@@||clients3.google.com^"
"@@||clients.l.google.com^"
"@@||connectivitycheck.gstatic.com^"
"@@||connectivitycheck.android.com^"
# NTP
"@@||pool.ntp.org^$important"
"@@||time.android.com^$important"
"@@||time.akamai.com^$important"
# Plex
"@@||plex.tv^$important"
"@@||plex.direct^$important"
# YouTube
"@@||youtube.com^$important"
"@@||yt.be^$important"
"@@||ytimg.com^$important"
"@@||googlevideo.com^$important"
# YouTube Extensions
"@@||returnyoutubedislikeapi.com^$important"
"@@||sponsor.ajay.app^$important"
# Google Misc
"@@||accounts.google.com^$important"
"@@||www.gstatic.com^$important"
"@@||content-autofill.googleapis.com^$important"
# Google Play
"@@||play.google.com^$important"
"@@||android.googleapis.com^$important"
"@@||androidtvsetupwraithfe-pa.googleapis.com^$important"
"@@||play-fe.googleapis.com^$important"
"@@||play-lh.googleusercontent.com^$important"
"@@||play.googleapis.com^$important"
"@@||android.apis.google.com^$important"
"@@||playatoms-pa.googleapis.com^$important"
"@@||gvt1.com^$important"
# Spotify
"@@||spotify.com^$important"
"@@||spotify.dev^$important"
"@@||scdn.co^$important"
"@@||tospotify.com^$important"
"@@||spotifycdn.com^$important"
# Twitch
"@@||twitch.tv^$important"
"@@||ttvnw.net^$important"
"@@||static-cdn.jtvnw.net^$important"
# Cosmote TV
"@@||account.cosmote.gr^$important"
"@@||cosmotetvott.gr^$important"
"@@||msvdn.net^$important"
"@@||theplatform.eu^$important"
"@@||theplatform.com^$important"
filtering.rewrites = [
{
domain = "beta.media.karaolidis.com";
answer = inboundGateway;
}
];
user_rules =
let
domains = [
# Personal
"beta.media.karaolidis.com"
# Connectivity Check
"clients3.google.com"
"clients.l.google.com"
"connectivitycheck.gstatic.com"
"connectivitycheck.android.com"
# NTP
"pool.ntp.org"
"time.android.com"
"time.akamai.com"
# Plex
"plex.tv"
"plex.direct"
# YouTube
"youtube.com"
"yt.be"
"ytimg.com"
"googlevideo.com"
# YouTube Extensions
"returnyoutubedislikeapi.com"
"sponsor.ajay.app"
# Google Misc
"accounts.google.com"
"www.gstatic.com"
"content-autofill.googleapis.com"
# Google Play
"play.google.com"
"android.googleapis.com"
"androidtvsetupwraithfe-pa.googleapis.com"
"play-fe.googleapis.com"
"play-lh.googleusercontent.com"
"play.googleapis.com"
"android.apis.google.com"
"playatoms-pa.googleapis.com"
"gvt1.com"
# Spotify
"spotify.com"
"spotify.dev"
"scdn.co"
"tospotify.com"
"spotifycdn.com"
# Twitch
"twitch.tv"
"ttvnw.net"
"static-cdn.jtvnw.net"
# Cosmote TV
"account.cosmote.gr"
"cosmotetvott.gr"
"msvdn.net"
"theplatform.eu"
"theplatform.com"
];
in
[ "||*^" ] ++ (map (domain: "@@||${domain}^$important") domains);
schema_version = 29;
};
in