Points at the instance an account from another gerbeur comes from, its home, where its password, email, avatar and name are changed. Such a user's handle here is name@host (splitHandle); the profile, the settings and the /authorize page read it through these.

Functions

f
homeHost(handle: string): string | undefined

Returns the host of handle's home instance, or undefined for a local user.

f
homeUrl(
handle: string,
path?: string
): string | null

Returns a link to path on handle's home instance, their profile there by default, or null for a local user. The host in a handle is the home's API, not necessarily its pages, so the link goes through GET /api/users/:key/home, which redirects to them.

f
isSelfHost(host: string): boolean

Checks whether host, as a handle writes it, is this instance's: its API's, which handles carry, or its pages'. Another instance writes this one's users with it.