How does the Donation progress bar work?

Nix@merv.news to Asklemmy@lemmy.ml – 46 points –

This progress bar is on the bottom of https://join-lemmy.org Does it automatically update when people donate to either the Liberapay, Patreon, or Open Collective? Is this progress bar open source so lemmy servers can implement it to show their donation\costs amounts?

9

It's just a static image. At the end of every month, a guy logs into all the donation sites, punches the numbers into a calculator, calculates how many more pixels needs to be added, then fires up MS Paint and paints the progress bar and uploads it to the website. ^(/s)

Oh, so is the progress bar just an image or is it code that can update the progress based on the manually inputted values?

Seems like something that could be automated using SVGs

Yes, it automatically updates every hour. Its just an html progress bar based on a coded goal, and the current donation amounts from given platforms.

Thats awesome! it would be great if you could make a post about it so instance admins would be aware of it and know they can implement it on their homepage so users can ensure their instance is sustainably funded