Skip to content

Badges example in README uses hotlinking

Hello, this is rather a question more than an issue.

I am a core developer of the Gadgetbridge project and recently we've got a PR about switching our currently (outdated) "get it on F-droid" badge with the official one. I noticed that in the README.md the examples use an hotlinked png. As far as I could see in the repo there is no clear indication whether:

  • a project should host its own copy (pros: f-droid saves bandwidth, cons: the badge could become outdated)
  • a project should hotlink the image from f-drodi (pros: the badge is always updated, cons: f-droid uses bandwidth)

If the second option is desired, I suggest you could implement a server-side redirect to serve the localized version based on the HTTP Accept-Language header (but that would be a separate issue).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information