Show newer

Shield demo video, mostly so I can link it in the article i'm writing about it

Informed consent? Never heard of it!

github.com/mastodon/mastodon/i

but uhh, number go up, so surely everyone wants to publicly expose more data, even with `AUTHORIZED_FETCH` and `DISALLOW_UNAUTHENTICATED_API_ACCESS`

Some wild optimistic caching for , streamed render of stale data if available, updated with new data through the same http connection when returned by the actual instance

fedifox-shield-dev.pixie.town/

git.pixie.town/f0x/fedifox-shi

Also React 18's Suspense and serverside rendered response streaming is super cool, it allows out-of-order sending of the rendered page, where some things take longer to load than others (because they have to do various requests to the Mastodon backend)

Show thread

Central to the design is that it authenticates as a local account on the instance, so you can run it with `DISALLOW_UNAUTHENTICATED_API_ACCESS`
(which would totally break the entire new frontend), and still have functional public profile and thread pages.
This also allows introducing more configurability and more consent, like letting users choose if they want to include unlisted statuses, or even show their profile publicly at all

Show thread

Finally worked some more on , my project to write a protective layer of sorts around Mastodon 4.x' newly way too exposed API

Code is a sprawling mess, but i'm also using this as a playground for some new tech, like streamed server-side React rendering with Suspense

git.pixie.town/f0x/fedifox-shi

I wrote this code at the very end of a too long coding session and uhh, it shows

surprisingly complex to deal with (indeterminate) checkbox groups!

(also sneak peek at an upcoming feature :D)

Show older
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.