Skip to content

innovation-system/electron-kiosk

Repository files navigation

Electron KIOSK

electron version electron vite version electron builder version vite version vue version

Simple Electron app to open a website in fullscreen KIOSK mode.

Usage

You can download latest release from releases section and choose the right package for your platform.

  1. Run the application, main settings windows will open by default with the url to load.
  2. Edit settings and on UPDATE button, the url will be loaded in fullscreen mode.

Starting from now the application will always load that url on startup and, until the url is not reachable, will show a loader screen.

If you are using a Linux distribution, you can also use the install.sh script to download latest release and auto-start the application on startup:

curl -s https://raw.githubusercontent.com/innovation-system/electron-kiosk/main/install.sh | bash

Shortcuts

Shortcut Action
Ctrl+Shift+R Reload the page
Ctrl+Shift+Q Quit the application
Ctrl+Shift+K Load settings page
Ctrl+Shift+I Open dev tools
Ctrl+Shift+L Toggle KIOSK mode

Settings

By default all settings are stored in app.getPath('userData'):

  • Linux: ~/.config/electron-kiosk/config.json
  • Windows: %APPDATA%/electron-kiosk/config.json
  • MacOS: ~/Library/Application Support/electron-kiosk/config.json

Preview

Demo

Development

Developers commands:

# serve electron app with hot reloading features
npm run dev

# build electron app for production
npm run electron:build

# generate icons for all platforms
npm run icons

# release new version, app boundles will be generated by `release` workflow
npm run release

In order to run the application with debug enabled you can use the vscode Debug All configuration from "Run and Debug" panel.

Boilerplate

This project is using electron-vite-boilerplate as base boilerplate.