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@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      7 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.

      • rufus@discuss.tchncs.de
        link
        fedilink
        arrow-up
        2
        ·
        7 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@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          7 months ago

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

    • Shadow@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      7 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.

      • whoareu@lemmy.caOP
        link
        fedilink
        arrow-up
        4
        ·
        7 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

  • Toes♀
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

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

  • Andrew@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 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.