Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.24 KB

readme.md

File metadata and controls

41 lines (33 loc) · 1.24 KB

Remote Pi Web

Operate your Raspberry Pi from a web browser.
Screen capture

Roadmap

  • Screen viewable from web client
  • Scale canvas to browser's screen
  • Mouse control
  • Keyboard control
  • Client-side configuration
  • Server configuration
  • Sockets

Installation

Install Node.js

sudo apt install xdotool

git clone https://github.com/zvakanaka/remote-pi-web
cd remote-pi-web
npm install

You can make your Pi think it has a screen by forcing HDMI output in the config.txt.

This can be done by removing the # from the line of the config.txt that looks like this: #hdmi_safe=1.

Run

Other env vars: CAPTURE_METHOD (defaults to 'native', 'scrot' requires it to be installed), QUALITY (defaults to 25), CAPTURE_INTERVAL (defaults to 500), VIEW_ONLY (defaults to false)

env DISPLAY=:0 npm start

System Dependencies

Testing

npm run postinstall && npm test && xdg-open output.jpg