atuinsh

atuinsh / eye-declare

Public

A declarative inline TUI rendering library for Rust, built on Ratatui

12
0
100% credibility
Found Mar 30, 2026 at 12 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

eye-declare is a Rust library for building declarative, inline terminal user interfaces that accumulate output into scrollback for CLI tools and interactive prompts.

How It Works

1
🔍 Discover eye-declare

You find a handy tool for making command-line apps show pretty, building displays like chat logs or spinning loaders that keep all past output visible.

2
📦 Pick it up

You grab the tool and add it to your project super easily, ready to start designing screens.

3
🎨 Sketch your screen

You describe simple parts like text, spinners, or formatted notes using friendly building blocks.

4
Bring it to life

Hit launch and instantly see your lively terminal display appear, growing smoothly as things update.

5
💬 Send updates anytime

From anywhere in your app, add new messages or toggle loaders, and watch the screen refresh beautifully.

6
⌨️ Add touch interaction

Make it respond to keys or mouse for typing and navigation, feeling natural in the terminal.

Perfect terminal app

Sit back with a modern-feeling command-line tool that keeps every bit of history and delights users.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 12 to 12 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is eye-declare?

Eye-declare is a Rust library for declarative inline TUI rendering, built on Ratatui. It lets you create React-like component trees that grow content into the terminal's native scrollback, keeping earlier output visible instead of hijacking the full screen. Perfect for CLI tools, AI assistants, or prompts where history matters—like streaming responses in a chat without losing context.

Why is it gaining traction?

Unlike fullscreen TUI frameworks, eye-declare's inline model preserves scrollback naturally, with smart diffing to update only changes via ANSI escapes. The element! macro delivers JSX-style syntax for loops, conditionals, and hooks (intervals, focus, context), making stateful UIs feel declarative and pipeline-like on GitHub projects. Developers dig the low-overhead way to add spinners, markdown, or custom canvases without raw mode boilerplate.

Who should use this?

Rust CLI authors building interactive agents, like terminal-based LLMs or async task runners with live updates. Suited for backend devs crafting REPLs, progress trackers, or multi-step wizards where users scroll back through logs. Skip if you need mouse-heavy apps—it's keyboard/events-focused.

Verdict

Grab it for prototypes if you're into declarative eye-declare inline libraries on Ratatui; the quick-start chat demo hooks fast. At 12 stars and 1.0% credibility, it's early alpha with breaking changes ahead—docs shine, examples abound, but test long sessions first. Solid bet for Rust TUI experiments.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.