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

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

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)

@maloki it's so convenient to be able to mix&match stuff I already wrote for other projects :D

@f0x how dare @gotosocial boost this While we're having time off! 😭

@maloki @gotosocial im going to steal the userbase while the stinkies are on holiday 😈​

Sign in to participate in the conversation
Pixietown

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