HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
caub
im-optim
JavaScript2019–2019
caub / im-optim

im-optim

Optimize images

2Distinct people
2Mentions
0Explicit recommenders
4GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Optimize images

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2019-05-28 07:26:27 UTC to 2019-05-28 17:48:51 UTC.

012019-05-28 07:00:00 UTC to 2019-05-28 08:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMay 28, 07:002019-05-28 08:00:00 UTC to 2019-05-28 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-05-28 09:00:00 UTC to 2019-05-28 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-05-28 10:00:00 UTC to 2019-05-28 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-05-28 11:00:00 UTC to 2019-05-28 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-05-28 12:00:00 UTC to 2019-05-28 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMay 28, 12:002019-05-28 13:00:00 UTC to 2019-05-28 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-05-28 14:00:00 UTC to 2019-05-28 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-05-28 15:00:00 UTC to 2019-05-28 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-05-28 16:00:00 UTC to 2019-05-28 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-05-28 17:00:00 UTC to 2019-05-28 18:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMay 28, 17:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
May 28, 07:002019-05-28 07:00:00 UTC2019-05-28 08:00:00 UTC101
May 28, 08:002019-05-28 08:00:00 UTC2019-05-28 09:00:00 UTC000
May 28, 09:002019-05-28 09:00:00 UTC2019-05-28 10:00:00 UTC000
May 28, 10:002019-05-28 10:00:00 UTC2019-05-28 11:00:00 UTC000
May 28, 11:002019-05-28 11:00:00 UTC2019-05-28 12:00:00 UTC000
May 28, 12:002019-05-28 12:00:00 UTC2019-05-28 13:00:00 UTC000
May 28, 13:002019-05-28 13:00:00 UTC2019-05-28 14:00:00 UTC000
May 28, 14:002019-05-28 14:00:00 UTC2019-05-28 15:00:00 UTC000
May 28, 15:002019-05-28 15:00:00 UTC2019-05-28 16:00:00 UTC000
May 28, 16:002019-05-28 16:00:00 UTC2019-05-28 17:00:00 UTC000
May 28, 17:002019-05-28 17:00:00 UTC2019-05-28 18:00:00 UTC101

What Hacker News says

2 sources
Hey, no, https://github.com/caub/im-optim runs on node.js, server-side, and it's not maintained. Someone else mentioned https://github.com/GoogleChromeLabs/squoosh for server-side image optimization, it might be better maintained, it seems to use webpack image optimizers plugins https://github.com/GoogleChromeLabs/squoosh/blob/master/pack.... There's also https://github.com/imagemin/imagemin for doing this For https://caub.github.io/misc/optim, source: https://github.com/caub/misc/blob/master/optim.html, and it runs the following optimizers (compiled with emscripten to run browser-side) from a Web Worker: https://github.com/as-com/mozjpeg-js, https://github.com/psych0der/pngquantjs
In Show HN: Imgsquash – My image compression website project
I really like this. Is it maintained? I am guessing the main repo is this one? https://github.com/caub/im-optim If not, can people point me to another out of the box solution? My use case is that I don't want to build an entire image preprocessing/thumbnailing pipeline for image uploads. But if I serve the raw image that the user uploaded, they are typically not optimized for the web. Since I am letting the user upload anything anyway, it doesn't matter whether the image processing is secure (e.g., he can totally reverse engineer the js to upload a non-compressed image, but so what). Client side compression is a pretty elegant solution since you won't even have to pay for cpu cost to process the image. If you don't care to keep the original, it will even speed up the image uploads since they are now smaller. I really see no down sides to
Read the rest
doing this?
In Show HN: Imgsquash – My image compression website project

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.