Hi,

I want to export all of my data including all the post, comment, post I upvoted, list of communities I subscribed to, log of my IP address, all of my logins. In short all the data I gave to the instance I am using.

is there a way to export all of these data to a JSON file or something?

Thank you in advance!

    • tabletti
      arrow-up
      3
      arrow-down
      0
      ·
      5 months ago
      link
      fedilink

      Maybe I’m in over my head, but I’ve been learning rust for a few months, and this seems like a fun thing to implement.

      • rufus
        arrow-up
        2
        arrow-down
        0
        ·
        5 months ago
        link
        fedilink

        Go Ahead. I’m still struggling to find the time to learn Rust. I read the first few chapters of the book, but I’m a bit stuck due to too many side-projects. 😆

        With Lemmy, I’d advise you to ask first. Lots of open-source projects gladly accept merge requests But I think the Lemmy developers/community is a bit different. As far as I know a few people have been burned because they put in days of work and their requests didn’t get accepted. That shouldn’t stop you, I’d just say ask the devs first so you don’t waste your time.

        • tabletti
          arrow-up
          3
          arrow-down
          0
          ·
          5 months ago
          link
          fedilink

          Thanks for letting me know. I’ll definitely ask them first. Good luck with your side projects 😁

    • Shadow
      arrow-up
      4
      arrow-down
      0
      ·
      5 months ago
      edit-2
      5 months ago
      link
      fedilink

      I’m happy to export your data for you from the database if you want it, but I don’t have an easy way to do that beyond writing queries by hand for each table. Is there some subset specifically that you’re looking for?

      We don’t log any IP addresses except web server access logs temporarily, and we can’t identify which log entries are which users. There’s no login history in the DB, it doesn’t even log the last login for a user.

      If you’re willing to write the queries for the data you want, I don’t mind reviewing them and then giving you the output.

      • whoareuOP
        arrow-up
        4
        arrow-down
        0
        ·
        5 months ago
        link
        fedilink

        since you don’t log IP addresses I can get most of the stuff using Lemmy api. no need to write SQL queries.

        Thank you for the response <3

  • AndrewEnglish
    arrow-up
    1
    arrow-down
    0
    ·
    5 months ago
    link
    fedilink

    You can get a lot of that through Lemmy’s API

    I imagine that only the admins can give you logs of logins and IP addresses though.

  • Toes♀
    arrow-up
    1
    arrow-down
    0
    ·
    5 months ago
    link
    fedilink

    Probably best to ask the admin on their own instance about that.

  • Simon Müller
    arrow-up
    1
    arrow-down
    0
    ·
    5 months ago
    link
    fedilink

    Generally, if your admin set something like that up, they will have instructions in their privacy policy.