Comment

Comment by aloer

I recently used Ink to build a small debugging CLI for a websocket-heavy project of mine. All it does is subscribe to a specific channel and print out the message or send dummy data when I press a specific button. The frontend websocket code could be reused easily so it was very fast to do.

Very convenient to run multiple terminals as multiple clients in parallel. Much nicer at least than something like Postman for Websocket tests.

Full screen took some time to get right and still flickers when using iterm 2. But it does work on the apple terminal and for now I am happy with that.

My only issue is that Ink does not support nested rendering / overlays, i.e. modals.

parent aloer 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton