frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Ito – Build Terminal UIs in Lua

https://uji.sh/ito/
16•cat-whisperer•10h ago
My friend and I are huge Neovim nerds. We like to rice our terminals and our editors. We just wanted a harness that we can do the same with, rice it till our hearts' desire. So, we started looking out for harnesses. Pi was great, Pi was good. But in the end, it was JavaScript. I don't have anything against JavaScript, but Lua is more fitting, and I can just as easily base it in Rust to make it even faster. So, we started cooking, and we ended up with a design that's minimal at its core and is built using Lua. Every built-in abstraction, the way you define providers, the way you rice it up, everything, literally everything, you can do in Lua.

But how? How does it all work? I proposed we just do it the Ratatui way, but my friend was like, nah! We shall make it possible to build TUIs in Lua. (Weirdo!) But it paid off, and we got ourselves a shiny new Lua library, ito!!!

He didn't get the gravity of the situation. We had an awesome terminal UI library in Lua! I wanted everyone to know how cool that is, so I got cooking, wrote myself a custom canvas implementation of this library instead of the usual terminal adaptor, exported it as wasm, and made this super cool website where you can experiment building awesome UIs in Lua. For vibe-coders, we got an llms.txt too. Have at it, and see if you can build something really cool with it. The library's at github.com/uji-labs/ito, and the awesome sauce harness is at github.com/uji-labs/uji.

I hope you like it!

Comments

satuke•2h ago
this is amazing, i'll try it out!
cat-whisperer•1h ago
feel free to raise issues if anything feels off. The plan is to make it the rice harness :)

*oh! I meant the right harness for you

hollowturtle•41m ago
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 ;)
cat-whisperer•35m ago
I trust you would make that happen! And I would be right there to use it in my next project
Yannik_Sc•7m ago
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

Show HN: Indigene – Native plants for where you stand

https://indigene.app/
13•olivierlacan•2d ago•1 comments

Show HN: Flipflop, Iroh-powered persistent tunnels for filesharing

https://github.com/andunieee/flipflop
31•andunie•4h ago•10 comments

Show HN: Ito – Build Terminal UIs in Lua

https://uji.sh/ito/
16•cat-whisperer•10h ago•5 comments

Show HN: Petal, open-source CoScreen/ScreenHero finally free

https://petal.live/
162•thedracle•14h ago•38 comments

Show HN: I wrote an email app that accepts only one sender per inbox

https://clova.email/
100•edpin2000•16h ago•79 comments

Show HN: My Terminal Themes Web App

17•bado•6h ago•6 comments

Show HN: Ask a technical question, get an animated explainer you can interrupt

https://openlume.com/examples/3f65f6ce-87bf-4c81-a34b-3a1ec82f0ed1
10•shadaba•10h ago•1 comments

Show HN: A guided 3D Leonardo da Vinci museum, built in code

https://museumofages.org/w/vinci
87•micstradev•23h ago•38 comments

Show HN: Graphicle, a Rust port of Graphify with memory for coding agents

https://github.com/graphicle-ai/graphicle
45•KarLexAI•18h ago•12 comments

Show HN: Guitoro, a virtual guitar you strum with your keyboard

https://guitoro.com/
558•talccc•1d ago•157 comments

Show HN: Pulse Local, a Mac budgeting app whose AI models run on your machine

https://pulseos.finance
117•niztk•1d ago•71 comments

Show HN: Timur's Chess – A 14th century chess variant with giraffes

https://timurschess.com
23•LarsDu88•3d ago•6 comments

Show HN: XY Music Notation

https://music.xy.dev/
82•jmole•1d ago•77 comments

Show HN: Use your OpenAI subscription to create audiobooks

https://pdftomp3.com/connect-ai/
170•janpmz•1d ago•90 comments

Show HN: Spotatui, a Spotify TUI/GUI without web API rate limits

https://github.com/LargeModGames/spotatui
87•LargeModGames•1d ago•18 comments

Show HN: Parsimony – an open-source benchmark for how much code AI models add

https://parsimony.lasu.dev/
77•lasu•1d ago•17 comments

Show HN: TowerPanic – a family party game on a small FastAPI realtime engine

https://towerpanic.com/
3•ms209495•7h ago•3 comments

Show HN: Give (low vRAM) local sLLMs codebase-wide context with SQLite (attempt)

https://github.com/govindgcoder/arcKode
3•iamgovindg•7h ago•0 comments

Show HN: I'll Call You Later, an interactive 3D browser short film

https://film.jashtechno.com
4•Jashwanth_13•7h ago•1 comments

Show HN: How random are you?

https://lab.specr.net/rigged-draw/
211•vunderba•1d ago•117 comments

Show HN: GitVolt, open source fast Git GUI (Tauri/CEF)

https://gitvolt.com/
4•francislavoie•8h ago•0 comments

Show HN: I think Apple should have built this a long time ago

https://copytap.netlify.app/
2•zacattackjuice•8h ago•3 comments

Show HN: I built a tool to track what AI leaders say and how their views change

https://blumify.io/people
117•gcsydney•1d ago•77 comments

Show HN: SolidCraft – Open-Source Parametric CAD in Rust (With MCP Support)

https://github.com/bherbruck/solidcraft
141•bherbruck•2d ago•51 comments

Show HN: T0: We trained a 256M SOTA open-weights time-series forecasting model

https://github.com/theforecastingcompany/tfc-t0
14•LTMeyer•18h ago•0 comments

Show HN: Atticus – Hold-to-talk voice assistant for macOS that runs on Claude -p

https://github.com/SaarthurR/atticus-mac
115•SaarthRanka•3d ago•30 comments

Show HN: Every open government tender in the world (Over 250k)

https://tenderportal.io/
11•interstellarish•19h ago•2 comments

Show HN: Jevcrawl – A web crawler for AI agents with no LLM in the crawl loop

https://github.com/RayenMlayeh/jevcrawl
21•rayenmlayeh•1d ago•3 comments

Show HN: Code Like It's 198x

https://code198x.com/
5•stevehill1981•20h ago•1 comments

Show HN: Sonia. Local AI Assistant Linux. 13Gb RAM, No GPU, Skills Supported

https://github.com/grigio/sonia-assistant
3•grigio•16h ago•0 comments