26
submitted 1 month ago by [email protected] to c/[email protected]

always wondered this, but kept forgetting to post it

eg users would be on @[email protected] and a community would be on @[email protected] or something like that

then it would still follow the AP spec but still allow for identical identifiers (like a user account being @[email protected] and a community also being [[email protected]](/c/[email protected]))

top 13 comments
sorted by: hot top controversial new old
[-] [email protected] 27 points 1 month ago

As an instance owner, the amount of overhead to support that would be nuts for me. Each subdomain would have to have DNS routed to it, or a wildcard which isn't the best supported. On top of that I'd need to somehow manage certs in a way where when the software detects a new community it'd have to ask for a new cert and broadcast the new domain to everyone. Then what do you do about communities from other instances on your instance?

What is being done is the right way. We use DNS to tell us different services/hosts. We use the path to tell us a subsection of the same service

[-] [email protected] 8 points 1 month ago

TLS certs can have one level of wildcard (even let's encrypt supports this), and creating subdomains programmatically is not exactly black magic - the main blocker from the technical side is that the code to update the DNS is usually not portable between providers, so it's not adequate for a federated open source project.

[-] [email protected] 4 points 1 month ago

not every community would have it's own subdomain, no

community actors would just have the hostname part be a different domain eg

users:

communities:

[-] [email protected] 3 points 1 month ago

That is how it's done though, the syntax for communities can be searched for with [[email protected]](/c/[email protected]). It's just not part of DNS.

[-] [email protected] 3 points 1 month ago

but if you search a community up on another fedi platform, it won't always pick the community or the user (if they have the same name)

as far as the other platforms know, there's one actor but points to two different accounts

afaik the webfinger spec doesn't allow for multiple actors having the same identifier, like how lemmy does it (here's what gets returned when a username matches a community and user)

[-] [email protected] 4 points 1 month ago

And that's why users get @user and communities are !community. I'm not sure what you're asking for tbh, I think the current system works fine, searching could be easier, but I haven't seen anyone confused by the difference there.

Nested DNS is a pain, and not really what it's meant to do, that's why we don't use nested DNS. If you take DNS away as a solution (because it's not really one), then what is currently happening makes a lot of sense.

[-] [email protected] 4 points 1 month ago

@user works on all fediverse platforms, but !community does not

i was proposing for this to be a possible solution to make it work across all existing platforms w/o requiring all the other platforms to support lemmy's system

[-] [email protected] 6 points 1 month ago

Ohhkay I finally get what you're suggesting now. From something like Mastodon there's no clear way to specify.

Ehh, something to be solved but not a huge deal IMO. I think it'd have to be something custom, as there's no concept on Mastodon like Lemmy's communities, but I still stand by DNS isn't the way to solve it. Mixing it in with a hashtag might be a good way, where if you could "subscribe" to a hashtag over there, like #[email protected], but then we're just talking about syntax. I actually do think there needs to be a standardization on "groups" then across the fediverse, and since Lemmy is the only one I've seen with a group syntax, I'd just suggest we standardize !

[-] [email protected] 8 points 1 month ago

possibly because lemmy instances can themselves be hosted on subdomains

[-] [email protected] 2 points 1 month ago

how I was thinking about it the instance owners would pick the subdomain the communities would be placed on, everything would still route through the main host but external interactions (like following a community) would be routed through the subdomain

eg for blahaj.zone's lemmy instance it could be setup as users sending in @lemmy.blahaj.zone and communities ending in @group.lemmy.blahaj.zone or something like that

[-] [email protected] 4 points 1 month ago

I dunno about Mastodon, but Pixelfed says they're working on a "groups" feature which should be compatible with Lemmy communities. It'll be interesting to see how they solve this issue—if they do address it at all.

[-] [email protected] 4 points 1 month ago

That would make community names a bit longer so they'd be more annoying to type and share?

[-] [email protected] 2 points 1 month ago

if using lemmy, it could automatically make this change

this would primarily be used by other fedi platforms to easily differentiate community & users

eg if i followed @[email protected] on mastodon it would for sure follow [email protected] and not @[email protected] (an account with the same identifier)

this post was submitted on 02 Jun 2024
26 points (86.1% liked)

Lemmy

12306 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to [email protected].

founded 4 years ago
MODERATORS