Skip to content
CAI
Software that uses CAICheck a score

livebook-dev/kino

62.1

Adequate · 15 November 2026

8k

lines of production code

Elixir

with JavaScript

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Kino is an Elixir library that provides interactive widgets for Livebook, enabling rich data visualization and dynamic user input within notebooks. It supports a wide range of components including data tables, audio, images, and Mermaid diagrams, while also allowing developers to build custom stateful JavaScript widgets. The system facilitates debugging through specialized UIs and manages background processes to handle communication between the notebook evaluator and the frontend.

How it got here

2021 — Kino library launch and JS interactivity

10 changes.

The project was rebranded from LiveWidget to Kino, establishing a new core infrastructure for interactive Livebook widgets with Elixir 1.14 and Nx support. This period focused on releasing the initial library with diverse widget types and introducing a robust framework for stateful JavaScript widgets via Kino.JS.Live.

2022–2023 — UI component enhancements and testing infrastructure

10 changes.

This period focused on expanding the frontend component library with new debug visualization tools, a client-side download button, and programmatic audio controls. It also involved significant improvements to the data table interface, updated rendering engines for Mermaid diagrams, and the consolidation of frontend assets using React 18 and Tailwind CSS. Additionally, robust testing support was established for the Livebook environment to ensure reliable coverage of these new features.

2024 — Frontend UI modernization and feature expansion

5 changes.

This period focused on modernizing the frontend infrastructure by consolidating asset bundling with Tailwind CSS and React 18, while significantly expanding the user interface capabilities. Key developments included enhancing the data table with row actions and export features, introducing new debug UI packs for pipeline management, and adding interactive elements like captions and downloads to Mermaid diagrams. The remote execution cell was also updated to support dynamic credential injection through a new React-based interface.

Features

Add client-side download button component

A new interactive download button has been added to the application, featuring a styled UI with an icon and customizable label. When clicked, the button triggers a server-side event to request file content; upon receiving the data, it automatically creates a Blob and triggers a browser download for the specified filename, handling the cleanup of the object URL immediately after.

lib/assets/download · high confidence

Initial release of the Kino library

This change introduces the Kino library as a new application, establishing the core infrastructure for interactive Livebook widgets. It adds the \Kino.Application\ supervisor to manage background processes like the dynamic supervisor and data store, and implements the \Kino.Bridge\ module to handle communication with the Livebook evaluator via the group leader. The release includes a suite of new widget modules for rendering data and media, such as \Kino.DataTable\ for tabular data, \Kino.Audio\ and \Kino.Image\ for media, and \Kino.HTML\ for custom content. It also introduces interactive controls via \Kino.Control\ and \Kino.Input\, a \Kino.Frame\ for dynamic output updates, and debugging utilities in \Kino.Debug\. Additionally, it provides \Kino.ETS\ for viewing Erlang term storage tables and \Kino.Download\ for file downloads, along with supporting modules like \Kino.Config\ and \Kino.FS\.

lib/kino · high confidence

Introduces stateful JavaScript kinos and a data store for static outputs

Users can now create interactive, stateful JavaScript widgets using the new \Kino.JS.Live\ module, which provides a server-side process to manage state and handle events via callbacks like \init\, \handle\_connect\, and \handle\_cast\. Additionally, a new \Kino.JS.DataStore\ module has been added to manage data for static JavaScript outputs, allowing them to store, retrieve, and export data through a centralized GenServer process.

lib/kino/js · high confidence

New debug UI components for single and multiple function calls

Added two new LiveView-based UI components, \Kino.Debug.Default\ and \Kino.Debug.Pipeline\, to visualize debugging output. \Kino.Debug.Default\ displays the result of a single function call alongside its source code, while \Kino.Debug.Pipeline\ provides a grid interface for managing multiple wrapped functions, allowing users to select, enable/disable, and reorder items in a debugging sequence. Both components integrate with the existing debug handler infrastructure to broadcast call counts and handle errors.

lib/kino/debug · high confidence

New debug UI packs for default and pipeline modes

Added two new JavaScript packs, \debug\_default\ and \debug\_pipeline\, which render React-based debugging interfaces. The \debug\_default\ pack displays source code context and call counts, while the \debug\_pipeline\ pack provides a more complex interface for managing pipeline steps, including drag-and-drop reordering, enabling/disabling items, and copying the pipeline source. Both packs utilize Tailwind CSS for styling and the \@dnd-kit\ library for interactive list management.

_assets/packs/debug\_default, assets/packs/debug\pipeline · high confidence

Behavioural changes

Add programmatic play and pause to Kino.Audio

The audio component in lib/assets/audio now supports programmatic control via 'play' and 'pause' events, allowing users to trigger playback and pausing actions directly rather than relying solely on native controls. This change introduces the main.js module for the audio asset, which initializes an audio element and registers event handlers for these specific commands.

lib/assets/audio · high confidence

Bundled debug assets now include React 18.3.1 and Tailwind CSS utilities

The debug interface assets have been bundled to include React version 18.3.1 and a Tailwind CSS utility stylesheet. This update ensures the debug UI leverages the latest React features and consistent styling, with the JavaScript bundle containing the full React runtime and the CSS bundle providing base resets and utility classes for the debug view.

_lib/assets/debug\_default, lib/assets/debug\pipeline · high confidence

Data table UI and interaction improvements

The data table component now renders with improved UI stability, including fixes for custom header titles, menu behavior when summaries are present, and correct page display. Users benefit from enhanced filtering and ordering support, row actions, and better handling of empty data states and column auto-widths. The underlying rendering engine has been updated to Glide Data Grid v6, and the build process now uses a single npm project with shared bundling for all assets.

_lib/assets/data\table · medium confidence

Data table gains row actions, export, and refined layout controls

The data table now supports row-level actions via a new three-dot menu in each row, triggered by the 'actions' feature flag. It also introduces an export capability (controlled by the 'export' flag) allowing users to download data in supported formats, and adds a refetch button for refreshing data. Layout improvements include expanding the table container instead of the table itself when menus overflow, increasing the maximum column width to 1200px, and fixing an issue where entries failed to display when updating an empty data table. The table now also correctly handles menu opening in tables with summaries.

_assets/packs/data\table · high confidence

Mermaid diagram rendering engine updated

The Mermaid diagram rendering engine has been updated to a newer version, introducing support for new diagram types such as ABNF and Architecture diagrams. This update also includes a fix for a layout issue where diagram widths were shrinking unexpectedly, ensuring diagrams render with the correct dimensions.

lib/assets/mermaid · high confidence

Mermaid diagrams now support captions and SVG download

Mermaid diagrams in Kino now support optional \:caption\ and \:download\ options. When enabled, a caption is displayed below the diagram, and a download button appears on hover, allowing users to save the rendered diagram as an SVG file. The implementation also includes fixes for diagram width shrinking and SVG rendering issues.

assets/packs/mermaid · high confidence

Refactor Kino.JS.Live server and context into dedicated modules

The internal architecture of \Kino.JS.Live\ has been restructured by extracting the server logic into \Kino.JS.Live.Server\ and the callback state management into \Kino.JS.Live.Context\. This change introduces a dedicated \Context\ struct that explicitly tracks client origins and provides helper functions for assigning state, broadcasting or sending events to specific clients, and reconfiguring smart cell editors. The server module now acts as a GenServer wrapper that delegates callbacks to the user-defined module while managing client connections, ping/pong handling, and event subscriptions, providing a cleaner separation of concerns for live JavaScript widget implementations.

lib/kino/js/live · high confidence

Remote execution cell assets are bundled with Tailwind CSS and React 18

The Remote execution cell now uses a shared, single npm project for asset bundling, replacing the previous setup. This introduces a compiled main.css (generated via Tailwind CSS) and a bundled main.js (containing React 18.3.1 and its scheduler) to ensure consistent styling and layout across browsers, including a fix for Safari.

