Giter Site home page Giter Site logo

webkontrol's Introduction

WebKontrol

License Version Last Commit

An intuitive web kiosk with a web based admin panel.

I originally developed this for the livestreaming industry. This allows me to display a clock, but also use something like stagetimer.io. This can also be implemented in an information display, or even a touchscreen kiosk.

โš ๏ธ This is not yet fully developed, and the code is not perfect. I will continue developing this. In its current state I have tested the platform to be stable.

Getting started

I am planning to sell pre-configured boxes on my store. If you are interested, contact me.

Install

WebKontrol is Python based, which means it can run on a lot of operating systems. It is tested on windows 11 and Raspberry Pi OS (Desktop). The first part of the install is interchangable between both, but make sure you have python, pip and git installed.

Dependencies

pip install selenium
pip install flask
pip install threading
pip install netifaces
sudo apt-get install chromium-browser
sudo apt-get install chromium-chromedriver

Code

git clone https://github.com/IJIJI/WebKontrol.git --branch V0.4.2
cd WebKontrol/src
python WebKontrol.py

Autostart (Raspberry Pi OS)

sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

Add the python script to the end of the startup file. Your location may differ.

@python /home/<USERNAME>/WebKontrol/src/WebKontrol.py

Make sure to safe the file.

Auto hide the cursor (Raspberry Pi OS)

sudo apt-get install unclutter
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

Add the unclutter script to the end of the startup file. You can change the timeout, it is set to 2.

@unclutter -idle 2

Make sure to save the file.

Use

Once you have started the script, you should see the splash screen appearing. It lists the IP addresses on which the web interface is available. If you are on a touchscreen you can press the IP you wish to access, else you have to type it in your browsers search bar. It should look something like this:

Once you navigate to one of the IP addresses you should see the web interface. Make sure you type in the IP followed by port 8080

In the admin interface there are three buttons and one input.

  • View: Opens the current url in a new tab.
  • Reload: Reloads the browser on the WebKontrol instance. It also returns to the set URL. If you have navigated on the instance and then relaod it will return to the requested URL.
  • Internal Clock: When pressed, the internal clock button fills the input with the link to the internal clock.
  • Input: Here you can enter the URL you wish to display on the WebKontrol instance.

No connection

If the page that is requested fails, WebKontrol will retry every 30 seconds. While it waits it will display a page with the current time and a countdown.

webkontrol's People

Contributors

ijiji avatar

Watchers

 avatar

webkontrol's Issues

Requirements...

Hi. Could you describe what the requirements are? I can't get it to work because Python (Raspberry Pi OS (Desktop)) complains about dependencies.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.