KRYON LABS

Plan 9-inspired UI toolkit in C

About Kryon Labs

Kryon Labs develops software inspired by the Plan 9 operating system philosophy. We believe that everything is a file — and that simple, composable protocols like 9P enable elegant distributed computing.

Our current focus is Kryon, a lightweight UI toolkit written in C using plan9port. It brings Plan 9's elegant "everything is a file" philosophy to modern application development — control your entire UI through simple file I/O operations via the 9P protocol.

Architecture

Kryon is built with standard C and Plan 9 tools:

  • C language: Native C implementation using plan9port compilers
  • 9P protocol: Filesystem-based control interface
  • Widgets: Labels and buttons with filesystem control
  • Cross-platform: Runs on Linux via plan9port (/tmp/kry), native on Plan 9 (/mnt/kry)

Widget System

Kryon provides basic widget types:

  • WLabel: Text display widgets
  • WButton: Interactive button widgets with click events
  • WDropdown: Selection dropdown menus
  • WSlider: Numeric slider controls
  • WSwitch: Toggle switches

Filesystem Interface

Control every aspect of your UI through the filesystem. The toolkit mounts to /mnt/kry (or /tmp/kry on Linux). Each widget exposes its text property as a file:

/mnt/kry/[widgetid]/text

For example:
/mnt/kry/1/text    # First widget text
/mnt/kry/2/text    # Second widget text
/mnt/kry/3/text    # Third widget text

Projects

krysrv

The 9P server that handles the widget filesystem and manages all widget state through file I/O operations.

View Project →

krydraw

Rendering engine that draws widgets to the display, handling all graphics and visual updates.

View Project →

kryweb

Web frontend that provides a browser-based interface to the Kryon widget system via 9P.

View Project →

Building

Build on Plan 9

$ mk

Build on Linux with plan9port

$ make

Source Code

View on Sourcehut

Creator

Waozi

Waozi

Website | Twitter

Sponsors

5bitcube Logo

5bitcube

Website | Twitter