knocui (0.1.62)
Published 2025-07-01 14:46:14 +00:00 by phil
Installation
registry=
npm install knocui@0.1.62
"knocui": "0.1.62"
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 (Woodpacker).
To include the settings file, eg.:
podman run --rm -it --publish 5454:80 --volume ./settings.json:/settings.json code.philo.ydns.eu/philorg/knocui
Dependencies
Dependencies
ID | Version |
---|---|
@jsonforms/core | ^3.6.0 |
@jsonforms/vue | ^3.6.0 |
@jsonforms/vue-vanilla | ^3.6.0 |
@primeuix/themes | ^1.1.2 |
@primevue/forms | ^4.3.5 |
@vueuse/core | ^13.4.0 |
axios | ^1.10.0 |
pinia | ^3.0.3 |
primeicons | ^7.0.0 |
primevue | ^4.3.5 |
vue | ^3.5.17 |
vue-json-pretty | ^2.5.0 |
vue-router | ^4.5.1 |
Development dependencies
ID | Version |
---|---|
@tsconfig/node22 | ^22.0.2 |
@types/node | ^22.15.34 |
@vitejs/plugin-vue | ^5.2.4 |
@vue/eslint-config-typescript | ^14.5.1 |
@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-embedded | ^1.89.2 |
typescript | ~5.8.3 |
vite | ^6.3.5 |
vite-plugin-vue-devtools | ^7.7.7 |
vue-tsc | ^2.2.10 |