Leapcast – Chromecast for Raspberrypi

Leapcast is a software implementation of the Chromecast. It works on the same protocol that Chromecast does and can be easily used as a Chromecast device. What is interesting is that the cost of a Chromecast device and a Raspberry Pi is the same($35).

To use your Raspberry Pi as a Chromecast device follow the following steps:

1. Upgrade your Raspberry Pi

sudo apt-get update
sudo apt-get upgrade

2. Install Chromium  browser

sudo apt-get install chromium

3. Now we will install dependencies for leapcast and clone the git repository

git clone https://github.com/dz0ny/leapcast.git
cd ./leapcast
sudo apt-get install virtualenvwrapper python-pip python-twisted-web python2.7-dev

Now reset your ssh connection by typing exit and then again ssh into your Pi.

4.Now you are ready to run leapcast. Make sure your HDMI cable is connected.After that type

cd leapcast/
startx &
mkvirtualenv leapcast
pip install .
DISPLAY=:0 leapcast --chrome /usr/bin/chromium

If you get the error “failed to load nss libraries” then type

sudo ln -s /usr/lib/arm-linux-gnueabihf/nss/ /usr/lib/nss

With this i could stream youtube videos to my Pi but I have not tried the new screen cast feature yet. If you try it and it works please leave a comment.

 

 

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.