Follow

isCat is exactly the kind of thing forking mastodon or even its forks is good for

is it a good idea for upstream? probably not. for Glitch Edition? also probably not!

for GlitchCat though? i mean it’s probably at least a bit of effort but we can do what we want

@aescling isCat is exactly why we need good, forkable mastodon clients in addition to servers

@aescling like i fully want Lune to have support for transforming accounts via profile metadata in a modular way and that's a big reason why i've designed Baron the way i have

a simple module that listens for an account update event, checks its metadata, and assigns a property based on what it finds there is exactly the kind of thing i want to enable

@aescling and it should be possible via a userscript! with very little effort!

@aescling

document[Baron.symbol].register(
Lune.accountUpdate,
(account) => {
if (isCatIRI in account.metadata) {
account.isCat = !/^(?:no|false)?$/iu.test(account.metadata[isCatIRI]);
}
},
);

document[Baron.symbol][Lune.elements].account = IsMaybeCatAccountElement;

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.