90
submitted 3 days ago* (last edited 3 days ago) by lent9004@lemmy.world to c/selfhosted@lemmy.world

MAZANOKE is a simple image compressor and converter that runs entirely in your browser. No external uploads, works offline as a web app, and is powered by the "Browser Image Compression" library.

Github project page: https://github.com/civilblur/mazanoke

Features

  • 🚀 Compress & Convert Images Instantly In Your Browser
    • Adjust image quality (0-100%).
    • Set a target file size.
    • Set max dimensions, to not exceed a certain width/height.
    • Convert between JPG, PNG, and WebP.
  • 🌍 Installable Web App
    • Use as a Progressive Web App (PWA).
    • Dark and light mode.
    • Fully responsive for desktop, tablet, and mobile.
  • 🔒 Privacy-Focused
    • Works offline.
    • All image processing happens locally.
    • No data is uploaded to external servers. Your files stay on your device.

Use case

This app is designed to compress smaller batches of images, aimed at casual users who need to compress and convert a few images at a time.

I created it primarily for friends and family who are less tech-savvy, to help them compress and convert images in a simple, safe, and private way.

Since the compression is handled in the browser, it won't cause any additional load on your server.

Additional notes

  • I wanted it to be low-dependency, so it's built using pure HTML/CSS/JS.
  • If you're wondering about the excessive amount of animations used, it's simply because I wanted to have fun working on this project. These types of animations are usually impractical for general purpose websites and are impractical to maintain.
top 17 comments
sorted by: hot top controversial new old
[-] poVoq@slrpnk.net 9 points 3 days ago

Something like that could be also interesting for a Lemmy frontend to make it easier to share images on instances that have strict upload limits.

[-] lent9004@lemmy.world 7 points 3 days ago

Yes indeed, the library I used "Browser Image Compression" is quite easy to work with. I did this as a weekend project + a few more days to prepare for open sourcing.

[-] Kualdir@feddit.nl 8 points 3 days ago

I'd love if there was a way to hook this onto apps like discord to automatically compress images too big to upload

[-] lent9004@lemmy.world 6 points 3 days ago

Probably could be used with betterdiscord that supports js plugins.

[-] Fisch@discuss.tchncs.de 5 points 3 days ago

Pretty sure Vencord is what's used now. It's what I use at least because it's preinstalled with Vesktop.

[-] Mora@pawb.social 2 points 3 days ago

Nah, Betterdiscord is still alive and kicking. And it still has the best image utility plugin.

[-] lent9004@lemmy.world 1 points 3 days ago

Ah I see, I'm still on webcord to be honest (not for any particular specific reason).

[-] MangoPenguin 2 points 3 days ago

For windows the powertoys resize extension works great, just a right click option to easily make images smaller.

[-] henchman2019@lemmy.world 2 points 2 days ago

Installed. It's great! Easy and fast. I'll be using this almost daily. Thank you.

[-] denshi@discuss.tchncs.de 5 points 3 days ago* (last edited 3 days ago)
[-] lent9004@lemmy.world 21 points 3 days ago* (last edited 3 days ago)

This has analytics tracking and is made by Google though. I intentionally wanted to stray away from that.

Edit: typo

[-] Vendetta9076@sh.itjust.works 2 points 3 days ago

Amen. Time for a star+ download

[-] Kuvwert@lemm.ee 2 points 3 days ago

Cool! I was just thinking about putting something like this together.

I'll check it out today!

[-] AceFuzzLord@lemm.ee 1 points 3 days ago

Damn this is something I need to look into.

[-] dangling_cat 1 points 3 days ago

It would be nice if it worked in Node.js

[-] anomnom@sh.itjust.works 1 points 2 days ago* (last edited 2 days ago)

Does node have access to a browser compression command? It kinda defeats the purpose of running it entirely in the client’s browser and offloading the processing from the server.

Sharp or Jimp run in it instead right?

^disclaimer, I’m still running rmagick in ruby and don’t play with the cool new toys as much these days).^

[-] Ulrich@feddit.org 1 points 3 days ago

Okay now do videos

this post was submitted on 27 Mar 2025
90 points (100.0% liked)

Selfhosted

45231 readers
1567 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS