Skip to content

TrisH0x2A/ZenTUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zentui

A Terminal User Interface (TUI) component library written in Zen C.

License: MIT Language: Zen C Status: Beta

Zentui is a suite of UI components designed to make building console applications simpler. It includes components like text inputs, tree views, data tables, equalizers, and modals.

Features

  • Component Library: Over 30 components available.
  • Layouts: Horizontal/vertical joins, absolute alignments, and flex styling.
  • Interactions: Support for hover, focus, text entry, and custom keybindings.
  • Audio & Visualizers: Built-in VU meters, waveforms, equalizers, and circular knobs.
  • Terminal Colors: Fully supports Truecolor (\033[38;2;R;G;Bm).

Quick Start

  1. Prerequisites: Make sure you have the Zen C (zc) compiler installed.
  2. Clone the Repo:
    git clone https://github.com/TrisH0x2A/zentui.git
    cd zentui
  3. Run the Demos: We have compiled a series of demos to showcase Zentui.
    # Make sure the script is executable
    chmod +x scripts/run_demo.sh
    
    # Launch the demo runner
    ./scripts/run_demo.sh

Documentation

Read the documentation to start building your own TUIs:

Example Projects

Check out these real-world applications built with Zentui:

  • ZTune - A CLI music player for YouTube featuring spectrum analyzers.

Contributing

We welcome contributions. Please see our Contributing Guidelines to get started on creating new components or improving existing ones.

License

This project is licensed under the MIT License - see the LICENSE file for details. Author: TrisH0x2A

About

TUI component library for Zen C

Topics

Resources

License

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors