#jsx #command-line #command-line-tool #quickjs #widgets #graphics

bin+lib kwui-cli

Command line tool for kwui - A GUI library with JSX/CSS support

12 releases

0.2.2 Jul 3, 2024
0.2.1 Jun 18, 2024
0.2.0 Jun 12, 2024
0.1.2 Mar 10, 2024

#663 in GUI


Used in kwui

LGPL-3.0-or-later

69KB
1.5K SLoC

kwui-cli

Command line helpers for kwui-rs

Quick start

  • Install
    cargo add kwui-cli
    
  • Packaging resources
    # Pack 'assets' directory as kwui gui resources
    kwui pack-archive res.ar assets:/
    
  • Parameters
    kwui --help
    kwui pack-archive --help
    kwui unpack-archive --help
    kwui list-archive --help
    

Technical internals

  • Resources indexed by 3-branch trie.
  • Optional Lzf compression for non-images.

Dependencies

~13–26MB
~397K SLoC