_lib/assets/remote\_execution\cell · high confidence

The remote execution cell UI has been updated to allow users to configure Node and Cookie credentials not just as static text or secrets, but also by selecting from available variables. The new React-based interface presents distinct input sections for Node and Cookie, each offering a dropdown to select a variable (populated via the 'variables' event) alongside the existing text and secret input options. This change enables dynamic credential injection for remote execution tasks.

_assets/packs/remote\_execution\cell · high confidence

Rename library from LiveWidget to Kino and introduce new interactive API

The library has been renamed from LiveWidget to Kino, replacing the previous \LiveWidget\ and \LiveWidget.VegaLite\ modules with a new \Kino\ module that provides a richer set of interactive widgets for Livebook. This change introduces new capabilities such as \Kino.animate\ for creating animations from streams, \Kino.render\ for displaying custom data structures, and \Kino.configure\ for global settings, while removing the older \LiveWidget.render\ and \LiveWidget.VegaLite\ implementations in favor of the new, more flexible Kino framework.

lib · high confidence

Synchronous execution of external scripts in HTML content

HTML content rendered via the Kino.HTML interface now ensures that external scripts (those with src attributes) are fully loaded before any subsequent scripts are executed. This change prevents race conditions where dependent code might run before its required libraries have finished downloading, ensuring a more predictable execution order for users embedding interactive HTML.

lib/assets/html · high confidence

Tree component now bundles React 18.3.1 and Tailwind CSS utilities

The tree component's build output now includes a bundled JavaScript file containing React 18.3.1 and a CSS file with Tailwind CSS base styles and custom ANSI color variables. This change consolidates the frontend assets into a single npm project with shared bundling, ensuring the component ships with the necessary React runtime and styling definitions required for its UI.

lib/assets/tree · high confidence

Test coverage

Added Livebook test support module; Added comprehensive test coverage for Kino components; Added test coverage for JS Live, DataStore, and Context modules; Added test helper for mocking Livebook group leader; Added test suite for Kino.inspect, animate, and listen functions; Added test support modules for JS assets and Live interactions; Removed tests for LiveWidget.VegaLite.

Dependencies

Kino v0.19.1: Renamed from LiveWidget, upgraded to Elixir 1.14, and added Nx 1.0 support

The project has been renamed from LiveWidget to Kino (v0.19.1) and now requires Elixir 1.14 or higher. The dependency on VegaLite has been removed, replaced by optional dependencies on the \table\ library and \Nx\ (supporting version 1.0), while \plug\ and \ex\_doc\ are also included as optional or dev dependencies. On the frontend, a new \assets\ directory introduces a bundled JavaScript build using React 18, Mermaid 11.3, and the Glide Data Grid, managed by the \@livebook/kino-bundler\ tool.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 63 → 62 (-0.5)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 67 → 61 (-5.5)
  • Architecture 91 → 91 (+0.0)
  • Maturity 53 → 53 (+0.0)
  • Readiness 64 → 64 (+0.0)
  • Security 79 → 88 (+8.4)
  • Performance 100 → 100 (+0.0)

Resolved (1)

  • High CVE: [GHSA redacted] (assets/package-lock.json)

New (7)

  • Edited copies of one member (3 members, 1+ corresponding lines) (lib/kino/control.ex)
  • Edited copies of one member (3 members, 28+ corresponding lines) (lib/kino/input.ex)
  • Edited copy of a member (19 corresponding lines) (lib/kino/control.ex)
  • Edited copy of a member (2 corresponding lines) (lib/kino/debug/default.ex)
  • Edited copy of a member (3 corresponding lines) (lib/kino/debug/default.ex)
  • Edited copy of a member (9 corresponding lines) (lib/kino.ex)
  • High CVE: [GHSA redacted] (assets/package-lock.json)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

livebook-dev/kino was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit d8f6b0f3367967a112262716c97a620862648bc2 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.