# Robinhooding libraries from JS to C, part 1: Interactive CLIs

> Source: <https://spader.zone/prompt/>
> Published: 2026-04-24 00:00:00+00:00

I wrote a @clack/prompts
-inspired single header library in plain C99 for making beautiful CLIs. It compiles instantly, works on every OS and the browser, and has zero dependencies – not even libc1.
The source code is here; just drop it into your project and you’re done. If you just want screenshots, jump down to the gallery.
Or, even better, try it! The below demo is compiled to WASM and running inside a true blue, real terminal thanks to libghostty
and restty
. Just tap or click the terminal to try it. (And yes, it works great on your phone – use Vim keys!)
