vadimdemedes/ink ? reverse-engineered prompt

Reverse engineered prompt

I want to build a library that lets me use React to create interactive command-line applications. I'm used to building web UIs with components, and I want to bring that same development experience to the terminal.

Instead of just printing plain text, I want to be able to build rich interfaces using components, manage state with hooks like useState, and handle side effects with useEffect. It should support a layout system like Flexbox so I can arrange elements, add spacing, and apply colors, all within the console.

The goal is to make building dynamic and beautiful CLIs feel just like building a modern web app. For example, I should be able to make a loading spinner, a progress bar that updates in place, or a formatted data table. Please build it with TypeScript.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab