"# Kryten WebUI
Kryten web interface service - provides web dashboard and control panel for CyTube.
Features
- Real-time chat message monitoring
- User tracking and management
- Event-driven architecture using NATS
- Extensible moderation rules
Installation
Prerequisites
- Python 3.10 or higher
- Poetry
- NATS server running
- kryten-py library
Setup
- Install dependencies:
poetry install
- Copy the example configuration:
cp config.example.json config.json
- Edit
config.jsonwith your settings:
{
"nats_url": "nats://localhost:4222",
"nats_subject_prefix": "cytube",
"service_name": "kryten-webui"
}
Usage
Running the Service
Using Poetry:
poetry run kryten-webui --config config.json
Using the startup script (PowerShell):
.\start-webui.ps1
Using the startup script (Bash):
./start-webui.sh
Command Line Options
--config PATH: Path to configuration file (default:/etc/kryten/webui/config.json)--log-level LEVEL: Set logging level (DEBUG, INFO, WARNING, ERROR)
Event Handling
The service currently listens for:
- chatMsg: Chat messages for dashboard display
- usercount: User count updates
- playlist: Playlist updates for dashboard
Development
Running Tests
poetry run pytest
Linting
poetry run ruff check .
Formatting
poetry run black .
License
MIT License - see LICENSE file for details "
Metadata
Release files for kryten-webui 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kryten_webui-0.1.1.tar.gz | 6.2 kB | Without provenance | Details for kryten_webui-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kryten_webui-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for kryten_webui-0.1.1-py3-none-any.whl |
Total release size: 12.2 kB
Release files / kryten_webui-0.1.1.tar.gz
| Download URL | kryten_webui-0.1.1.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4f7675a8063230b5735a85c873813f7f2cf447cba32b0f2f596b5fc356809f4
|
|
BLAKE2b-256 checksum How to use checksums |
b24437098c46de41d16456c566bf507412de5006fc0d43f75b3c441290a3819d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.11 Windows/11
|
Release files / kryten_webui-0.1.1-py3-none-any.whl
| Download URL | kryten_webui-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08d51747f83a9319cb6176d086388525fde9ec6ea8299f7a722b8f135cda9a54
|
|
BLAKE2b-256 checksum How to use checksums |
e5593991685f2f39c704a441da4f11bb7022b941e399eb12298f4371da45bc22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.11 Windows/11
|
Security for kryten-webui 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.