This thread is coming from Lemmy.ml as you can see from the @ sign.
If you click all you will get some federated content. Local is all without other instances
Ancient Eastern Demon. Sealed by the late emperor with a blood seal during the Zhou Dynasty. Masterofballs was accidentally released from his prison under Tiananmen square in 1989.
Now free to spread his Chaos across the fediverse.
Favorite foods: Raw Donkey meat and rice wine.
This thread is coming from Lemmy.ml as you can see from the @ sign.
If you click all you will get some federated content. Local is all without other instances
I’ll make a issue later but front page sort options should be cached in local storage so that if I click comments on a thread and comeback I don’t have to reset my filters.
Lots of mod tool improvements could be made. I need to read over the issue list and pick one to work on.
I still don’t think it’s a great idea to get an entire large community at once. Ill play with trying an entire large community like memes later when I get a minute. Either way the way I have it you can still specify a really large limit. Pass in 700 and it will attempt 700 at once. Pass in 50 and it will do it in chunks of 50. In either case it will get the entire community and not stop at the number provided .
edit: Manages to get all 601 post from /c/memes in a few seconds. Which is cool. I’m just gonna make the default page size at like 100 instead of 10.
You dont want to get 1,000 post in one request. Im not even sure lemmy would allow that. Im not sure what you mean by no control. It’s downloading an entire community.
And yes you want to make additional request so it doesn’t timeout.
I put paging back so large communities won’t use up to much memory. I made limit optional and it default at 10 so it will download 10 at a time. I like how you changed it to download all images. It’s all merged. Gonna try to add a basic license tonight too.
looks good thanks. I’ll merge this!
Which one you want in it?
Pics title and body. Not any pictures uploaded within the body. And no comments yet. All these could be added.
this does back up the most important bits and was pretty minimal in effort
It currently downloads a entire community and not a single user. I guess we could add that if that’s more interesting to you.
Forgive me for being to dumb; it just doesn’t seem as clear as something like swagger
You link to some Java script instead of full path ways.
Listing a few curl examples would go a long way to making the api more understandable IMO.
But maybe I’m just to dumb to understand.
Docs are pretty bad, let me give you a start,
To get the first page of post of a community,
curl "https://lemmy.ml/api/v3/post/list?community_name=lemmy&limit=2&page=1"
You can paste that json object in a formater somewhere to get an idea of the shape of the data.
To find the other endpoints ignore the javascript docs. They are to hard to read.
Look at, the api_routes file. https://github.com/LemmyNet/lemmy/blob/main/src/api_routes.rs
Now you should be able to put two and two together to get the whole picture.
Maui is a UI framework for KDE apps primarily aimed at smart phones or convergent applications. This is basically a whole desktop environment using Maui. Like a fork of KDE for smart phones and tablets.