Build your own RasPiTV with Node.js & Socket.io

1,428 views

Published on

This workshop was given at Lamba Labs Beirut First Hackerspace and the talk was given at LebGeeks Event.

If you'd like to bypass this presentation and jump into the fun stuff, you can always fork the code on Github:

https://github.com/DonaldDerek

Or check the tutorial on: blog.donaldderek.com

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,428
On SlideShare
0
From Embeds
0
Number of Embeds
30
Actions
Shares
0
Downloads
19
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Build your own RasPiTV with Node.js & Socket.io

  1. 1. Build Your own RasPiTVDerekHaddadDonaldDerek
  2. 2. The idea.= + +RaspberryPi Chromium NodeJS + Socket.ioRasPiTV
  3. 3. The Implementation.RasPiTv with its special remote controller
  4. 4. The Stack• Raspbian• NodeJs– Express– Socket.io– Omxcontrol• Shell Commands– Chromium in Kiosk mode– Youtube-dl– Omxplayer
  5. 5. WARNING:Diving into Code
  6. 6. Socket.io: Client SideClient Side Implementation (remote.html)
  7. 7. Socket.io: Server SideServer Side Implementation (app.js)
  8. 8. Moustache.js – TemplateEngineThe templateCreating the JSON object and filling in the template
  9. 9. The RemoteMinimal remote – Buttons are replaced with Swipe Gestures
  10. 10. Quo.js – Handling SwipeGesturesThe $$ is to differentiate jQuery from Quo
  11. 11. The TVSwipe right on the remote to move the border from Watch to Listen
  12. 12. https://github.com/DonaldDerek/RaspberryPiTVFork me on githubCheck the full tutorial on: blog.donaldderek.comDerekHaddadDonaldDerek
  13. 13. May the Force be with youDerekHaddadDonaldDerek

×