Important note: If you have been using xinit to start embedded kweb applications as described in the manual, please read the following: https://www.raspberrypi.org/forums/view ... 9#p1084441
The kweb suite adds a number of programs to Raspbian which integrate web access, media support and command execution. It includes two simple but highly configurable web browsers with some unique features and a hardware accelerated media player based on omxplayer with support for web video. The programs are available from the desktop but can also be used to develop embedded applications (kiosks, digital signage, browser based desktop environments and much more).The kweb environment consists of a number of HTML pages which can be extended by the user without any coding experience.
The kweb suite can be used on any kind of Raspberry Pi. It uses external programs for a lot of things (wget/uget for downloads, mupdf, xpdf or evince to display PDF, omxplayer for media playback, youtube-dl for web video access) and thus on a Raspberry Pi 2 or 3 the load distributes nicely across multiple cores. Although the webkit engines used by kweb are single core only, both browsers can use multiple cores to display multiple web windows.
kweb (Minimal Kiosk Browser) - web browser using GTK+2 and the default webkitgtk library
kweb3 (Minimal Kiosk Browser GTK+3) - web browser using GTK+3 and the hardware accelerated webkitgtk3 library
omxplayerGUI - GUIs for omxplayer including an audio player, a video player and a media player frontend.
kweb_edit.py - special text editor for kweb's command interface and frontend for the HTML generator
kweb_bookmark.py - bookmark utility used by kweb(3)
ytdl_server.py - special web server for fast web video access and optional web interface to local media
... plus a number of python programs and scripts used internally
The kweb environment pages can be accessed from kweb's menu and control panel pages or from kweb's :command interface. Some of these pages are managed and built dynamically by kweb's helper programs. Some pages can be edited by the user and he can also add new pages without any knowledge of HTML coding with the help of kweb's special text editor and HTML generator. These pages support kweb's unique command interface which allows execution of any kind of program or browser command when the user clicks a button, link or icon or automatically when a page loads. From a simple web form the user can create keyboard shortcuts or buttons which execute up to four commands at the same time (extensible by manual editing).
Two extensive PDF manuals (kweb and omxplayerGUI, together more than 110 pages) which cover everything from basic usage to tutorials and developer's information. The manuals can be opened from inside the programs (kweb or omxplayerGUI frontend). Recent changes can be found in the changelog.
Kweb's built-in function to play web video in high quality with omxplayerGUI can also be used from other browsers:
chromium browser: kusti8's rpi-youtube chromium-browser extension (currently not working).
chromium browser, adding a user script: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=163018&p=1054095
Firefox: user script extension for Firefox.
The kweb suite is free and Open Source software published under the GPL license. Source code is a avaiable as a separate download.
- Code: Select all
tar -xzf kweb-1.7.7.tar.gz
The output at the end of the installation will tell you, if all programs needed or recommended in combination with kweb are installed or how to install them.
The kweb suite is also available from kusti8's repository. If you have added this to your sources list you can use apt-get to install or update kweb.
For Raspbian Wheezy users version 1.6.8 is still available, but it will not be supported any more:
- Code: Select all
tar -xzf kweb-1.6.8.tar.gz
The following image shows a desktop application running in kweb. In fact, it is the desktop I'm using on one of my RPis. The right part of the desktop window can embedd any kind of web content. Here it shows the start page of the ytdl-server with access to local media.
The attached image shows kweb's user interface including the tooltip text of the entry field.