frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Giggles – A batteries-included React framework for TUIs

https://github.com/zion-off/giggles
8•ajz317•2h ago
i built a framework that handles focus and input routing automatically for you -- something born out of the things that ink leaves to you, and inspired by charmbracelet's bubbletea

- hierarchical focus and input routing: the hard part of terminal UIs, solved. define focus regions with useFocusScope, compose them freely -- a text input inside a list inside a panel just works. each component owns its keys; unhandled keypresses bubble up to the right parent automatically. no global handler like useInput, no coordination code

- 15 UI components: Select, TextInput, Autocomplete, Markdown, Modal, Viewport, CodeBlock (with diff support), VirtualList, CommandPalette, and more. sensible defaults, render props for full customization

- terminal process control: spawn processes and stream output into your TUI with hooks like useSpawn and useShellOut; hand off to vim, less, or any external program and reclaim control cleanly when they exit

- screen navigation, a keybinding registry (expose a ? help menu for free), and theming included

- react 19 compatible!

docs and live interactive demos in your browser: https://giggles.zzzzion.com

quick start: npx create-giggles-app

Comments

jitl•1h ago
A good toolkit for Ink is much needed, although Ink itself leaves something to be desired, especially compared to https://github.com/anomalyco/opentui (bun only, used by opencode)

I tried to build a Viewport component in Ink, but after scrolling to the bottom of a list of 150 rows, Ink started to render things strangely - the top line overflowed the box bounds, and a few blank lines appeared inside the viewport. I couldn't figure out where the bug was in Ink, I somewhat suspect floating point issues somewhere in the native Yoga<->JS layer?

ajz317•1h ago
thank you !! : ) ive seen the opentui docs and it seems extremely feature rich. ill make something w it someday.

also, ive had the exact same issue w ink!! i forgot how i solved it though -- something with a Box prop (flexGrow?)

Trannosaur•1h ago
A random arse thought, but I have never seen the phrase batteries-included a week ago, and now I've seen it like half a dozen times. Am I seriously out of date with the lingo of web dev, or did this word suddenly explode in popularity?
tartoran•1h ago
https://python-basics-tutorial.readthedocs.io/en/latest/libs...
stavros•12m ago
It's been popular for at least 20 years, as far as I know.
latchkey•32m ago
The fact that there are no tests is a non-starter for me. AI mostly writes them for you now, so there really is no excuse to not have them, especially for a library that people are going to depend on.

The workers behind Meta’s smart glasses can see everything

https://www.svd.se/a/K8nrV4/metas-ai-smart-glasses-and-data-privacy-concerns-workers-say-we-see-e...
767•sandbach•6h ago•444 comments

Show HN: I built a sub-500ms latency voice agent from scratch

https://www.ntik.me/posts/voice-agent
261•nicktikhonov•7h ago•72 comments

Closure of the Weatheradio Service in Canada

https://www.rac.ca/rac-responds-to-the-closure-of-the-weatherradio-service-in-canada/
109•da768•5h ago•48 comments

Ars Technica Fires Reporter After AI Controversy Involving Fabricated Quotes

https://futurism.com/artificial-intelligence/ars-technica-fires-reporter-ai-quotes
49•danso•3h ago•23 comments

Seed of Might Color Correction Process (2023) [pdf]

https://andrewvanner.github.io/som/SoM_CC_Process_Day.pdf
76•haunter•5h ago•18 comments

Simple Screw Counter

https://mitxela.com/projects/screwcounter
19•jk_tech•2d ago•5 comments

British Columbia is permanently adopting daylight time

https://www.cbc.ca/news/canada/british-columbia/b-c-adopting-year-round-daylight-time-9.7111657
544•ireflect•8h ago•287 comments

New iPad Air, powered by M4

https://www.apple.com/newsroom/2026/03/apple-introduces-the-new-ipad-air-powered-by-m4/
346•Garbage•14h ago•552 comments

First in-utero stem cell therapy for fetal spina bifida repair is safe: study

https://health.ucdavis.edu/news/headlines/first-ever-in-utero-stem-cell-therapy-for-fetal-spina-b...
263•gmays•13h ago•50 comments

How to Build Your Own Quantum Computer

https://physics.aps.org/articles/v19/24
56•tzury•5h ago•16 comments

The Cathode Ray Tube site

https://www.crtsite.com/didactic-crt.html
22•joebig•1d ago•1 comments

Against Query Based Compilers

https://matklad.github.io/2026/02/25/against-query-based-compilers.html
42•surprisetalk•1d ago•15 comments

Show HN: Govbase – Follow a bill from source text to news bias to social posts

https://govbase.com
171•foxfoxx•11h ago•72 comments

RCade: Building a Community Arcade Cabinet

https://www.frankchiarulli.com/blog/building-the-rcade/
61•evakhoury•4d ago•14 comments

Motorola announces a partnership with GrapheneOS

https://motorolanews.com/motorola-three-new-b2b-solutions-at-mwc-2026/
2102•km•21h ago•752 comments

The 185-Microsecond Type Hint

https://blog.sturdystatistics.com/posts/type_hint/
54•kianN•6h ago•6 comments

Programmable Cryptography

https://0xparc.org/writings/programmable-cryptography-1
56•fi-le•2d ago•31 comments

Elevated Errors in Claude.ai

https://status.claude.com/incidents/yf48hzysrvl5
8•LostMyLogin•1h ago•6 comments

iPhone 17e

https://www.apple.com/newsroom/2026/03/apple-introduces-iphone-17e/
225•meetpateltech•14h ago•306 comments

Inside the M4 Apple Neural Engine, Part 1: Reverse Engineering

https://maderix.substack.com/p/inside-the-m4-apple-neural-engine
289•zdw•1d ago•75 comments

Ask HN: Who is hiring? (March 2026)

185•whoishiring•12h ago•235 comments

Welcome (back) to Macintosh

https://take.surf/2026/03/01/welcome-back-to-macintosh
280•Udo_Schmitz•7h ago•202 comments

Launch HN: OctaPulse (YC W26) – Robotics and computer vision for fish farming

69•rohxnsxngh•11h ago•30 comments

Show HN: Visual Lambda Calculus – a thesis project (2008) revived for the web

https://github.com/bntre/visual-lambda
27•bntr•2d ago•4 comments

Show HN: Giggles – A batteries-included React framework for TUIs

https://github.com/zion-off/giggles
8•ajz317•2h ago•6 comments

Ask HN: Who wants to be hired? (March 2026)

80•whoishiring•12h ago•197 comments

"That Shape Had None" – A Horror of Substrate Independence (Short Fiction)

https://starlightconvenience.net/#that-shape-had-none
84•casmalia•9h ago•15 comments

LFortran compiles fpm

https://lfortran.org/blog/2026/02/lfortran-compiles-fpm/
58•wtlin•3d ago•23 comments

Reflex (YC W23) Is Hiring Software Engineers – Python

https://www.ycombinator.com/companies/reflex/jobs
1•apetuskey•11h ago

Parallel coding agents with tmux and Markdown specs

https://schipper.ai/posts/parallel-coding-agents/
134•schipperai•14h ago•107 comments