credit to @-Rex- for the pen text engine (it wouldn't be as cool without it) credit to kevin macleod for his free music attribution for his music at the bottom information below: this works by updating some cloud variables every 6 seconds with the current stats by using a computer that's always on running a nodejs script. the project will then display the count using a pen text engine by @-rex-. i am not changing the counts manually as that would be crazy. if the love counter reads -1 loves, then the server is offline. i detect this by telling the script to set the number to -1 before stopping. as with the other one, this might be more accurate than the stats displayed on your page (page caching and when you loaded the page are factors) try pressing ctrl + shift + r to hard reload the page to get more accurate data on the actual scratch counts (my counts will not be affected) i don't want to be spamming scratch with requests, so you may need to wait up to 10 seconds to see the number change. as with the other one, this project is a demo / experiment of the scratch api. the intention is not to game the system or exploit people's curiosity. you do not have to press love or favourite if you don't want to, if you do however, you of course may unlove or unfavourite hopefully this isn't against the TOS or community guidelines, but just so i'm clear, this isn't meant for any malicious purpose, i just wanted to demo something cool. enjoy! oh yeah, and the scratch api doesn't update when a comment is deleted, so since i deleted a test comment, theres 1 extra Acid Trumpet by Kevin MacLeod Link: https://incompetech.filmmusic.io/song/3340-acid-trumpet License: http://creativecommons.org/licenses/by/4.0/ Lewis And Dekalb by Kevin MacLeod Link: https://incompetech.filmmusic.io/song/4989-lewis-and-dekalb License: http://creativecommons.org/licenses/by/4.0/ Spy Glass by Kevin MacLeod Link: https://incompetech.filmmusic.io/song/4410-spy-glass License: http://creativecommons.org/licenses/by/4.0/