Giter Club home page Giter Club logo

video-proxy-rb's Introduction

video-proxy-rb

A HTTP-Proxy that allows to watch videos in VLC or download them or do other things.

The proxy runs on port 8000. Add it to your browser and whenever a video (determined by the .mp4, .flv, .avi or .ogm extension) should be loaded the proxy intercepts and instead of delivering the video shows a notification offering you to watch the video in VLC and copy the CURL-Download command to the clipboard.

You can change the port it is listening on by adding a command line parameter to the call like this:

ruby video-proxy.rb 2342

This program requires the following ruby gems:

  • webrick
  • terminal-notifier

This proxy currently only works on OSX but it only takes little changes to make it run on other platforms. You'd only need to exchange the notfification system and adjust the commands as described below.

You can easily modify the COMMANDS-array in order to change what should be done once the user clicks a video notification. The %s reflects the video URL whereas %r is the referer URL.

video-proxy-rb's People

Contributors

leuchtetgruen avatar

Watchers

 avatar  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.