webui

command
v0.47.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command webui serves a minimal web interface for trying the engine by hand in the local Docker Compose setup. It serves the pages and passes /api/ to the engine and /auth/ to devauth, so that the browser talks to one origin and the engine needs no CORS.

A browser cannot set headers on a WebSocket, so a request to /api/ with the query parameter access_token gets it as its Authorization header instead. That puts tokens into URLs, which is acceptable for a local test tool and for nothing else.

Environment: PORT (default 8080), ENGINE_URL (default http://engine:8080), DEVAUTH_URL (default http://devauth:8080).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL