Skip to content

Instantly share code, notes, and snippets.

View nullium21's full-sized avatar

Isidora Lina nullium21

View GitHub Profile
#include <stdlib.h>
#include <stddef.h>
component *component_new(uint32_t magic, component *next) {
component *this = malloc(sizeof(component));
this->magic = magic; this->next = next;
return this;
}
component *component_get(component *list, uint32_t magic) {
@nullium21
nullium21 / Fediverse Identity Servers.md
Last active June 18, 2023 18:47
Write-up on an idea of "identity servers" used with ActivityPub-enabled social networks to have a central, easily verifiable identity with keys for every social link a person has.

Identity Servers

This document is based on a Mastodon thread where I've suggested a concept of "identity servers" that'd contain the neccessary data to use a single profile with many Fediverse services at the same time, eliminating the need to create multiple accounts with separate data if you wish to use, for example, Mastodon for microblogging and a self-hosted platform for an actual personal blog. Right now that'd require the person to register on both servers: say, @lina@mastodon.social and @lina@blog.lina.moe, and if a user wants to follow you for both your blog and your shitposts they have to do that for both accounts. Also this is probably one of the reasons ActivityPub/ActivityStreams has a definition for a Move activity that basically tells your current followers to replace this entry with another one, that has a different name and/or host.

Implementation Details

This, in its or