Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Customisation

ghostidp's UI can be customized to better fit your needs.

This page describes the available environment variables that can be customized.

System

Log level

Set DEBUG to true if you want ghostidp's logs to be more granular.

Adding a badge

You can add a badge with an arbitrary text in the header of the login and consent pages. While this badge is intended to help distinguish between environment, how you use it is up to you.

To add a badge, set the BADGE environment variable to e.g. DEV ENV.

To set the color of the badge, refer to the Accent color section below.

Accent color

You can set the accent color by setting the ACCENT_COLOR environment variable to a hex color code, e.g. #008F8C.

Version

You can add version information in the footer of the login and consent pages by setting the VERSION environment variable to e.g. v1.0.0-beta. While the intended use is to display version information, how you use it is up to you.

Header Text

You can customize the text used in the header of the login and consent pages by setting the HEADER_TEXT environment variable.

You can customize the logo used in the header of the login and consent pages by setting the HEADER_LOGO_URL environment variable.

Users

Description

Users' description text can be set when configuring the users, by setting the display.description field:

users:
  - username: alice
    display:
      description: A demo user called Alice

Avatar text

The text in the Avatar can be set when configuring the users, by setting the display.avatar_text field:

users:
  - username: alice
    display:
      avatar_text: AS

Avatar color

The color of the Avatar can be set when configuring the users, by setting the display.avatar_color field:

users:
  - username: alice
    display:
      avatar_color: "#03a1fc"