Menu

A live-preview terminal UI in plain Node.js, with zero dependencies
📰

A live-preview terminal UI in plain Node.js, with zero dependencies

DEV Community: node·Wassim AZI·about 8 hours ago
#67jlP4wu
#devtonodejs#devto#dev#preview#terminal
Reading 0:00
15s threshold

In Google's Antigravity CLI ( agy ), the /statusline command turns the status bar on or off, and that's it. People expect more : a way to change what the bar shows without writing a custom shell script. Configuring a statusline by hand usually means wrestling with an undocumented JSON schema. You edit a property, save, switch windows, inspect the bar, and go back to edit again.

When building agy-powerline , I wanted the terminal customization experience to feel like Powerlevel10k for Google Antigravity : one command that opens an interactive configurator with a live preview of your bar, where you browse presets, toggle widgets, and audition themes with arrow keys, with the preview following every change.

The project has a hard rule: zero runtime dependencies . No Ink, no blessed, no chalk. Partly for supply-chain reasons (people run it with npx , and it touches their dev configuration), partly because every module it doesn't load is start-up time it doesn't pay.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.