knocui (0.1.9)

Published 2025-06-06 14:04:30 +00:00 by phil

Installation

registry=
npm install knocui@0.1.9
"knocui": "0.1.9"

About this package

knocui

Web interface for Knoc.

Built with Vue, Primeview.

Settings

When the app is loaded in the browser, it fetches a /settings.json file which directs it to the Knoc server address, eg:

{
  "apiUrl": "https://knoc.example.org:443"
}

When developing (using pnpm dev --host foo --port 3002) this file should be created pointing to a running Knoc server. In turn, the CORS setting of this server should be set to the URL serving knocui (http://foo:3002).

Deployment

NPM packages and containers (based on nginx/alpine) are built with CI/CD (Forgejo actions).

To include the settings file, eg.:

podman run --rm -it --publish 5454:80 --volume ./settings.json:/settings.json code.philo.ydns.eu/k-net/knocui

Dependencies

Dependencies

ID Version
@primeuix/themes ^1.1.1
axios ^1.9.0
pinia ^3.0.3
primeicons ^7.0.0
primevue ^4.3.5
vue ^3.5.16
vue-router ^4.5.1

Development dependencies

ID Version
@tsconfig/node22 ^22.0.2
@types/node ^22.15.29
@vitejs/plugin-vue ^5.2.4
@vue/eslint-config-typescript ^14.5.0
@vue/tsconfig ^0.7.0
eslint ^9.28.0
eslint-plugin-oxlint ^0.16.12
eslint-plugin-vue ~10.0.1
jiti ^2.4.2
npm-run-all2 ^7.0.2
oxlint ^0.16.12
sass ^1.89.1
typescript ~5.8.3
vite ^6.3.5
vite-plugin-vue-devtools ^7.7.6
vue-tsc ^2.2.10
Details
npm
2025-06-06 14:04:30 +00:00
0
Philippe May
latest
14 KiB
Assets (1)
Versions (6) View all
0.1.9 2025-06-06
0.1.8 2025-06-05
0.1.7 2025-06-05
0.1.6 2025-06-05
0.1.5 2025-06-04