GithubHelp home page GithubHelp logo

tv.js's Introduction

tv.js : Apple TV for Torrent Streaming

screen

A Smart TV application to stream movies using BitTorrent. (Yes it actually streams them in order even though it's BitTorrent)

Tv.js used iTunes' API to find movies, isoHunt to search torrents and BitTorrent to downloading/stream movies.

It runs as a server which can run on a Raspberry Pi and the UI can be controlled from a smartphone (no need of keyboard or mouse).

Tv.js is the result of a 24h personal hackathon (7th of July 2013) by Aaron O'Mullan (@AaronO) and me (@SamyPesse).

It's designed to run on a TV screen (through HDMI), but works just as well on a laptop. (it's entirely usuable with keyboard controls alone)

You can see a video of it working here on Youtube: https://www.youtube.com/watch?v=j71NCZnLffg

Downloading copyrighted material through torrents may be illegal in your country.

screen

screen

screen

screen

How to use it on your computer ?

To build and run the app, you'll need :

node
rake
ffmpeg

To build and run the all :

rake install
rake

And go to http://localhost:8888 on your browser

Or simply run the server without rebuilding the client with :

rake run

How to install it on your TV ?

This application has been built and designed to run on a TV screen using a Raspberry Pi.

Software Stack:

Raspbian OS โ€“ a Debian distro specially made for the rPi
NodeJs
tv.js
ffmpeg
Chromium Browser

Steps :

1. Install Raspbian & NodeJs

Follow this tutorial to install Raspbian and Node Js on your Raspberry Pi

2. Install Chromium

sudo apt-get install chromium-browser
sudo apt-get install ttf-mscorefonts-installer

3. Install tv.js

export DISPLAY=:0.0
git clone https://github.com/SamyPesse/tv.js.git && cd tv.js
rake install

4. Build and run tv.js

rake build
rake run
chromium --kiosk http://localhost:8888

How to install ffmpeg ?

tv.js needs ffmpeg to convert the videos to ogv, make sure you have ffmpeg installed with the necessary codecs.

Mac OS X :

brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools

Todo

- Use IMBD or another API with a bigger movie collection that Itunes'
- Cache converted videos
- Improve overall stability
- Improve torrent picking algorithm (by seeds/leechers, size, votes, video format ...)
- Package using NodeWebkit for Windows/Mac/Linux/Raspberry PI
- Add other awesone stuff !

Disclaimer

There are obvious legal issues, with downloading copyrighted material you do not have a license for. We do not endorse such use cases and bare no responsability for the use people make of it.

tv.js's People

Contributors

samypesse avatar

Watchers

James Cloos avatar Lucas Holmquist 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.