open-index/open-npm huggingface dataset:
npm package: @opentuah/core
Description: OpenTUI is a TypeScript library on a native Zig core for building terminal user interfaces (TUIs)
Latest version: 0.1.97

# OpenTUI Core

OpenTUI is a native terminal UI core written in Zig with TypeScript bindings. The native core exposes a C ABI and can be used from any language. OpenTUI powers OpenCode in production today and will also power terminal.shop. It is an extensible core with a focus on correctness, stability, and high performance. It provides a component-based architecture with flexible layout capabilities, allowing you to create complex terminal applications.

## Documentation

- [Getting Started](docs/getting-started.md) - API and usage guide
- [Development Guide](docs/development.md) - Building, testing, and contributing
- [Tree-Sitter](docs/tree-sitter.md) - Syntax highlighting integration
- [Renderables vs Constructs](docs/renderables-vs-constructs.md) - Understanding the component model
- [Environment Variables](docs/env-vars.md) - Configuration options

## Install

```bash
bun install @opentuah/core
```

## Build

```bash
bun run build
```

This creates platform-specific libraries that are automatically loaded by the TypeScript layer.

## Examples

```bash
bun install
bun run src/examples/index.ts
```

## Benchmarks

Run native performance benchmarks:

```bash
bun run bench:native
```

See [src/zig/bench.zig](src/zig/bench.zig) for available options like `--filter` and `--mem`.

NativeSpanFeed TypeScript benchmarks:

- [src/benchmark/native-span-feed-benchmark.md](src/benchmark/native-span-feed-benchmark.md)

## CLI Renderer

### Renderables

Renderables are hierarchical objects that can be positioned, nested, styled and rendered to the terminal:

```typescript
import { createCliRenderer, TextRenderable } from "@opentuah/core"

const renderer = await createCliRenderer()

const obj = new TextRenderable(renderer, { id: "my-obj", content: "Hello, world!" })

renderer.root.add(obj)
```
npm package: @opentui/core
Description: OpenTUI is a TypeScript library on a native Zig core for building terminal user interfaces (TUIs)
Latest version: 0.1.97

# OpenTUI Core

OpenTUI is a native terminal UI core written in Zig with TypeScript bindings. The native core exposes a C ABI and can be used from any language. OpenTUI powers OpenCode in production today and will also power terminal.shop. It is an extensible core with a focus on correctness, stability, and high performance. It provides a component-based architecture with flexible layout capabilities, allowing you to create complex terminal applications.

## Documentation

- [Getting Started](docs/getting-started.md) - API and usage guide
- [Development Guide](docs/development.md) - Building, testing, and contributing
- [Tree-Sitter](docs/tree-sitter.md) - Syntax highlighting integration
- [Renderables vs Constructs](docs/renderables-vs-constructs.md) - Understanding the component model
- [Environment Variables](docs/env-vars.md) - Configuration options

## Install

```bash
bun install @opentui/core
```

## Build

```bash
bun run build
```

This creates platform-specific libraries that are automatically loaded by the TypeScript layer.

## Examples

```bash
bun install
bun run src/examples/index.ts
```

## Benchmarks

Run native performance benchmarks:

```bash
bun run bench:native
```

See [src/zig/bench.zig](src/zig/bench.zig) for available options like `--filter` and `--mem`.

NativeSpanFeed TypeScript benchmarks:

- [src/benchmark/native-span-feed-benchmark.md](src/benchmark/native-span-feed-benchmark.md)

## CLI Renderer

### Renderables

Renderables are hierarchical objects that can be positioned, nested, styled and rendered to the terminal:

```typescript
import { createCliRenderer, TextRenderable } from "@opentui/core"

const renderer = await createCliRenderer()

const obj = new TextRenderable(renderer, { id: "my-obj", content: "Hello, world!" })

renderer.root.add(obj)
```
npm package: @opentypes/process
Description: This package provides comprehensive type safety for working with Node.js process-related functionality, including environment variables, command-line arguments, signals, and more.
Author: Sébastien GARCIA
Latest version: 0.1.0-alpha.3

# @opentypes/process

[![npm version](https://img.shields.io/npm/v/@opentypes/process.svg)](https://www.npmjs.com/package/@opentypes/process)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

TypeScript type definitions for the Node.js `process` object. This package provides comprehensive type safety for working with Node.js process-related functionality, including environment variables, command-line arguments, signals, and more.

## Installation

```bash
pnpm add @opentypes/process
```

```bash
npm install @opentypes/process
```

```bash
yarn add @opentypes/process
```

## Features

- Complete TypeScript type definitions for the Node.js `process` object
- Type-safe access to environment variables
- Comprehensive type definitions for command-line arguments and options
- Type-safe process signals and event handling
- Detailed type information for system resources and configurations
- Support for all Node.js platforms and architectures

## Usage

Import the types in your TypeScript project:

```typescript
import type Process from '@opentypes/process';

// Now you can use Process types throughout your application
const arch: Process.Architecture = process.arch; // e.i.: 'arm64'
const platform: Process.Platforms = process.platform; // e.i.: 'win32'
```

### Environment Variables

Type-safe access to environment variables:

```typescript
// Access environment variables with type safety
const exampleEnvVar: Process.EnvironmentVariable =
  process.env.EXAMPLE;
```

### Process Signals

Type-safe handling of process signals:

```typescript
import { Signal, type Signals } from '@opentypes/process';

const handleSignal = (signal: Signals) => {
  console.log(`Received ${signal} signal`);
  // ...
  process.exit(0);
};

// Set up signal handlers
process.on(Signal.SIGTERM, handleSignal);
process.on(Signal.SIGINT, handleSignal);
```

### Command-Line Arguments

Type-safe access to command-line arguments:

```typescript
// Access command-line arguments with type safety
const args: string[] = process.argv.slice(2);

// Or get the full argument vector with types
const argv: Process.ArgumentVector = process.argv;
const argv0: Process.ArgumentVectorZero = process.argv0;
```

## API Reference

### Types

- Over **110 types** are provided for the Node.js `process` object.

## License

MIT OpenEngine

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## Versioning

This project follows [Semantic Versioning](https://semver.org/).
npm package: @openui-xio/cli
Description: OpenUI CLI - IDE Agent Bridge & Development Toolbar
Latest version: 0.0.1

# OpenUI CLI

The command-line interface for OpenUI — select UI elements in your browser, describe changes, and forward prompts to your IDE's AI agent.

## Quick Start

```bash
npx openui@latest
```

Or with pnpm:

```bash
pnpm dlx openui@latest
```

## What it does

1. Starts a proxy server that overlays the OpenUI toolbar onto your running dev app
2. Discovers framework plugins (React, Vue, Angular) automatically
3. Connects to the OpenUI VS Code extension to forward prompts to your IDE

## Options

```
Usage: openui [options] [-- command]

Options:
  -p, --port <port>        Proxy port (default: 3100)
  -a, --app-port <port>    Your dev app port (default: prompt)
  -w, --workspace <path>   Workspace path (default: cwd)
  -s, --silent             Suppress banner output
  -v, --verbose            Enable debug logging
  -h, --help               Show help
```

## Command Wrapping

Run your dev server and OpenUI together:

```bash
npx openui@latest -- npm run dev
```

## Agent Support

| Agent | Supported |
|---|---|
| Cursor | ✅ |
| GitHub Copilot | ✅ |
| Windsurf | ✅ |
| Cline | ✅ |
| Roo Code | ✅ |
| Kilo Code | ✅ |
| Trae | ✅ |
| Antigravity | ✅ |

## License

AGPLv3 — see [LICENSE](../../LICENSE) for details.