# Watch on LBRY A plugin for web browsers that automatically checks whether a YouTube video or channel is on LBRY. If it is, it redirects you to LBRY to watch it there. ## Installation [![Get on Firefox](https://addons.cdn.mozilla.net/static/img/addons-buttons/AMO-button_1.png)](https://addons.mozilla.org/en/firefox/addon/watch-on-lbry/?src=search) [![Get on Chrome](https://developer.chrome.com/webstore/images/ChromeWebStore_BadgeWBorder_v2_206x58.png)](https://chrome.google.com/webstore/detail/watch-on-lbry/jjmbbhopnjdjnpceiecihldbhibchgek) ## Build From the root of the project For Production ```bash $ npm install $ npm run build $ npx web-ext build --source-dir ./dist # optional, to create the zip file from the dist directory ``` For Development ```bash $ npm install $ npm run watch ``` Then, either manually install it for your browser or, from another terminal invoke: ```bash $ npm run start:chrome $ npm run start:firefox # or, if you'd prefer firefox ``` ### Manual Install for Chrome: Visit ```chrome://extensions``` (via omnibox or menu -> Tools -> Extensions). Enable Developer mode by ticking the checkbox in the upper-right corner. Click on the "Load unpacked extension..." button. Select the directory containing your unpacked extension. ### Manual Install for Firefox To install an extension temporarily: - open Firefox - enter “about:debugging” in the URL bar - click “Load Temporary Add-on” - open the extension’s directory and select any file inside the extension. The extension will be installed, and will stay installed until you restart Firefox. ## Usage Go to YouTube in your browser. When you load a video or channel, it will detect if it's also uploaded to the LBRY Network and the it will move you to open.lbry.com so you can watch the video on LBRY (either on the web or in the app)! ## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate. ## License [MIT](https://choosealicense.com/licenses/mit/) ## Support If you want you can donate me with crypto :) LBC : bXeBKSjPygVbvkBH79Bp6CxiyeRC2hpVQ3 This will help future plugin development :)