Skip to content

Client Configuration

config.ini for client looks like this:

ini
[device]
display_name = Device_Name

# a unique identifier
id_name = laptop01

# laptop, phone, server, tablet
type = laptop

hardware = Hardware
os = Windows 10 22H2

[report]
server = http://127.0.0.1:5236

# a secret key hard to guess
token = token

# Unit: seconds
interval = 5

Device Section

This section defines basic info of your device

display_name: the name to be displayed on the webpage

id_name: a unique identifier for your device, should not be changed later on

type: type of your device, currently supporting laptop, phone, server, tablet

hardware: hardware of your device ( CPU, graphics, etc... )

os: operating system of your device. e.g. Windows 10 22H2, Ubuntu 22.04.4 LTS

Report Section

server: url of your server

token: should be consistent with the token set on your server

interval: the interval for each report