Skip to main content

Web User Interface

Uplinks

Verdaccio poseduje prilagodivi web korisnički interfejs koji prikazuje samo privatne pakete.

web:
enable: true
title: Verdaccio
logo: logo.png
primary_color: "#4b5e40"
gravatar: true | false
scope: "@scope"
sort_packages: asc | desc

Sve restrikcije koje se odnose na pristup definisane su u okviru i takođe će se aplicirati i na web interfejs.

Preporučeno je da logo bude dimenzija 40x40 piksela.

The primary_color must be a valid hex representation.

Internationalization

Since v4.5.0, there are translations available.

i18n:
web: en-US

⚠️ Only the languages in this list are available, feel free to contribute with more. The default one is en-US

Configuration

SvojstvoTipPotrebnoPrimerPodrškaOpis
enablebooleanNotrue/falsepotpunadozvoljava prikaz web interfejsa
titlestringNoVerdacciopotpunaopis naslova HTML zaglavlja
gravatarbooleanNotrue>v4Gravatar-i će biti generisani u pozadini, ako je ovo svojstvo omogućeno
sort_packages[asc,desc]Noasc>v4Po pravilu, privatni paketi su sortirani po rastućem redosledu
logostringNo/local/path/to/my/logo.png http://my.logo.domain/logo.pngpotpunaURI gde se logo nalazi (logo za header)
primary_colorstringNo"#4b5e40">4The primary color to use throughout the UI (header, etc)
scopestringNo@myscope>v3.xIf you're using this registry for a specific module scope, specify that scope to set it in the webui instructions header
darkModebooleanNofalse>=v4.6.0This mode is an special theme for those want to live in the dark side
faviconstringNofalse>=v5.0.1Display a custom favicon, can be local resource or valid url

The recommended logo size is 40x40 pixels.

The darkMode can be enabled via UI and is persisted in the browser local storage. Furthermore, also void primary_color and dark cannot be customized.