I forgot about YAZD: a KISS collection of Tiddlywiki macros
. It was announced in March 2019 more than two years ago!
I just watched the local copy and tried to update it to TW 5.1.24p and I found two interesting solutions for rating staring tiddlers you may be interested in!

This is a static rating/staring in only 16 lines with a simple code [Updated to 5.1.24 with new filter operators]
And the below is a dynamic rating/staring macro with very simple code 28 line one macro and with CSS and everything else [Using the 5.1.24 new filter operators]
- I should acknowledge the idea by Tobias Beer! So all Kudos goes to him!
- And a million thanks to Jeremy and Saq for introducing such amazing filter operators, let's develop such a tool (like rating) with a few lines of code!
- I hope I could find free time to update https://github.com/tw-scripts/Yazd
Best wishes
Mohammad
[1] KISS: keep it simple stupid