The WPE fork of WebKit, packaged as a snap for fullscreen use in kiosk applications.
Tested on:
- ✅ Ubuntu Desktop 18.04.02 LTS with weston/miral-kiosk
- ✅ Ubuntu Core with mir-kiosk on a Raspberry Pi 3
The snap should run on all snapd-supported distributions if you have a Wayland compositor running with the default socket at /run/user/0/wayland-0
(currently hardcoded, cf. this post on the snapcraft forum for details)
- Fullscreen webview for any size or rotation passed by the Wayland compositor
- Configurable:
url
: Accepts HTTP(S) URLsdevmode
: Toggle Remote Inspector on/offerror-to-console
: Logs JavaScript errors to the service log instead of the console, useful for remote debugging (check the logs withsnap logs wpe-webkit-mir-kiosk.browser
)debug
: Enables (very) verbose debug messaging by settingG_MESSAGES_DEBUG=all
,LIBGL_DEBUG=verbose
andWAYLAND_DEBUG=1
. Useful only if the browser won't start at all or has critical rendering issues, as this will definitely spam your logs.
- Browsing works with auto-connected interfaces
- Ships manually connected interfaces for advanced use (Bonjour/zeroconf etc.)
- Exposes the
com.igalia.Cog
D-Bus service on the system bus. This allows snaps that plug this interface to remote-control the Cog browser with all commands that upstreamcogctl
currently provides. See snapcraft docs for more information.
- WPE WebKit and its direct dependencies:
libwpe
- WPE FDO backend
- Cog launcher/webapp container
- Install mesa-core20 snap from snap store
snap install mesa-core20
- For upstream supported graphics
snap connect wpe-webkit-mir-kiosk:graphics-core20 mesa-core20:graphics-core20
- For specific hardware platform
snap connect wpe-webkit-mir-kiosk:graphics-core20 mesa-core20:graphics-core20
snap connect wpe-webkit-mir-kiosk:graphics-core20 vendor-mesa-core20:graphcis-core20