# Ito - Build Terminal UIs in Lua

Original title: Show HN: Ito – Build Terminal UIs in Lua

> Hacker News story 50096300 · language: en · submitted 2026-10-14
> Web version: https://zeli.app/story/50096300
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 74 · by [cat-whisperer](<https://news.ycombinator.com/user?id=cat-whisperer>) · 💬 15
[original](<https://uji.sh/ito/>) · [HN discussion](<https://news.ycombinator.com/item?id=50096300>)

## Summary

Ito is a Lua library for creating interactive terminal user interfaces with minimal code. It provides reactive state management and a declarative component system, enabling developers to build everything from simple menus to complex forms. The example shows a to-do list app with keyboard navigation and text editing, all in a few lines of Lua. Ito handles rendering and input, so you can focus on logic. Ideal for CLI tools, dashboards, and games, Ito brings modern UI development to the terminal.

## Key quote

> Ito makes building terminal UIs as easy as writing a few lines of Lua, letting you focus on your app's logic instead of the intricacies of terminal rendering.

## HN discussion (15 comments)

### [Yannik_Sc](<https://news.ycombinator.com/item?id=50101035>)

> While I generally like Lua this code just looks .. not so Lua - like, it definitely is Lua, but it could look much better by utilizing language features like "Parenthesis-free calls":
>
> ui.Button "Button Text" {
>
> on_click = function()
>
> print("Hello world")
>
> end,
>
> disabled = true
>
> }
>
> or
>
> ui.VStack {
>
> padding = 31, -- Named key => option
>
> wrap = true,
>
> ui.Button "..." {}, -- Indexed by number => children
>
> }
>
> feels more Lua and slightly cleaner imo

### [hollowturtle](<https://news.ycombinator.com/item?id=50100813>)

> Great job! The declarative API looks sick! I'll try it. Sometimes I love to think that if our universe is really infinite, then somewhere there's a universe where the browsers supports native luajit scripting instead of javascript(and in another universe all of this plus array indexes starting from 0 ;)

### [buffer_overlord](<https://news.ycombinator.com/item?id=50102200>)

> Hqtui

---

## Cite

- Page: https://zeli.app/story/50096300
- Date: 2026-10-14
- Source: uji.sh (https://uji.sh/ito/)
- Hacker News: https://news.ycombinator.com/item?id=50096300

## Other languages

- zh: https://zeli.app/zh/story/50096300 · markdown: https://zeli.app/zh/story/50096300.md
- ja: https://zeli.app/ja/story/50096300 · markdown: https://zeli.app/ja/story/50096300.md
- ko: https://zeli.app/ko/story/50096300 · markdown: https://zeli.app/ko/story/50096300.md
- de: https://zeli.app/de/story/50096300 · markdown: https://zeli.app/de/story/50096300.md
- es: https://zeli.app/es/story/50096300 · markdown: https://zeli.app/es/story/50096300.md
- ru: https://zeli.app/ru/story/50096300 · markdown: https://zeli.app/ru/story/50096300.md
