evanw/thumbhash
A very compact representation of an image placeholder observed · 2026-08-28
Health v2 · maintenance only
30/100
- Activity 0
- Release rhythm 35
- Longevity 90
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1260
- days_rel: n/a
- days_push: 829
- n_releases_24m: 0
Adoption not part of the score
4197 stars · 91 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
ThumbHash is a compact encoding of an image placeholder that can be stored inline with data and rendered while the real image loads. It is a BlurHash alternative with more detail, aspect ratio, accurate colors, and alpha support, with implementations in JavaScript, Rust, Swift, and Java.
Use cases
- generate tiny image placeholders for smoother lazy loading
- store compact image previews inline in a database
- show blurred placeholders while images load in a feed
- encode image aspect ratio and colors in a few bytes
- replace BlurHash with better color accuracy and alpha support
When to choose
- you need compact image placeholders with alpha and aspect ratio support
- you want more detail and accurate colors than BlurHash in similar space
- you work in JavaScript, Rust, Swift, or Java
When to avoid
- you need configurable encoding parameters
- you need a full-featured image format rather than a placeholder
- you rely on the broader BlurHash ecosystem
Facets
library · maturity stable
image-processing serialization image-processing web-development frontend cross-platform rust jvm image-placeholder blurhash-alternative lazy-loading thumbhash javascript swift
2 sources
- readme: https://github.com/evanw/thumbhash · fetched 2026-08-28 · 4bb4488718d7
- homepage: https://evanw.github.io/thumbhash/ · fetched 2026-08-29 · 7773eb524eb1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| evanw/thumbhash | main | 30 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem