Which distro
let's see what art the fediverse produces this year
~~> huh? Even with the context I don't get it.~~
~~> Aaah, now that's good context. Thanks Blaze.~~
~~It's literally the same context that was linked to in the post?~~
~~...unless the post was edited to contain the dbzero link after your post. If that is the case, my bad.~~
edit: yes, that's it. Mb, ignore this.
The most similar and FOSS one is Revolt (revolt.chat).
The next Lemmy release so I can finally continue with my Lemmy bot.
#FFFFFF at 0, 6
because nobody needed such a thing until now?
I mean, as long as the bigger instances (that are also federated with lemm.ee, e.g. lemmy.world) stay, then your content is already "archived". Unless you choose to delete your account explicitly (which probably some instances will ignore anyway), your content will stay.
- you create a function with a page parameter and call the /user endpoint with a bearer auth header. page argument should be 1 at first call.
- using some library (or I think requests already has deserialization of JSON) you convert the JSON into some pythonic data type (e.g. dictionaries).
- exit the function when the length of posts and comments is 0.
- otherwise loop through the posts and comments arrays with a for loop
- on each iteration, serialize the dictionary to JSON and save it to some file
- increase the page counter by 1
- call the same function at the end of the function and pass in the page counter (which was increased by 1 previously). this is called recursion.
You don't need to "study" the API. The only thing you need is the /user
API endpoint: https://mv-gh.github.io/lemmy_openapi_spec/#tag/User
Just make a simple script (with bash or something) and go through your post/comment history via the API. Save the JSON of the posts/comments somewhere.
#FFFFFF at 5,6