Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is all very cool, but I hate to be the "look at the shiny lights" guy...

How did they do that pretty "GEMINI" gradient in the terminal? is that a thing we can do nowadays? It doesn't seem to be some blocky gradient where each character is a different color. It's a true gradient.

(yes I'm aware this is likely a total clone of claude code, but still am curious about the gradient)



Maybe this will help: https://github.com/armanirodriguez/ansifade-py

And it is a blocky gradient, each character is a color. It's just the gradient they chose is slow enough that you don't notice.


Look at the package.json inside the CLI folder https://www.npmjs.com/package/ink-gradient


we went through several versions of this, it was the second most fun part after authoring the witty loading phrases.


For the record, I find the witty loading phrases a real turn-off. It makes me feel like I don't know what it is doing, and it is being patronising.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: