Version v1.0.2

Outdated Documentation

You're viewing documentation for version v1.0.2. This version may contain outdated information.

ui

PLAKAR-UI(1)General Commands ManualPLAKAR-UI(1)

plakar uiServe the Plakar web user interface

plakar ui[-addr address] [-cors] [-no-auth] [-no-spawn]

The plakar ui command serves the Plakar webapp user interface. By default, this command opens the default web browser to use the interface.

The options are as follows:

address
Specify the address and port for the UI to listen on separated by a colon, (e.g. localhost:8080). If omitted, plakar ui listen on localhost on a random port.
Set the ‘Access-Control-Allow-Origin’ HTTP headers to allow the UI to be accesses from any origin.
Disable the authentication token that otherwise is needed to consume the exposed HTTP APIs.
Do not automatically open the web browser.

Using a custom address and disable automatic browser execution:

$ plakar ui -addr localhost:9090 -no-spawn

The plakar ui utility exits 0 on success, and >0 if an error occurs.

0
Command completed successfully.
>0
A general error occurred, such as an inability to launch the UI or bind to the specified address.

plakar(1)

March 3, 2024Plakar

Found a bug or mistake in the documentation? Create an issue on GitHub