22 Jan 2025 |
kurohana | Then the thumbnail pathing will use the GitHub pages while the emotes still exist on the server | 16:41:13 |
tulir | I guess that'd technically work | 16:41:22 |
kurohana | Also since you mentioned gomuks web, is that simply an alternative front end for matrix synapse | 16:41:58 |
tulir | probably easier than the alternative of using widget APIs to download media manually | 16:42:09 |
kurohana | In reply to @tulir:maunium.net if you have your own homeserver, you can flag your stickers as unauthenticated in the db and it should work media: require_auth_for_media: false
Is that the flag you're referencing
| 16:44:18 |
tulir | no | 16:45:35 |
tulir | in the local_media_repository table, each item has an authenticated column which can be set to false | 16:46:00 |
Frisk | In reply to @kurohana:kurohana.social Also since you mentioned gomuks web, is that simply an alternative front end for matrix synapse I think it's just a Matrix client that can interact with a Matrix server. If you call a client front-end to a server I guess that would work. | 16:47:21 |
tulir | yeah gomuks web is a matrix client like element | 16:49:29 |
tulir | so it's technically a frontend for synapse, but calling it that isn't entirely accurate, there's nothing specific to synapse | 16:50:00 |
Frisk | That's why we have protocols, so it can speak to any server that speaks same protocol after all :> | 16:50:40 |
kurohana | Thanks for correcting me. Out of curiosity, how do stickers appear on | 16:50:56 |
kurohana | * Thanks for correcting me. Out of curiosity, how do stickers appear on gomuks web | 16:51:07 |
kurohana | Looks nice, gives me IRC vibes | 16:51:31 |
tulir |  Download image.png | 16:51:34 |
Frisk | In reply to @tulir:maunium.net sent an image. I suppose those are MSC2545? | 16:52:05 |
kurohana | oh cool! thumbnails work on your end as well | 16:52:18 |
tulir | yes | 16:52:32 |
Frisk | yeahhh, don't think there is a client except Element adjacent that supports widget stickers | 16:52:52 |
tulir | maunium-stickerpicker packs can be converted to the MSC2545 format easily, just cat pack.json | jq '{images: .stickers, pack: {display_name: .title, usage: ["sticker"]}}' | 16:53:00 |
kurohana | I'll give that a shot | 16:53:28 |
tulir | stickers are cool and all, but custom emojis are much more fun | 16:54:36 |
kurohana | They really are | 16:54:55 |
kurohana | how did you do that with gomuks web lol | 16:55:38 |
Frisk | Just in case you don't know, MSC2545 is a different standard for stickers, what Element clients use is widget based sticker - they embed a webpage and by interacting with that webpage you can put stuff into Matrix room/chat. The standard we mentioned is a different approach - a room stores data about emojis and stickers and Matrix client fetches it from a room (oversimplification). This also avoids the issue with authenticated media that you have because client renders stickers already authenticated, where the widget is technically separate page asking for those stickers. | 16:56:06 |
tulir | MSC2545 packs are stored in rooms, so you join a room with a pack (or make one), then use the emoji or sticker picker to subscribe to the pack | 16:56:14 |
tulir | (#gomuks:maunium.net for gomuks discussion) | 16:57:09 |
kurohana | In reply to @frisk:frisk.space Just in case you don't know, MSC2545 is a different standard for stickers, what Element clients use is widget based sticker - they embed a webpage and by interacting with that webpage you can put stuff into Matrix room/chat. The standard we mentioned is a different approach - a room stores data about emojis and stickers and Matrix client fetches it from a room (oversimplification). This also avoids the issue with authenticated media that you have because client renders stickers already authenticated, where the widget is technically separate page asking for those stickers. Seems like a way better approach! gomuks web helps with that from the client side? | 17:09:53 |
kurohana | Redacted or Malformed Event | 17:11:44 |
kurohana | I couldn't get the thumbnails to work on my end. I have a feeling using static files in the Github Pages will fix it though | 17:11:46 |