Skip to content

romgrk/kui.nvim

Repository files navigation

kui.nvim

This project is a neovim UI framework, aiming to use the Kitty graphics protocol to build complex graphical interfaces. This depends on the user having a terminal with support for the kitty graphics protocol as well as libcairo installed.

See kirby.nvim for a more complex example.

demo

See https://github.com/romgrk/kui-demo.nvim for a template showing how to implement the demo above.

Plugins

These plugins are based on kui:

Status & features

Status: experimental, good enough for small use cases

Features:

  • Container system (transpiled from Pixi.JS via TypescriptToLua)
  • Images (I don't remember if I implemented it, TBC)
  • Masks
  • Graphics (lines, rects, ovals, paths)
  • Basic text (size, family, weight, color)
  • Advanced text (highlighted text (think code syntax), proper layout & rendering)
  • Medium-performance rendering (think 30FPS animations, medium surface)
  • High-performance rendering (think 60FPS animations, large surface)

License

MIT

Includes code from: