So, I’ve started my own Lemmy instance. The main issue is that right now, I am the only user, which makes it pretty easy for anyone to see what kinds of communities I visited, or am subscribed to. Is there any way to automate creation of some amount of accounts, and subscribing to random communities?

  • You could disable web interface access to block easy scraping. Unauthenticated users only need a few ActivityPub routes with very specific Content-Types to make federation work.

    You can put the web UI and Lemmy API behind some kind of auth screen (you can use Caddy or Apache+OpenID to block access to URLs in your proxy unless the user is authenticated, of example) but that would break most apps. You could also whitelist your personal IP range or require a VPN for the frontend.

    Your comment history will be visible to other servers so you’ll probably spread information that way. I can think of workarounds but they require patching the Lemmy source code. You could probably patch the Lemmy code to pick a random username for each comment to block other servers from tracking your comment history as easily (though server admins can still get all the comments for your domain, of course). Alternatively, you could make implement a 4chan-style “everyone is anonymous” system where all accounts turn into @anonymous@yourserver.tld after posting by faking the data that gets rendered to the frontend. If you allow multiple people on your server, you’d all appear (and get banned/moderated) as one single user, but probably without breaking functionality (because the local database can still keep track of who actually owns what posts).

    I think hiding the web UI and Lemmy API would probably block most scrapers. You can also mess with scrapers (feed the web UI fake data when an unauthenticated user queries it) if you really want. Your post history cached on other servers will be your biggest privacy challenge.

    • three@lemm.ee
      link
      fedilink
      arrow-up
      12
      arrow-down
      2
      ·
      1 year ago

      clicks username

      views comments you’ve posted

      walla my egyptian friend

      • Saik0@lemmy.saik0.com
        link
        fedilink
        English
        arrow-up
        7
        ·
        1 year ago

        … okay? But if i subscribe to every lemmynsfw community, but never post to them… you’d have no idea.

        With your own instance, looking at the instance list will show them all to anyone.

          • This isn’t entitely true. I sometimes see communities I’m not subscribed to pop up on my server. I think it has to do with making the server look up a community by clicking on a link to it? I think one of the frontend I’ve tried prefetches links or something, because I’ve had to get rid of a few NSFW communities in my server that appeared without me subscribing to them.

            Most of the communities in the public list are indeed the ones a servers sole user is subscribed to for personal instances.

            • tarjeezy@lemmy.ca
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              Oh that’s interesting. I guess when your instance creates a local copy of the post, it would also add the corresponding community to the list to match.

    • Otter@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Maybe by monitoring federation data, or seeing which communities have been fetched?

      I know that if you’re the first person in an instance to look at a community, it won’t load right away. However I’m not sure how someone would monitor that (or why they would want to)

      • can@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        edit-2
        1 year ago

        If there’s only one user that instance’s “all” feed will be indistinguishable from the user’s subscription feed.

        (unless you do some community seeding)

  • PeachMan@lemmy.one
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    Why do you need to automate it and do multiple decoy accounts? Can’t you just make a single account and use it to subscribe to a bunch of the biggest communities?

  • ono@lemmy.ca
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 year ago

    If your concern is about your instance’s publicly-visible /instances list, can’t you just make it private? Or even make the entire web interface private? You’re the boss, after all.