> ## Documentation Index
> Fetch the complete documentation index at: https://ziva.zeleza.ru/llms.txt
> Use this file to discover all available pages before exploring further.

# About

> Ziva - a powerful Go library for creating interactive terminal user interfaces (TUI). Built on top of Bubble Tea, it provides high-level components for quickly building console applications.

# Welcome to Ziva

<img src="https://mintcdn.com/terem/7tfdR1JkDhuUAiXc/images/pic_5.png?fit=max&auto=format&n=7tfdR1JkDhuUAiXc&q=85&s=c969bea304b96b8f8b766f68d3c2ae09" alt="Example TUI" title="Example TUI" style={{ width:"100%" }} width="966" height="620" data-path="images/pic_5.png" />

## Key Features

<CardGroup cols={2}>
  <Card title="Task System" icon="list-check" href="/en/components/tasks">
    Five task types: YesNo, SingleSelect, MultiSelect, Input, and Func with timeout support
  </Card>

  <Card title="Queue System" icon="arrow-right-arrow-left" href="/en/components/queue">
    Orchestration of task sequences with automatic progress tracking
  </Card>

  <Card title="Validation" icon="shield-check" href="/en/validation/overview">
    Built-in validators for email, IP, domains, passwords, and much more
  </Card>

  <Card title="Localization" icon="globe" href="/en/customization/colors">
    Multi-language support: Russian, English, Turkish, Belarusian, Ukrainian
  </Card>
</CardGroup>

## Quick Start

Install the library and start creating TUI applications in minutes:

```go theme={null}
package main

import (
    "log"
    "github.com/qzeleza/ziva"
)

func main() {
    // Create a task queue
    queue := ziva.NewQueue("My TUI Application")

    // Add confirmation task
    confirm := ziva.NewYesNoTask("Confirmation", "Continue?")

    // Add selection task
    options := []string{"development", "staging", "production"}
    env := ziva.NewSingleSelectTask("Select environment", options)

    // Add tasks to queue and run
    queue.AddTasks(confirm, env)
    if err := queue.Run(); err != nil {
        log.Fatal(err)
    }
}
```

## Optimized for Embedded Systems

Ziva automatically detects and optimizes for embedded systems:

* **Memory Management** - load monitoring and string interning
* **Adaptive Color Schemes** - simplified colors for limited terminals
* **Auto-configuration** - router and IoT device detection with parameter tuning

<Card title="Get Started" icon="rocket" href="/en/installation">
  Install Ziva and create your first TUI application
</Card>

***

## Community and Support

<CardGroup cols={3}>
  <Card title="GitHub" icon="github" href="https://github.com/qzeleza/ziva">
    Source code, issue tracker, and releases
  </Card>

  <Card title="Go Package" icon="golang" href="https://pkg.go.dev/github.com/qzeleza/ziva">
    API documentation and usage examples
  </Card>

  <Card title="Examples" icon="code" href="/en/examples/basic-usage">
    Ready-to-run examples for quick start
  </Card>
</CardGroup>
