Version main

ui

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

plakar-uiServe the Plakar web user interface

plakar ui [-addr address] [-cors] [-no-auth] [-no-spawn] [-cert path] [-key path]

The plakar ui command serves the Plakar web user interface. By default, it opens the default web browser.

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 listens on localhost on a random port.
Set the ‘Access-Control-Allow-Origin’ HTTP headers to allow the UI to be accessed from any origin.
Disable the authentication token that otherwise is needed to consume the exposed HTTP APIs.
Do not automatically open the web browser.
path
Path to a full certificate file in PEM format. If both -cert and -key are provided, the server will expect https connections. If one or both are missing, the server will fall back to http.
path
Path to a certificate private key file in PEM format.

Using a custom address and disable automatic browser execution:

$ plakar ui -addr localhost:9090 -no-spawn
Create a https server with a custom certificate:
$ plakar ui -cert fullchain.pem -key privkey.pem

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)

August 6, 2025 Plakar

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