For astronomy clubs, observatories and dark-sky sites. The badge shows tonight's ClearSkys score for your location, updates through the day, and opens the full forecast when someone taps it. It is free, needs no account and no script, and you can take it down whenever you like.
Choose a location and your badge and its code appear here. This is how one looks:
The score is the same one the app gives: how good tonight is for stargazing, from 0 to 100, from cloud by layer, moonlight, haze and darkness. How it is worked out.