Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A minimal WebKit based browser
C
branch: master

This branch is 1 commit ahead, 5 commits behind pschultz:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Makefile
README.md
browser.c
test-reload.html

README.md

This is a minimal WebKit based browser. It's intended use is to display a single web resource non-interactively, while being highly portable, especially to the arm11 architecture (used for the Raspberry Pi), and supporting Javascript and HTML5 Websockets for dynamic content updates.

COMPILING

apt-get install libwebkit-dev
# OR: yum install webkitgtk-devel
make

INSTALLING

No special steps are required for installation. Just execute browser. This program was designed to be started via inittab on boot like this:

1:2345:respawn:/usr/bin/startx -e /usr/bin/browser http://10.0.0.5/zfs/monitor tty1 </dev/tty1 >/dev/tty1 2>&1

USAGE

browser <URL>

This will launch the browser in fullscreen mode and load the resource at URL. URL can be anything that WebKit supports, including file://-URLs for local webpages and documents. Omitting URL shows the default page, this README.

The following keybindings exist:

  • F5 for reloading the current page
  • F11 for toggling fullscreen

These actions are also implemented as signal handlers:

  • HUP for reload
  • USR1 for fullscreen toggle
Something went wrong with that request. Please try again.