Hacker GitHub

← All repos

vadimdemedes/ink

View on GitHub ↗ ★ 40,208 TypeScript

🌈 React for interactive command-line apps

48 mentions on Hacker News by 43 people: 10 stories, 38 comments · first 2017-07-16 · latest 2026-05-18

Mentions per year 48 mentions · busiest year 2026 (11)
20082026
  1. perhaps they refer to Claude code being built on top of a React renderer for terminals, Ink https://github.com/vadimdemedes/ink and is riddled with timeouts and intervals in useffects
  2. There are terminal libraries that do this: https://github.com/vadimdemedes/ink Which is what Claude Code CLI uses (or was using?) and it caused many issues such as flickering, thrashing, and latency.
  3. …on top of each other with terminal codes. Ended up reading the Ink Terminal implementation of React https://github.com/vadimdemedes/ink Fascinating how it ends up looking Wordperfect or Wordstar from the past instead of pixel based…
  4. …a different renderer for react, here is a tui renderer [1]. 0: https://www.vicinae.com/ 1: https://github.com/vadimdemedes/ink
  5. …some really interesting stuff in this space with their custom renderer. And then there's Ink ( https://github.com/vadimdemedes/ink ) which is what Claude Code uses. I also built Ink Web ( https://github.com/cjroth/ink-web ) to make Ink…
  6. …to a Terminal. (Seriously.) Who cares, and why? All of the major providers' CLI harnesses use Ink: https://github.com/vadimdemedes/ink
    comment by CamperBob2 · 2026-02-05 · in Claude Opus 4.6
  7. …a built-in React feature. The idea been around for quite some time, I came across it initially with https://github.com/vadimdemedes/ink back in 2022 sometime.
    comment by embedding-shape · 2026-02-05 · in Claude Opus 4.6
  8. They used Ink: https://github.com/vadimdemedes/ink I've used it myself. It has some rough edges in terms of rendering performance but it's nice overall.
    comment by pkkim · 2026-02-05 · in Claude Opus 4.6
  9. …funny. Perhaps they'll figure it out when this comment makes it into Claude's training data. [1] https://github.com/vadimdemedes/ink/blob/e8b08e75cf272761d63... [2] https://www.npmjs.com/package/ansi-escapes [3]…
  10. …that manage to update without flickering. [1] https://github.com/gatsbyjs/gatsby/issues/15505 [2] https://github.com/vadimdemedes/ink/issues/359
  11. …in the browser, but for command-line apps. It uses Yoga to build Flexbox layouts in the terminal," https://github.com/vadimdemedes/ink
  12. ▲ 6
    Show HN: We built an open source BYOK CLI that supports any model and any MCP
    story by pzullo · 2025-07-01 · 2 comments
  13. …Codex and Anthropic's Claude Code, this one is also built with Ink, React for the terminal. https://github.com/vadimdemedes/ink
    comment by mofle · 2025-06-25 · in Gemini CLI
  14. React is used to render the CLI through ink: https://github.com/vadimdemedes/ink
  15. …but I believe it is no longer one of the supported renderers). In JS there is Ink ( https://github.com/vadimdemedes/ink ).
    comment by marcyb5st · 2025-01-27 · in Show HN: Bagels – TUI expense tracker
  16. …Textual is such a chore to write and docs are crap. Is there HTML based TUI toolkit? I know there’s https://github.com/vadimdemedes/ink , anything else besides it?
    comment by wiseowise · 2025-01-27 · in Show HN: Bagels – TUI expense tracker
  17. ▲ 164
    Ink: React for interactive CLI apps
    story by brianzelip · 2024-11-01 · 106 comments
  18. I have used this https://github.com/vadimdemedes/ink/ for TUI design, it's "React" for TUI. It's pretty good but I had to add a bit of sub-process parallelization since I have a long running process in the background.
  19. …you could write fancy CLI outputs in bash, but ink takes the pain out of it and makes it easy. [0] https://github.com/vadimdemedes/ink
  20. …[1], but is something to be mindful of, especially if your users may be using slow machines. [1] https://github.com/vadimdemedes/ink/issues/21
  21. ▲ 588
    Ink: React for interactive command-line apps
    story by thunderbong · 2023-05-08 · 178 comments
  22. You’re probably referring to https://github.com/vadimdemedes/ink
    comment by HeavyFeather · 2023-03-08 · in React is holding me hostage
  23. Some projects from Ukrainian maintainers come to mind: https://github.com/pnpm/pnpm/ https://github.com/vadimdemedes/ink by @vadimdemedes (React renderer for CLI) https://github.com/platformio by @ivankravets (embedded development platform)
  24. You may want to try Ink: https://github.com/vadimdemedes/ink
  25. …platform in a native way. This is how React DOM, React Native, and libraries like Ink[1] work. [1] https://github.com/vadimdemedes/ink
    comment by Tomuus · 2022-09-09 · in The self-fulfilling prophecy of React
  26. …terminal. Allows you to build the UIs using familiar web techniques and even has react dev tools! https://github.com/vadimdemedes/ink
  27. The most modern terminal GUI (as for 2021) would have to use React: https://github.com/vadimdemedes/ink
    comment by d21d3q · 2021-08-30 · in Writing Programs with Ncurses
  28. …data flow/declarative render model as you’d use for DOM! The most prominent example is Ink: https://github.com/vadimdemedes/ink
  29. ▲ 2
    Ink: React for interactive command-line apps
    story by rgbrgb · 2021-05-22 · 0 comments
  30. …calls to write to the shell. Ink is a more interesting and maintained library to consider though: https://github.com/vadimdemedes/ink It lets you write react-like apps that output to the terminal instead of HTML.
  31. …layer. [0] https://github.com/chjj/blessed [1] https://github.com/Yomguithereal/react-blessed [2] https://github.com/vadimdemedes/ink
    comment by acemarke · 2021-02-16 · in Building Rich Terminal Dashboards
  32. …to see some really cool and modern advances for this sort of task, check out the Ink cli framework: https://github.com/vadimdemedes/ink#readme
    comment by dfee · 2021-01-30 · in Pixel Shaders in Windows Terminal
  33. Hey that's me! Repo is here: https://github.com/gdborton/those-cheeks Built using ink: https://github.com/vadimdemedes/ink
    comment by gdborton · 2020-12-03 · in Command Line Music Visualizer
  34. Theres ink: a TUI in react, there are others I believe too. https://github.com/vadimdemedes/ink
    comment by cyberbanjo · 2020-11-23 · in $ ssh cointop.sh
  35. …Also Ink is incredibly interesting as it enables ReactJS for creating TUI apps - mind bending! https://github.com/vadimdemedes/ink I can imagine the things above being combined with a sandbox plus Fabrice Bellard's QuickJS…
  36. In the node ecosystem there are a few interesting ones. https://github.com/vadimdemedes/ink for writing TUIs with react. Here's a project I wrote using that: https://github.com/zephraph/solitaire . It's not as powerful as ncurses, but it…
  37. ▲ 1
    Vadimdemedes/ink: React for interactive command-line apps
    story by amjd · 2020-07-05 · 0 comments
  38. I've been a fan of https://github.com/vadimdemedes/ink for awhile. Its based off React with a custom renderer. I like it a lot and find it pretty easy to use.
  39. …replacements or even frameworks that apply its basics to completely different kinds of rendering ( https://github.com/vadimdemedes/ink ). I find it unlikely that the basic idea of component trees, efficient one-way rendering of updated…
    comment by crooked-v · 2019-02-14 · in Whitespace killed an enterprise app
  40. …React API for general-purpose terminal rendering, without actually involving any web stuff at all: https://github.com/vadimdemedes/ink
    comment by crooked-v · 2019-02-13 · in Whitespace killed an enterprise app
  41. ▲ 2
    React for command-line tools
    story by mofle · 2018-04-02 · 0 comments
  42. ▲ 2
    Ink – React for CLIs
    story by dsego · 2017-12-28 · 0 comments
  43. Answered in the issue tracker: https://github.com/vadimdemedes/ink/issues/10
  44. …you can't even know the height or width of the terminal. So, I think you would need to start there. https://github.com/vadimdemedes/ink/issues/5
  45. https://github.com/vadimdemedes/ink/blob/master/package.json It's not using React. "X for Y" is an analogy, as in "it's like React, but for CLI apps!"
  46. ▲ 129
    Ink: React for interactive command-line apps
    story by ingve · 2017-07-23 · 42 comments
  47. ▲ 3
    React for interactive command-line apps
    story by aaronwhite · 2017-07-21 · 0 comments
  48. ▲ 2
    Ink: React for CLIs – Build and test your CLI output using components
    story by ingve · 2017-07-16 · 0 comments