Youtube App without ADs

Overview

youtube-webos

Youtube App without ADs

Pre-requisites

Building

  • Clone the repository
git clone https://github.com/FriedChickenButt/youtube-webos.git
  • Enter the folder and build the App, this will generate a *.ipk file.
cd youtube-webos

# Optionally, if you haven't installed full SDK:
npm install

npm run package

Installation

npm run deploy

Launching

  • The app will be available in the TV's app list or launch it using ares-cli.
npm run launch
Comments
  • [WIP] Make the UI of the app nicer

    [WIP] Make the UI of the app nicer

    Changed

    • Icon of the app

    Parts added:

    • Add start screen when open the app first time (this will be splash screen)

    Future request:

    • Make the app load under the video to reduce waiting time.
    opened by NguyenASang 9
  • Sponsorblock integration

    Sponsorblock integration

    This is a very early implementation of sponsorblock integration.

    • webpack+babel-based build infrastructure for userscript and index - no longer need to worry about using modern syntax
    • userscript has been split into mulitple files with userScript.js just initializing necessary shims and pulling in the submodules.
    • Segments are marked as colored bars on progress slider (this is slightly sketchy - based on MutationObserver - will likely not work on webOS 1.x/2.x - but not sure if these are even supported by YouTube TV...)
    • No skip category configuration UI
    • Small skip notification in bottom right corner is shown.
    • Settings UI (checkboxes for adblocking and sponsorblock features, both enabled by default) is accessible after clicking [GREEN] (notification about this extra feature is shown for a second on startup)
    • All categories are skipped by default
    • No unskipping (though manual seek backwards should work more-or-less fine)

    Closes #1 Closes #11

    c1 c2 c3

    opened by Informatic 8
  • Playback Speed

    Playback Speed

    Is there a way to make possible to change the playback speed? Maybe changing the useragent can allow to do the same https://www.youtube.com/watch?v=ho1iuulbi_c

    opened by PiRomant 6
  • Watch history not being saved

    Watch history not being saved

    Watch history does not seem to save. https://youtu.be/BbOqAhKU4rg As you can see in the video, when I start watching a random video in the TV app, video is not saved to watch history. Then I start watching a video on my laptop (signed in with the same account) and the video is correctly shown in the watch history on the TV.

    opened by Stari89 5
  • LG TV requires ares-novacom

    LG TV requires ares-novacom

    To install this on the LG TV, we need to install ares-novacom which is not in the open source version of ares cli. This is so we can connect to the TV via the --getkey command.

    To make it work on LG TV, all the commands need to include --device <device_name> because the LG version of ares cli doesn't have a default setting. I've also discovered that you can only install on the profile with ip address+port 9922, not the default emulator profile with port 6622.

    Just a suggestion to add some more documentation on these workarounds. Thanks a bunch for creating and sharing this!

    opened by emise 4
  • Slow DIAL connection

    Slow DIAL connection

    Needs further research, but seems like after changes in e6d7c03dccb585426ef6f1a18ae3b4882df690d2 (needs verification) DIAL connection takes approximately 30-40 seconds after app launch to establish.

    At first, connection to http://localhost:18181 was getting rejected due to missing CORS headers, but after adding {"vendorExtension": {"allowCrossDomain": true}} as per original manifest, the issue still persists... YouTube TV attempts to send a GET request, which is unhandled and stays pending for a while...

    opened by Informatic 4
  • ares-install ERR! Error: connect ECONNREFUSED 127.0.0.1:6622

    ares-install ERR! Error: connect ECONNREFUSED 127.0.0.1:6622

    Although everything looks being setup properly I get this error when trying to send the IPK to my C1 "48.

    Here is the full error: `cr4z33@CR4Z33-STUDIO:~/youtube-webos$ npm run deploy

    [email protected] deploy ares-install youtube.leanback.v4_${npm_package_version}_all.ipk

    ares-install ERR! Error: connect ECONNREFUSED 127.0.0.1:6622`

    and here are some infos from the installed webOS SDK: `cr4z33@CR4Z33-STUDIO:~/youtube-webos$ ares-setup-device --list name deviceinfo connection profile


    tv2 (default) [email protected]:9922 ssh tv emulator [email protected]:6622 ssh tvcr4z33@CR4Z33-STUDIO:~/youtube-webos$ ares-device-info --device tv2 modelName : OLED48C15LA sdkVersion : 6.3.1 firmwareVersion : 03.33.11 boardType : O20N_DVB_EU otaId : HE_DTV_W21O_AFABATAA`

    Please help. 😭

    opened by Cr4z33 3
  • Remove Youtube login popup

    Remove Youtube login popup

    I know cuz some reason so this "Youtube" can't be sign in so we need to remove this pop up ( it appears every time I watch a video )

    241759869_925964231324724_7119786084192135135_n

    Translate: Đăng nhập để có trải nghiệm tuyệt vời nhất trên Youtube Sign in for the best YouTube experience

    Bạn chưa có tài khoản? Hãy tạo tài khoản miễn phí tại youtube.com/signup Don't have an account? Create a free account at youtube.com/signup

    Đăng nhập Login

    Để sau Later

    opened by NguyenASang 3
  • Any way to remove limit developer's time

    Any way to remove limit developer's time

    I really want to remove the limit developer's time because sometime I forgot to extend developer's time and then the app disappears. Is there anyway to remove it? Can rooting my TV get rid of that?

    opened by NguyenASang 2
  • DIAL startup support

    DIAL startup support

    Official webOS YouTube app can be started directly from smartphone YouTube app.

    By default youtube is hardcoded as youtube.leanback.v4 (?) in DIAL server, but there also seems to be some support for dialAppName (?) property in app manifest.

    Either renaming this app as youtube.leanback.v4, playing with dialAppName attribute, or patching the DIAL server altogether (at least for rooted devices) would be great.

    opened by Informatic 2
  • SponsorBlock support

    SponsorBlock support

    SponsorBlock is an open-source crowdsourced browser extension and open API for skipping sponsor segments in YouTube videos.

    They seemingly support youtube.com/.tv so that should be pretty possible to just pull in their contentscript, after beating their ts(x) with enough webpack/babel magic.

    enhancement 
    opened by Informatic 2
  • Unable to build on Windows 11 with Node.js v18.12.0 due to  code: 'ERR_OSSL_EVP_UNSUPPORTED'

    Unable to build on Windows 11 with Node.js v18.12.0 due to code: 'ERR_OSSL_EVP_UNSUPPORTED'

    When attempting to build on WIndows 11 22H2 with node v18.12.0 I get the following error:

    > [email protected] build
    > webpack
    
    Browserslist: caniuse-lite is outdated. Please run:
    npx browserslist@latest --update-db
    
    Why you should do it regularly:
    https://github.com/browserslist/browserslist#browsers-data-updating
    node:internal/crypto/hash:71
      this[kHandle] = new _Hash(algorithm, xofLen);
                      ^
    
    Error: error:0308010C:digital envelope routines::unsupported
        at new Hash (node:internal/crypto/hash:71:19)
        at Object.createHash (node:crypto:133:10)
        at BulkUpdateDecorator.hashFactory (C:\Users\UserXP\Desktop\youtube-webos\youtube-webos\node_modules\webpack\lib\util\createHash.js:145:18)
        at BulkUpdateDecorator.update (C:\Users\UserXP\Desktop\youtube-webos\youtube-webos\node_modules\webpack\lib\util\createHash.js:46:50)
        at RawSource.updateHash (C:\Users\UserXP\Desktop\youtube-webos\youtube-webos\node_modules\webpack-sources\lib\RawSource.js:64:8)
        at NormalModule._initBuildHash (C:\Users\UserXP\Desktop\youtube-webos\youtube-webos\node_modules\webpack\lib\NormalModule.js:870:17)
        at handleParseResult (C:\Users\UserXP\Desktop\youtube-webos\youtube-webos\node_modules\webpack\lib\NormalModule.js:936:10)
        at C:\Users\UserXP\Desktop\youtube-webos\youtube-webos\node_modules\webpack\lib\NormalModule.js:1028:4
        at processResult (C:\Users\UserXP\Desktop\youtube-webos\youtube-webos\node_modules\webpack\lib\NormalModule.js:745:11)
        at C:\Users\UserXP\Desktop\youtube-webos\youtube-webos\node_modules\webpack\lib\NormalModule.js:809:5 {
      opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
      library: 'digital envelope routines',
      reason: 'unsupported',
      code: 'ERR_OSSL_EVP_UNSUPPORTED'
    }
    
    Node.js v18.12.0
    
    opened by bogdan192 0
  • Audio becomes muted if first video in home is a sponsored one

    Audio becomes muted if first video in home is a sponsored one

    Hi all,

    I have had this issue where the audio gets muted sometimes, and I read somewhere it's happens when the first video in the "home" page is a sponsored one. I have been working around this based on a solution someone proposed - which is to go to the gaming tab and hover over the first video.. and switch back.

    Is there any way to fix it? These are the times when I wish I knew a bit of js. Thanks.

    opened by oystermon 0
  • Player UI without subtitles settings

    Player UI without subtitles settings

    Hello, First i wanna say thank you for this awesome project. Thanks to you ive been enjoying YouTube videos without ads on my lg projector hu70la. Recently i found out that the player interface hides the settings for subtitles, and ive been unable to display subtitles. Note that the same video opened on Android has the option for subs. Ive also noted that the app self update, since the version on my app is web_20220403_10_RC00 and ive install the app last year and never manually updated. On previous versions the feature for subtitles was working perfectly. Is there an option for blocking updates? Thanks again, Daniel

    opened by who1sthis 1
  • Playback speed not working

    Playback speed not working

    Using the latest release (0.0.3), the playback speed control is not working. Changing the speed to 1.25x, 1.5x, 1.75x or 2x does not change the playback speed of the video, it is still playing back at 1x regardless of setting.

    opened by vincentchew91 4
  • possibility to choose which codec and bitrate to use

    possibility to choose which codec and bitrate to use

    I have a somewhat subpar tv and I see now that YouTube is sending some videos as vp09, it works fine but in some very specific videos it lags a little... The end result is the tv lags on some 1080p videos (just one so far), so I would like to choose which codec to load like h264, vp9, the audio codec, bit rate etc. I fear that when AV1 is enforced on lg webos my non hardware accelerated tv for this codec will be unusable for YouTube (like what happened to some Samsung TV I think, I don't remember now.).

    I like this project so much, thank you for everything, I had stopped casting on my tv because of the lack of adblock and sponsor block. Sincerely, thank you!

    My tv is 49UM7300PSA running 4.9.0-53904 (goldilocks2-gyerongsan) with software version: 05.00.15.

    Thank you! [edit] And sorry, I did not know that pull request was for software development and I should write on issues.

    opened by Theluga 0
Releases(0.0.3)
Owner
Swapnil Kumbhare
I like vulnerable systems.
Swapnil Kumbhare
Swaps video ads for an ad-free stream.

VideoAdBlockForTwitch This video adblock for Twitch extension will swap Twitch video ads for an ad-free version of the stream at 480p and then automat

cleanlock 1.5k Jan 2, 2023
Free Anime Streaming Website Made with PHP and Gogoanime API. No Video ads

AniKatsu - Watch High Quality Anime Online Without Ads Demo https://anikatsu.ga This is a PHP application used for browsing, searching and watching an

Shashank Tiwari 34 Nov 7, 2022
A browser extension to skip intro, recap and ads on video streaming plaforms

AIO Skipper AIO skipper is a browser extension made for ?? binge watchers ?? . It automatically skip intro, recaps and ads in Netflix, Prime Video, Di

null 6 Nov 2, 2022
This is a YouTube Video Planner app built with NextJS, GraphQL, Prisma and MongoDB for the MongoDB Atlas Hackathon

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

Justin Chau 2 Jan 14, 2022
▶️ Streams a list of tracks from Youtube, Soundcloud, Vimeo...

PlayemJS PlayemJS is a front-end JavaScript component that manages a audio/video track queue and plays those tracks sequentially. It can currently pla

Adrien Joly 90 Nov 27, 2022
Rule YouTube, Soundcloud and Vimeo player with one API

Polyplayer Polyplayer allows you to rule YouTube's, Soundcloud's and Vimeo's player using one API. Features Playing, pausing, stopping Seek to absolut

Marius 41 Sep 24, 2022
HTML5

One file. Any browser. Same UI. Author: John Dyer http://j.hn/ Website: http://mediaelementjs.com/ License: MIT Meaning: Use everywhere, keep copyrigh

MediaElement.js 8k Dec 27, 2022
A simple HTML5, YouTube and Vimeo player

Plyr is a simple, lightweight, accessible and customizable HTML5, YouTube and Vimeo media player that supports modern browsers. Checkout the demo - Do

Sam Potts 23.1k Jan 3, 2023
HTML5

One file. Any browser. Same UI. Author: John Dyer http://j.hn/ Website: http://mediaelementjs.com/ License: MIT Meaning: Use everywhere, keep copyrigh

MediaElement.js 8k Jan 8, 2023
A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion

ReactPlayer A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia, M

Pete Cook 7.2k Jan 4, 2023
Watch youtube, play poker and many others games together!

THE GAMES ARE FROM DISCORD STOP MESSAGING ME ABOUT IT! Powercord Together A plugin that makes easy to watch youtube, play poker and many others games

notsapinho 66 Nov 25, 2022
Play games or watch YouTube videos together on Discord !

Discord Together ?? Installation Install discord-together $ npm install discord-together@latest Install discord.js $ npm install discord.js ?? Featu

RemyK 186 Jan 3, 2023
Tonton video tutorial di YouTube saya untuk cara penginstalan & apabila kurang mengerti bisa hubungi saya di WhatsApp 🐣Klik link di bawah untuk tutorial penginstalan di heroku

BOTZ10 LAST Termux • Heroku • Session Setting • Thanks TERMUX Git clone this repo > git clone https://github.com/zeeoneofc/BOTZ10a.git > cd BOTZ10a >

zeeone 17 Dec 23, 2021
Umut Bayraktar YouTube Özel Discord.js v13 Uyumlu Başvuru Botu Altyapısı, Glitch ve PC Uyumludur!

Discord.js v13 Başvuru Botu Umut Bayraktar Youtube Özel Discord.js v13 Başvuru Botu Altyapısı. Glitch.com'da Kullanacak İseniz .env İsimli Dosyaya Bot

Umut Bayraktar 6 May 31, 2022
Umut Bayraktar Youtube Özel Codesty Bot Altyapısı!

BU ALTYAPI EXPERT TARAFINDAN YAPILMIŞDIR! UMUT BAYRAKTAR: https://www.youtube.com/c/UmutBayraktarYT CODE SHARE Discord Sunucusu: https://codeshare.xyz

Umut Bayraktar 2 May 31, 2022
Umut Bayraktar Youtube Özel Discord.js v13 Müzik Botu Altyapısı.

Discord.js v13 Müzik Botu Umut Bayraktar Youtube Özel Discord.js v13 Müzik Botu Altyapısı. .env İsimli Dosyaya Bot Tokeninizi Yazın ve Kullanın. Umut

Umut Bayraktar 8 May 31, 2022
Discord-Bot - You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have published on my youtube channel.

Discord-Bot You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have publishe

Umut Bayraktar 114 Jan 3, 2023
Lightweight customizable placeholders for third party content of your website (e.g. Youtube Videos) compatible with the Usercentrics CMP.

Usercentrics Widgets Lightweight customizable placeholders for third party content of your website (e.g. Youtube Videos) compatible with the Usercentr

Netresearch 3 Nov 17, 2022
Getting Dislikes Back For Youtube, cause time is precious to at least not waste on junk.

The OpenDislikeAPI Project Getting Dislikes Back For Youtube(TM), cause time is precious to at least not waste on junk. Inspired by a video by Linus T

null 4 Jun 16, 2022