/BerryShare

Share PC desktop to Raspberry Pi with WebRTC

Primary LanguageC++MIT LicenseMIT

BerryShare

Share your PC desktop to Raspberry Pi with WebRTC.

Webp net-gifmaker

Getting Started

  • Install the latest version of RaspiOS image (Lite or with desktop).
  • Connect monitor with HDMI cable, boot up Raspberry Pi and configure network.
  • Download and copy the installation package berry-share_<version>.deb to Raspberry Pi
  • Install BerryShare package
$ apt update
$ sudo apt install -y ./berry-share_<version>.deb
$ sudo systemctl start berry-share
  • Open Chrome on your PC and go to the URL https://<your raspberry pi ip>:30001
  • It will show "Your connection is not private". Click "Advance" and "Proceed to <ip> (unsafe)" to skip the authorization.
  • Choose "Entire Screen" and click "Share".
  • Raspberry Pi will display your PC desktop!

Development

Model OS image
Raspberry Pi 3A+ 2021-05-07-raspios-buster-armhf-lite.img
  • Install Git and clone the repository.
$ apt update
$ apt install -y git
$ git clone --recursive https://github.com/sepfy/BerryShare
  • Install dependencies.
$ cd BerryShare
$ ./scripts/install-deps.sh
  • Compile BerryShare.
$ mkdir cmake
$ cd cmake
$ cmake ..
$ make -j4
  • Package to dpkg.
$ ./scripts/create-dpkg.sh

Dependencies

Known Issues

  • No audio
  • Only support PC, no mobile.
  • Only support Chrome.
  • Only entire screen, no chrome tab.