MQTT-controlled fullscreen browser utilizing pywebview
Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
config.py.sample
mqttwebview.py
requirements-dev.txt
requirements.txt
run_mqttwebview.sh

README.md

A MQTT-connected web view

How to install

  • Install the dependencies like this:
sudo apt install python3-gi gir1.2-webkit-3.0 libwebkitgtk-3.0-dev
pip3 install -r requirements.txt --user
  • Then clone the git repo: https://github.com/c-base/mqttwebview.git

How to run

  • cd into the freshly cloned directory
  • Run the program with ./run_mqttwebview.sh

Run automatically at boot time

Set i3 as the default window manage (session) in lightdm.

Add the following line to /home/$USER/.i3/config:

exec /home/$USER/mqttwebview/run_mqttwebview.sh

How to run X11 without mouse cursor and also disable display sleep

in /etc/lightdm/lightdm.conf change the line

xserver-command=X

into this:

xserver-command=X -nocursor -s 0 dpms