This website collects cookies to deliver better user experience
The SUPERFLEXIBLE star rating system – the future of star rating in the Terminal
The SUPERFLEXIBLE star rating system – the future of star rating in the Terminal
In the last few days, many people made star rating systems for the web. But nobody could build one in the terminal, so I am presenting the "star rating" that will change the world universe!
And I call it – SUPERFLEXIBLE
Now, why colour the whole star when you can fine-tune however the star is colored?
The implementation is pretty much the same as my previous star rating, except I have just changed the stars and hardcoded it in another file:
The usage is also same: m to increase, l to decrease, and <number> to set the rating
The beauty of this method is that you can just change the stars and the rating still works. Try changing the exports in the stars.js file and see how much customizability you can have.