Elektrine lite

← Feed

@joshix@fosspri.de

Post #1754446

2026-03-30 09:43 UTC

@filmroellchen @arch @lunareclipse cool idea. why do button uris have to be https? Why prohibit data uris? Why sha256? If it's just intended for caching it could be an arbitrary etag. Do you have a script or something to securely and correctly render a button as html?

Replies (2)

  • @filmroellchen@chaos.social 2026-03-30 09:56

    @joshix @arch @lunareclipse 1) because authenticity is important. data URIs don't provide a lot of utility in my opinion, and restricting ourselves to only HTTPS simplifies clients. 2) I don't like this feature either, and normal caching mechanisms are also explicitly encouraged. The point of this hash is that the client can calculate it itself. 3) Not yet, I want to write a utility script for my website for this soon.

    Open ##1754447

  • @filmroellchen@chaos.social 2026-03-30 21:27

    @joshix @arch @lunareclipse also i wrote a script for this now: https://codeberg.org/filmroellchen/button2html will get some advanced configurable automation once i get time

    Open ##1754451