Is there a search parameter to get a list of communities?

  • gigachad@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 days ago

    It was asked before and it is not easily possible because of how Lemmy works. Your home instance only federates to communities another user from your instance has searched before and subscribed. If that didn’t happen, the community is unknown to your instance and therefore can’t be shown. You can of course get a list of communities when accessing an instance via Lemmy UI through itself, so by accessing https://lemmy/ world for example. To integrate that view into Voyager, I guess you would need to implement some kind of “guest system”. AFAIK it is not implemented atm, but have a look on the repo, I bet there exists an issue addressing this already.

    • quediuspayu@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 days ago

      First thing I tried. Searching lemmy.world and hitting the “search communities” option returns only those that have “lemmy.world” in their description independently of the instance. Searching @lemmy.world and hitting communities again returns no results.

      Somewhere I read a two year old post that there was the option instance:lemmy.world to limit the search to that instance but doesn’t seem to work.

        • quediuspayu@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          8 days ago

          Yes, that works as intended.

          Sorry, sometimes I try to be so concise that I drop all the details. What I’m trying to do is browse the communities of a single instance. Like when you hit the explore button in the search tab and you can see a long list of communities from all instances, then there’s an option to see only those in your instance.

          What I’m trying to find out is if there is something to type in the search bar that would return all the communities from one arbitrary instance.