masterofballs

joined 3 years ago
[–] [email protected] 1 points 3 years ago

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.

[–] [email protected] 0 points 3 years ago

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

[–] [email protected] 6 points 3 years ago

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.

 

As I explore the lemmy code base I'm documenting what I learn for other's so they may find it useful.

I like to mount code into a docker container and run cargo from the terminal.

The docker run instructions for lemmy in the docs are great but it requires a user to rebuild the rust container to see changes.

We can use volumes to just use cargo directly in the terminal.

This repo shows a tutorial of how i'm running lemmy and how you can use vscode to bring up a complete development environment.

It's based on the regular docker environment. The difference being it gives you a complete Arch linux development environment you can mount in the terminal or directly in vscode.

Hope someone finds it useful.

[–] [email protected] 5 points 3 years ago

Lots of mod tool improvements could be made. I need to read over the issue list and pick one to work on.

[–] [email protected] 1 points 3 years ago

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 .

[–] [email protected] 1 points 3 years ago* (last edited 3 years ago) (2 children)

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.

[–] [email protected] 1 points 3 years ago (4 children)

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.

[–] [email protected] 1 points 3 years ago

looks good thanks. I'll merge this!

[–] [email protected] 1 points 3 years ago (1 children)

Which one you want in it?

[–] [email protected] 2 points 3 years ago

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

[–] [email protected] 1 points 3 years ago (2 children)

It currently downloads a entire community and not a single user. I guess we could add that if that's more interesting to you.

13
submitted 3 years ago* (last edited 3 years ago) by [email protected] to c/[email protected]
 

Hi lemmy; I've made a program that will download all the post and images for a lemmy community. It downloads them into a html file. This way users don't have to worry about losing all their post because they can download the whole community themselves.

Demo https://files.catbox.moe/8wgbm4.mp4

I hope someone finds this useful. Someone asked me for it so I provided it.

[–] [email protected] 1 points 3 years ago

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.

view more: next ›