Code Monkey home page Code Monkey logo

ad-free-youtube's Introduction

Ad Free Youtube

This project explores the use of youtube's embed architecture to circumvent ads

Quickstart

# Get this project
git clone https://github.com/BarakBinyamin/addless-youtube.git
cd addless-youtube
npm install
# Run the demo @ localhost:8000
node index.js --port=8000

Avoid CORS policy blocks

If you navigate to your ip-address:port instead of localhost:port you'll most likely have CORS issues with the youtube iframe

You can get an ssl encrytpted (https) tunnel to internet with the awesome tool localhost.run

ssh -R 80:localhost:8000 [email protected]

CORS, cross origin resource sharing, is a set of browser policies meant to keep your data safe. One of these policies prevents requests to ssl secured (https) websites from a non secure website (http). Special acception for localhost becuase that's known to be your computer.

Or Ngrok

Forward this service to the web using ngrok, and avoid CORS policy blocks

  1. Make an ngrok account
  2. Create an ssh key with the command ssh-keygen
    1. Follow the prompts, remember the passphrase
    2. Copy the public key (cat /path/to/id_rsa.pub)
  3. Paste the ssh key to ngrok
  4. Forward this service to the web
ssh -i id_rsa -R 443:localhost:8000 tunnel.us.ngrok.com http

The output should be two routes, one with ssl enabled

ad-free-youtube's People

Contributors

barakbinyamin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.