←back to thread

Gemini CLI

(blog.google)
1348 points sync | 4 comments | | HN request time: 0.446s | source
1. atonse ◴[] No.44379984[source]
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)

replies(3): >>44380966 #>>44381133 #>>44382393 #
2. krat0sprakhar ◴[] No.44380966[source]
Look at the package.json inside the CLI folder https://www.npmjs.com/package/ink-gradient
3. ars ◴[] No.44381133[source]
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.

4. cperry ◴[] No.44382393[source]
we went through several versions of this, it was the second most fun part after authoring the witty loading phrases.