dimkr / tootik

A federated nanoblogging service with a Gemini frontend.
gemini://hd.206267.xyz
Apache License 2.0
95 stars 3 forks source link

Request: is it possible to add a 4th level, local accounts? #61

Open edumerco opened 2 months ago

edumerco commented 2 months ago

Hi. Thank you very much for sharing this beautiful and simple tool. :)

I'd like to know how much effort (or concept breaking) would it be to add another level of privacy, inspired in a great feature of Hometown?

As you clearly state, today we have 3 privacy levels:

In Hometown, there is "community" between Public and followers, which means all accounts in the same instance. This allows the instance to become a campfire, a cozy web to gather and talk.

Be it possible or not, thank you very much for linking these worlds. :)

Best...

dimkr commented 2 months ago

@edumerco I think this can be done by adding a fourth kind of posts: public posts that simply don't federate no matter what (never sent to other servers - even if shared, etc') and can't be fetched by other servers. Shouldn't be hard.

edumerco commented 2 months ago

Ah, beautiful, thank you very much.... :) Will follow this. Congratulations for the job, and thank you for sharing it. =)

dimkr commented 2 months ago

I started working on a new 'communities' feature (in https://github.com/dimkr/tootik/tree/hub), it allows the server admin to define special 'community' users that share posts (and replies) by following users with other followers. This should allow local users with a shared interest to discuss it in a separate 'space', and users on other servers can join the discussion by 'joining' the community.

(It's very similar to how Lemmy groups work.)

edumerco commented 2 months ago

Seems great! It is not as a new publication level, but it could work for the same purpose. Do they work as regular users/accounts? For example, if the admin creates a "Caturday" community account, any community user types " @cat" and Caturday appears as any other account like "Catalina"? Or it is there any kind of control of the visibility of those accounts?

Other question: do a default community account that it is all local accounts is created for each instance?

Best... :)

dimkr commented 2 months ago

Seems great! It is not as a new publication level, but it could work for the same purpose.

Exactly!

Do they work as regular users/accounts? For example, if the admin creates a "Caturday" community account, any community user types " @cat" and Caturday appears as any other account like "Catalina"? Or it is there any kind of control of the visibility of those accounts?

Yes, a community is just a special kind of user. They're "public" just like other users - you only need to know the username (and the instance domain) to find the community.

Other question: do a default community account that it is all local accounts is created for each instance?

Currently no, but I'm thinking about adding a special community named "local" that's automatically followed by new users.