I've been thinking about hosting my own Lemmy instance, but wonder if there's an easy way to federate with other communities/instances. I like to browse the "All" tab, but that tab would be empty on a self-hosted instance I imagine.
Is there a way to get all communities of certain instances in my All feed? Or do I have to search up each individual community manually once?
i did that partially. I have a bit user subscribed to many communities. Unfortunately that is a fully manual task - currently i don’t have an automated way of doing this
You probably don't want to do this. Just sub to all the communities you want in your self hosted instance. Remember that you can browse communities from different instances on your home instance. My understanding about the default behavior of lemmy and most federated apps is that instances will federate to new instances that request them to by default. Unless your instance is actively being blocked from another instance, it should work. Someone correct me if I am wrong.
Over on Mastodon, there are relays you can sub to to help populate things. I don't think there's any such functionality in this corner of the fediverse yet, but it's surely only a matter of time.
I don't think there's a way of doing this automatically at the moment.
With Lemmy's API you could set up a bot that takes care of listing all the local communities on a remote server and then searching them from yours, which would make them appear in your search results.
But if you want the publications of this remote community to federate with your server, you need to have a local user subscribed to it.
I'm working on a Rust API wrapper around the existing common API to make it easier to use. Implemented the calls that could let someone do this exact thing at scale last night.
It's nowhere near ready for production and is still missing a lot of basic API functionality even for a simple bot, but I think it'll be ready to publicly release in an alpha state within the next couple days.
I really wish there was an easy way to export and import a list of communities@domain that you can then transfer to another account. It would make it very easy to just add a bunch of content to a freshly created instance like you're talking about, once you subscribe to communities your instance will start getting updates from them and your "All" tab will get populated.
For now you have to do it manually unfortunately, afaik.
Subscribed and All will show the same for a selfhosted single instance, as 'All' will only show communities, that someone on the server is subscribed to. Which is only those of yourself if you are the only person on the server.
I don't know how it works on lemmy. But on Pixelfed after you successfully federate with Mastodon.social or any other instances. It will automatically start discovering new instances and federate with them.