Build instructions install the ziran command and use the toolchain locked in ziran.lock instead of a ../ziran sibling checkout. Downstream apps pick up Kryon changes through ziran.lock. Terminal owns OSC 52 and bracketed paste. The website no longer calls the migration underway, and its status page lists the Android host, Zib desktop apps and opt-in DOM CSS layout. The obsolete files (shell.nix, .ini themes, old site images, the duplicate API redirect) were removed in 827eae3d, which picked up these staged deletions.
18 lines
6.2 KiB
HTML
18 lines
6.2 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="theme-color" content="#f7f3eb"><meta name="description" content="Kryon is a reusable UI library written in Ziran. Explore checked widgets, a headless example, current build coverage, and the supported platform hosts."><title>Kryon — UI in Ziran</title><link rel="canonical" href="https://kryonlabs.com/"><link rel="icon" type="image/svg+xml" href="favicon.svg"><link rel="icon" type="image/png" sizes="32x32" href="favicon-32.png"><link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png"><meta property="og:image" content="https://kryonlabs.com/og.png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="Kryon Labs logo and the words Useful interfaces. Clear foundations."><meta name="twitter:card" content="summary_large_image"><meta name="twitter:image" content="https://kryonlabs.com/og.png"><link rel="stylesheet" href="current.css"><meta property="og:type" content="website"><meta property="og:url" content="https://kryonlabs.com/"><meta property="og:title" content="Kryon — UI in Ziran"><meta property="og:description" content="A reusable UI library authored in Ziran. Checked widgets, layout, interaction, and styling with explicit platform hosts."><script defer src="current.js"></script></head>
|
||
<body><a class="skip-link" href="#main">Skip to content</a><header class="site-header"><div class="site-header-inner"><a class="brand" href="index.html"><img class="brand-icon" src="assets/brand/mark.svg" alt="" width="42" height="42"><span>Kryon Labs</span></a><button class="menu-button" type="button" aria-expanded="false" aria-controls="primary-nav">Menu</button><nav class="header-nav" id="primary-nav" aria-label="Primary"><a href="getting-started.html">Get started</a><a href="docs.html">Docs</a><a href="showcase.html">Projects</a><a href="https://ziran.kryonlabs.com/">Ziran ↗</a><a href="https://github.com/kryonlabs/kryon">Source ↗</a><button class="theme-toggle" type="button" aria-label="Switch color theme"></button></nav></div></header>
|
||
<main id="main">
|
||
<section class="hero"><div class="hero-copy"><p class="eyebrow">A UI library in Ziran</p><h1>Useful interfaces.<br><em>Clear foundations.</em></h1><p class="hero-lead">Kryon supplies widgets, layout, interaction, styling, and rendering decisions as ordinary Ziran modules. Ziran owns the language and compiler. Applications import Kryon when they need a UI.</p><div class="actions"><a class="btn btn-primary" href="getting-started.html">Build the example →</a><a class="btn" href="demo.html">Try the live editor →</a></div><p class="hero-note">Open source · Checked modules · Explicit host effects</p></div><div class="live-widgets" style="width:100%;min-width:0"><iframe src="demo.html?mini" title="Kryon: edit source and try live widgets" style="width:100%;height:560px;border:1px solid var(--line);border-radius:18px;background:var(--paper)" loading="lazy"></iframe></div></section>
|
||
<section class="intro-band"><div><span>01 / LANGUAGE</span><strong>Ziran</strong><p>General-purpose source, checked <code>.zir</code>, native generation, and portable <code>.zib</code> belong to Ziran.</p></div><div><span>02 / LIBRARY</span><strong>Kryon</strong><p>Importable <code>.zi</code> modules define UI behavior. Widget names have no special meaning to the compiler.</p></div><div><span>03 / PLATFORM</span><strong>Hosts</strong><p>Declared capabilities let platform adapters provide input, fonts, images, rasterization, and windows.</p></div></section>
|
||
<section class="split-section"><div><p class="eyebrow">Try the current path</p><h2>A checked <em>button</em> example.</h2><p>The example imports Kryon’s Button and tree modules, runs a press and release in a portable bundle, and asks a separate headless host to write four SVG frames. No display server is required.</p><a class="text-link" href="getting-started.html">See build steps →</a></div><div class="example-card"><div class="code-title"><span class="code-dots" aria-hidden="true"><i></i><i></i><i></i></span><span>examples/hello.zi</span><span class="code-tag">Ziran source</span></div><pre><code>#import "button_props"
|
||
#import "button_widget"
|
||
...
|
||
button: ButtonProps
|
||
button.label = "Hello, Ziran"
|
||
clicks += Button(session, button)
|
||
if EndFrame(session) != FrameOk { return -1 }</code></pre><p class="example-note">Excerpt from the tested source. <a href="https://github.com/kryonlabs/kryon/blob/master/examples/hello.zi">Read the complete example ↗</a></p></div></section>
|
||
<section class="split-section"><div><p class="eyebrow">Current state</p><h2>Checked source.<br><em>Tested hosts.</em></h2></div><div><p><code>make</code> checks the maintained UI modules, writes <code>.zir</code>, generates C, C++, and Go, and compiles native outputs. <code>make test</code> exercises source, saved IR, and portable bundle behavior without a display.</p><p>Native hosts have Linux project tests, browser hosts run in private headless Chromium, and Android apps build as NativeActivity packages. Platform accessibility beyond the Linux AT-SPI bridge is still open.</p><a class="text-link" href="renderers.html">Read the platform status →</a></div></section>
|
||
<section class="status-callout"><div><p class="eyebrow">The language behind Kryon</p><h2>Meet <em>Ziran.</em></h2></div><div><p>Write non-graphical programs with Ziran alone. Import Kryon only for UI. The language site has the current toolchain guide, source reference, API, and implementation status.</p><a class="btn btn-primary" href="https://ziran.kryonlabs.com/">Explore Ziran ↗</a></div></section>
|
||
</main><footer><div class="footer-top"><a class="brand" href="index.html"><img class="brand-icon" src="assets/brand/mark.svg" alt="" width="42" height="42"><span>Kryon Labs</span></a><nav aria-label="Footer"><a href="getting-started.html">Get started</a><a href="docs.html">Docs</a><a href="showcase.html">Projects</a><a href="https://ziran.kryonlabs.com/">Ziran ↗</a></nav></div><div class="footer-bottom"><p>Useful interfaces. Clear foundations.</p><p>© 2026 Kryon Labs · <a href="https://waozi.xyz/">Made by Waozi</a></p></div></footer></body></html>
|