Skip to content

rusko124/screenly-ose-webview

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScreenlyOSE-WebView

Build Status

Building

Before building, you need to install the following packages:

libqt5webkit5-dev
gstreamer0.10-plugins-good
libdbus-glib-1-dev

Building:

qmake
make
make install

You can change the folder to build:

export PREFIX=/home/pi/webview_build/

Besides, you need to copy res folder to /usr/local/bin/ScreenlyWebview/res

To prepare for a release, use the docker container:

$ docker run --rm \
    -e VERSION=*version* \
    -v $(pwd):/Screenly-webview \
    screenly/screenly-webview-build

Usage

DBus is used for communication. Webview registers screenly.webvew object at /Screenly address on the session bus.

Webview provides 2 methods:loadPage and loadImage.

Example of interaction (python):

from pydbus import SessionBus

bus = SessionBus()
browser_bus = bus.get('screenly.webview', '/Screenly')

browser_bus.loadPage("www.example.com")

Supported protocols: http://, https://

About

QT based browser for the Raspberry Pi used by Screenly OSE

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 50.9%
  • Shell 26.3%
  • HTML 14.0%
  • QMake 5.6%
  • Dockerfile 3.2%