Hello!

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?

@hikarulsi@lemmy.world
link
fedilink
English
21Y

Only three options for now:

  • Subscribed: only what you subscribed to
  • Local: that instance only, empty if there isn’t a single community
  • All: shows all the federated

So all should be showing all from my understanding

@raphael@lemmy.mira.pm
link
fedilink
English
2
edit-2
1Y

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.

@Belgdore@lemm.ee
link
fedilink
English
01Y

How do 3rd party hosted instances show more than subscriptions in the all tab?

@raphael@lemmy.mira.pm
link
fedilink
English
21Y

I would say in that case they have multiple users, then the tab will show all topics that any of them is subscribed to. It will also show topics that were subscribed to in the past or searched for I think.

All will only show the federated instances, he would have to manually search and subscribe if he wanted to see anything iirc

redcalcium
link
fedilink
English
31Y

That’s exactly what happen in my personal instance.

Xiphorang
link
fedilink
41Y

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.

Kaldo
link
fedilink
11Y

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.

madeofstown
link
fedilink
English
21Y

I’ve been wondering the same thing. Hopefully someone knows a solution.

🇺🇦 seirim
link
fedilink
English
21Y

Also wishing for an easier way to do this, manually subscribed to many to help populate our small instance.

retiolus
link
fedilink
21Y

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.

Jamie
link
fedilink
31Y

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.

If you do happen to release an alpha publicly, please do be sure to post it somewhere here - I’d love to take a look at it!

That’s neat. Is the idea that the bot user would enumerate and then subscribe to the communities found through the Lemmy API?

Jamie
link
fedilink
11Y

Pretty much, that would force federation. Though I don’t think users in the other community would see your communities until someone from there searched one of yours.

An idea I have is giving small communities an option to run the bot on their instance, and it would add them to a list. Then, communities voluntarily participating in that list could auto-populate each other’s communities through the bot. I could see spammers abusing something like this to try and flood feeds with garbage content until they’re defederated though, especially on instances with open registration, so there is a downside. But that’s something the community of proper users will need to be prepared to fight down the road.

@Lauchmelder@feddit.de
creator
link
fedilink
01Y

Ah, so someone needs to be actually subscribed to a community for their content to show up in All?

Alright I guess I’ll have to write a simple Bot that can do that for me then

retiolus
link
fedilink
21Y

If you’re comfortable with Python, you can try this out: Lemmy.py

@Lauchmelder@feddit.de
creator
link
fedilink
21Y

I’ll give it a shot :) If I manage to make something useful I’ll share it

I’d like something like this too, if you get somewhere please let me know!

Eskuero
link
fedilink
English
11Y

You have to search them up at least once so they fill some posts, but if you want comments somebody from your instance has to be actively subscribed:

There are directories of all the fediverse like https://browse.feddit.de/ that can help you discover easier.

@dill@lemmy.one
link
fedilink
English
01Y

Could you in theory just have a bot user that subs to all known instances?

mirisbowring
link
fedilink
English
21Y

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

lixus98
link
fedilink
11Y

Yes, it is, might have a look at this, I don’t think is too hard to make

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.5K Posts
  • 70K Comments
  • Modlog