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
      link
      36 months ago

      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.

      • @[email protected]
        link
        fedilink
        26 months ago

        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
          link
          36 months ago

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

    • Shadow
      link
      fedilink
      4
      edit-2
      6 months ago

      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
        link
        fedilink
        46 months ago

        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

  • Andrew
    link
    fedilink
    English
    16 months ago

    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♀
    link
    fedilink
    16 months ago

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

  • Simon Müller
    link
    fedilink
    16 months ago

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