Maybe checkout Pixelfed, which is (from what I gather) similar to what instagram was 10 years ago
- 5 Posts
- 112 Comments
verstra@programming.devto Selfhosted@lemmy.world•MAZANOKE v1.1.5: Self-hosted local image optimizer in your browser — now supports TIFF, ICO, basic auth (featured on Tailscale, LINUX Unplugged, Selfh.st)English1·1 month agoRust will take time - it has a few concept that I haven’t seen in javascript/python/java/C++ family of languages. But it gives “zero-cost abstractions” i.e. a way to write high-level code without any performance penalty. And it has great tooling and WASM support, which is what you’d be after.
But as I said, it is all not worth it now, just for this application.
verstra@programming.devto Selfhosted@lemmy.world•MAZANOKE v1.1.5: Self-hosted local image optimizer in your browser — now supports TIFF, ICO, basic auth (featured on Tailscale, LINUX Unplugged, Selfh.st)English1·1 month agoFrom what I read, it could easily be a tauri app, without a backend: just
index.html
in your system’s webview.
verstra@programming.devto Selfhosted@lemmy.world•MAZANOKE v1.1.5: Self-hosted local image optimizer in your browser — now supports TIFF, ICO, basic auth (featured on Tailscale, LINUX Unplugged, Selfh.st)English1·1 month agoI did also forget to say it does look very nice, with animations and proper polish!
verstra@programming.devto Selfhosted@lemmy.world•MAZANOKE v1.1.5: Self-hosted local image optimizer in your browser — now supports TIFF, ICO, basic auth (featured on Tailscale, LINUX Unplugged, Selfh.st)English1·1 month agoIf you do delve into improving the performance, I suggest using Rust and
no_std
crates for dealing with images, such as https://docs.rs/zune-jpeg/latest/zune_jpeg/.It would probably take some time to get it working, but it would probably increase performance and support any format you can find a crate for. But it does not seem like it’s worth it.
I’ll add this to my list of “things I might to when I don’t have a side project to waste my time on” :D
Any language feature with such a long definition is a bad language feature.
The less such features, the better the language.
Thus, javascript is not a “good” language for expressing your programs.
verstra@programming.devto Selfhosted@lemmy.world•MAZANOKE v1.1.5: Self-hosted local image optimizer in your browser — now supports TIFF, ICO, basic auth (featured on Tailscale, LINUX Unplugged, Selfh.st)English4·1 month agoIf you are interested (and can pull together a bit of funding) I can look into how we could do this optimization in WASM.
verstra@programming.devto Selfhosted@lemmy.world•MAZANOKE v1.1.5: Self-hosted local image optimizer in your browser — now supports TIFF, ICO, basic auth (featured on Tailscale, LINUX Unplugged, Selfh.st)English7·1 month agoIt’s JavaScript.
And it is slow, but not as slow as I expected it to be. I’ve optimized a photo I’ve taken with my DSLR, 6.3MB, 24MP, JPEG. It has taken ~50sec on this phone, in Firefox.
I know, it’s a phone, but also, my phone can and does save, optimize, and apply filters to such images in <1sec.
verstra@programming.devto Selfhosted@lemmy.world•MAZANOKE v1.1.5: Self-hosted local image optimizer in your browser — now supports TIFF, ICO, basic auth (featured on Tailscale, LINUX Unplugged, Selfh.st)English3·1 month agoWait, how does this work in-browser? Does it send the photos to the local server where image magick does the job, or is it using javascript to read/write images, or does it contain WASM to do that?
We could have a tag for things like this (if tags are a thing on lemmy) or a required prefix, such as "Software release: ".
I do like to see an announcement for things I use and have slow release schedule.
Have you erased the continuation of the message that is saying something about “similar names, but are actually two distinct types”?
It is a common error if you have two dependecies that export the same third dependency and your code makes an assumption that the versions of the third dep match.
All other languages either straight-up don’t support multiple versions of the same dep, or throw random errors at runtime. So this message is a consequence of rust supporting things that other langs only dream of.
verstra@programming.devto Selfhosted@lemmy.world•First server: Buying hardware in a developing countryEnglish101·1 month agoHmmm, I repurposed an old PC of mine, only buying large WD red HDDs. If I were to expand, I’d ask friends/family if anyone has an old box to sell. And maybe buy a server rack. Second option would be “used goods websites” and only after that I would be looking to buy new.
That’s because jellyfin+immich+planka+a few static websites really don’t need that much compute power. The heaviest work to be done is playing a movie, which could be done by a laptop. Unless you are planning for many users to use the server at the same time.
I live in slovenia
verstra@programming.devto Technology@beehaw.org•Google hits back after Apple exec says AI is hurting search17·2 months agosus of them to drop the slogan “don’t be evil”
Interestingly, the name of cat command comes from “concatenate”, which implies that the original purpose of the command was to concatenate byte streams into one. But for me, it is now just the command that “prints a file”
Apparently, PHP has a low threshold for making something an “official” api
Gender PHP extension is a port of the gender.c program … The main purpose is to find out the gender of firstnames.
As of why, you don’t need a why in open source. Some people treat gender as a function of their firstname, apparently, and need that information somewhere - maybe for localization, maybe for personalization, maybe for form-filling auto-suggestion purposes.
ELI5?
Climbing helped. If you say “I’m too old for that” it is joe ver for you already
Fun fact: in rust and python, they use “selfself” instead of “meme”