Skip to content
/ Web2TVC Public

Project Web2TVCast, challenge suggested by the BLU team

Notifications You must be signed in to change notification settings

lapwil/Web2TVC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web2TVC

Welcome to the Web2TVCast Project, a challenge suggested by the BLU team.

I°)-->Installation & PhantomJS Documentation

This project needs a webserver that you'll have to install first.
We used MAMP for OSX, you can also use WAMP for Windows users.
You will need to brew PhantomJS, a Javascript Library.

Here is the link to HomeBrew, it will help you for PhantomJS installation : http://brew.sh/

So first, install HomeBrew with this line in your terminal:
$> ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
You will need to update your HomeBrew with:
$> brew doctor

Then, you can easily install PhantomJS latest version with :
$> brew install phantomjs
Now your server will know what is phantomJS!

Here is the link to the official PhantomJS documentation : http://phantomjs.org/
<--°)

II°)-->How To Use Web 2 TV Cast?

When your server is ready, you can fork our project in it, by sliding the directory.
Now, on your web browser, go to localhost:8888/Web2TVC/
You will be redirected to our Index Page.
That Page is more like a test page, you can try to add an URL of a desired website, change the dimensions of the final result
and press "Tester"
Your server will redirect you to a HTML page with just a picture of the desired website.
<--°)

III°)-->How Does It Works?

Thanks to this page, you can now understand how our programm works. You need to call your server by giving him a HTTP request
like : localhost:8888/Web2TVC/cast.php?url=http://raphaeljs.com/polar-clock.html
This request will order the server to take a picture of the given website. This picture will be stocked in a picture library,
and the server will redirect you to a totally new HTML page, containing the image.
This page is only an image, it can be read by your ChromeCast ! :D
<--°)

IV°)-->Can I Use It With A Dashboard Utility Tool?

Yes it's simple!
If you use DashKiosk like us (http://dashkiosk.readthedocs.org/en/latest/), you just need to put this kind of URL
in the URL field.
----> localhost:8888/Web2TVC/cast.php?url=http://raphaeljs.com/polar-clock.html <------
You can then add another link, another, and another, configure a timeout, and do everything you want!
For example, 4 links with a 30 seconds timeout will take 2 minutes to slide on the 4 links.
<--°)

In the name of Web 2 TV Cast Crew (Jean LE, Hassan AOUBID IAAZA, Adrien MONTEIRO & William LA PORTE) we'd like to thank you for
your attention, and thank you for trusting W2TVC!

About

Project Web2TVCast, challenge suggested by the BLU team

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published