instance software nerds: how hard would it be for the different microblogging-focused fediverse softwares to configure an instance in Emojli mode? that is to say: so post body text (as opposed to content warning and media description) of any post made on instance must consist entirely of emojis?

I know there have been Mastodon instances with similar constrained-writing restrictions, but I don't know how hard that was, or how hard it would be on Misskey or GoToSocial or whatever.

@Packbat i am near certain it would be simple to patch mastodon (upstream or not) to maintain such a restriction

@Packbat yeah you'd just add a validation step in PostStatusService.call and the logic fur that---while i couldn't write right now off the top of my head---should be pretty simple. you might need a unicode/emoji library

if you look at fur example, PostStatusService.validate_media!, invoked at line 43, defined here, it just throws Mastodon::ValidationErrors (implicitly forcing post creation to fail) as required; you'd just do a check fur whether there’s a non-emoji and throw as needed

Follow

@Packbat i am assuming doing such a check is easy ofc but i can't imagine it wouldn't be

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.