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?
It seems to be manually updated.
https://github.com/LemmyNet/joinlemmy-site/blob/main/src/shared/donation_stats.ts
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
Seems like something a donation could fund.
IIRC @[email protected] decided against updating the donation progress automatically because it would involve juggling multiple donation platform APIs, which seemed more of a pain in the ass than it’s worth.
The main donate block of items is here: https://github.com/LemmyNet/joinlemmy-site/blob/main/src/shared/components/common.tsx#L129
Follow the chain and you’ll see it’s just using the
progress
html element.