vial-web

A local web UI for Vial keyboards

vial-web is a personal fork of vial-gui that replaces the Qt interface with a local web UI: a small Python server on 127.0.0.1 talks to the keyboard, and the browser shows a clearer, Oryx-style view of layers, tap dances, combos and macros. It comes as one executable file per system.

This fork is not affiliated with Vial and is not meant for upstream. For Vial itself, its firmware and official releases, see get.vial.today.

Download View on GitHub

Features
Screenshots
Keymap of a simulated Corne: layer tabs, keys coloured by kind, the search field, and the Inspector for the selected Tab key; Quit Vial at the right of the top bar Keymap of a simulated Corne: layer tabs, keys coloured by kind, the search field, and the Inspector for the selected Tab key; Quit Vial at the right of the top bar
Keymap with the Inspector
Overview of four layers, each with how it is reached: hold Space, hold B or S, one-shot from the right outer thumb; tap dances and macros not used are listed below Overview of four layers, each with how it is reached: hold Space, hold B or S, one-shot from the right outer thumb; tap dances and macros not used are listed below
Overview: every layer and how it is reached
Arrange layers dialog: layers with drag handles and up and down buttons, three marked with the position they came from, a summary of what will change, and a warning that two keys use layers by number Arrange layers dialog: layers with drag handles and up and down buttons, three marked with the position they came from, a summary of what will change, and a warning that two keys use layers by number
Arrange layers, with the preview of what will change
Learning: a key exercise of the home row lesson, the text to type above the keyboard picture with the next key, T, lit Learning: a key exercise of the home row lesson, the text to type above the keyboard picture with the next key, T, lit
Learning: typing a lesson, the next key lit
Learning's Fingers view: every key outlined in the colour of the finger that reaches it, resting keys filled, and the selected key's finger and reach below Learning's Fingers view: every key outlined in the colour of the finger that reaches it, resting keys filled, and the selected key's finger and reach below
Learning: which finger reaches each key
Keycode picker with search, category tabs and a field for any QMK keycode expression Keycode picker with search, category tabs and a field for any QMK keycode expression
Keycode picker
Tap dance page: two tap dances, each with its tap, hold, double tap and tap-then-hold actions and where it is used Tap dance page: two tap dances, each with its tap, hold, double tap and tap-then-hold actions and where it is used
Tap dance
Combos page: K + Y together for Esc and M + C together for Enter, each combo's keys outlined in its colour Combos page: K + Y together for Esc and M + C together for Enter, each combo's keys outlined in its colour
Combos
Macros page: the macro memory bar and two macros shown as chains of steps Macros page: the macro memory bar and two macros shown as chains of steps
Macros
Key overrides page: Left Shift + Backspace sends Delete, Shift + Esc sends tilde Key overrides page: Left Shift + Backspace sends Delete, Shift + Esc sends tilde
Key overrides
Lighting page for an RGB matrix: effect, speed, colour, hue, saturation and brightness, with Undo and Save Lighting page for an RGB matrix: effect, speed, colour, hue, saturation and brightness, with Undo and Save
Lighting
Keyboard page: save and load a .vil layout file, about this keyboard and its USB device, and reboot to bootloader Keyboard page: save and load a .vil layout file, about this keyboard and its USB device, and reboot to bootloader
Keyboard: layout files, details, reboot to bootloader
Download

Download the file for your system from Releases: Vial-<version>-windows-x64.exe, vial-<version>-linux-x64.tar.gz or vial-<version>-macos-arm64.tar.gz (SHA256SUMS.txt has each file's SHA-256). The program inside calls itself Vial, but it is this fork, not an official Vial release.

Close Vial's Qt app or another configurator first: they would use the keyboard at the same time.

To try it without a keyboard, start it with --fake: it serves a simulated Corne and never looks for real hardware.

.\Vial.exe --fake        # Windows (cmd or PowerShell, in the folder of Vial.exe)
./vial --fake            # Linux, macOS

Starting it while it already runs opens the running one in the browser instead. Quit Vial, at the right of the top bar or on the tray icon's menu, stops it. Closing the browser tabs doesn't: the tray icon shows a notification that Vial is still running, and Open Vial on its menu opens the page again.

Other options: --definition FILE and --layout FILE (what to simulate with --fake, as are --layers N and --lighting KIND), --port PORT, --no-browser (print the link instead), --no-tray (no tray icon), --dry-run (connect, print a summary and exit), --data-dir DIR, --self-check, --version. The README has them all, and where Vial keeps its files.

From source

Requires Python 3.13 and Node 24 with npm 11.

git clone https://github.com/homeend/vial-web.git
cd vial-web

# Python environment (on Windows: use-python.sh / use-python.ps1 / use-python.cmd do this)
python3.13 -m venv .venv
.venv/bin/pip install -r test-requirements.txt
source .venv/bin/activate

# Build the web UI (and again after changes to web/)
cd web && npm ci && npm run build && cd ..

# Run it with the simulated keyboard
cd src/main/python
python vial_web.py --fake

To build the executable (python -m PyInstaller vial.spec) and run the tests, see the README's Development section.

License: GPL-2.0-or-later, as upstream vial-gui.