Skip to main content

KontikiTUI

Overview

KontikiTUI is a small terminal UI for monitoring Kontiki systems via the Kontiki service registry and log files.

It is built with Textual, a Python TUI framework.

It is “engineering‑tool” oriented:

  • quick view of running services (status, pid/host, version, local stats when possible),
  • inspect events and exceptions recorded by the registry,
  • read logs without leaving the terminal.

Tabs

  • Services: registered services with status, pid/host, version and local stats (CPU/MEM/FD when possible, otherwise N/A). Selecting a row shows the configuration/metadata in JSON.

    Defaults to the business registration group (services.group_filter: business in ~/.config/kontiki_tui.yaml; set to all to include platform services). Missing/blank Registry group counts as business. The Logs tab is not filtered by group.

    Services tab

  • Events: events tracked by the registry, with local filters (Field/Value/Limit). RPC-like events are displayed as rpc:<remote_method> when event_type is empty.

    Events tab

  • Exceptions: exceptions from the registry exception tracker, with the same local filtering approach. The context payload is shown compactly.

    Exceptions tab

  • Logs: reads configured log files from logs.directory and displays them in the UI. Uses lnav when available; otherwise it falls back to a Python reader.

    Logs tab

  • Settings: edit ~/.config/kontiki_tui.yaml (the app reloads configuration on save).

    Settings tab


Requirements

  • Optional: lnav for richer log filtering; without it, a built-in Python reader is used

Quickstart

Install from PyPI

pip install kontiki-tui
kontiki-tui

(package on PyPI)

Install from source (Poetry)

make install
make run

Test stack (RabbitMQ + registry + example services)

In one terminal:

make stack-up

In another terminal:

make run

Launch examples to view events and exceptions

make run-rpc-example
make run-simple-event-example

To stop:

make stack-down

Contributing

See CONTRIBUTING.md.

License

Licensed under the Apache License, Version 2.0. See LICENSE and NOTICE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kontiki_tui-0.2.0.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kontiki_tui-0.2.0-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file kontiki_tui-0.2.0.tar.gz.

File metadata

  • Download URL: kontiki_tui-0.2.0.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.13.7 Linux/6.8.0-124-generic

File hashes

Hashes for kontiki_tui-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b6cb20750fe058995ae8b7ed940a2b757a5b2ba16b511228cf4db7448a59e03a
MD5 c0d3bb4292510b768a16e5f739443e49
BLAKE2b-256 2780ef479a31dd8e8766eeff6abbe9c616499fa539f83651d018d7eee6d35214

See more details on using hashes here.

File details

Details for the file kontiki_tui-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: kontiki_tui-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.13.7 Linux/6.8.0-124-generic

File hashes

Hashes for kontiki_tui-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abf221b5c3f32c25f9a9cf8ccac51f659fe5a4e8b69c344b76ee61879a5cdcdd
MD5 ad22fd60aa39059353f6fd19b4c90eed
BLAKE2b-256 0caab53e5a4dfadb997ad4c566701e757b33a769ec4fce980905f89ac4a82cab

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.0

2 files

This release

0.2.0 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page