junevm

junevm / splathash

Public

compress any image to 16 bytes and reconstruct a blurry preview. Like blurhash and thumbhash, but smaller.

135
4
100% credibility
Found Feb 28, 2026 at 90 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

SplatHash compresses images into fixed 16-byte codes that reconstruct 32x32 blurry previews extremely quickly across Go, Python, and TypeScript.

How It Works

1
🔍 Discover SplatHash

You find a clever tool that shrinks any photo into a tiny 16-byte code for instant blurry previews.

2
📦 Add it to your project

You grab the ready-made pieces for your favorite creative tool and mix them in easily.

3
🖼️ Pick your photo

You choose any image from your collection to try it out.

4
Create the magic code

With one simple action, your photo turns into a super-small code that captures its look perfectly.

5
👁️ Show the preview

Anywhere you use the code, it instantly draws a quick, colorful blurry version of the image.

6
See it fly

Previews load in a blink—0.067 milliseconds—making your app feel snappy and fun.

🎉 Fast previews everywhere

Now your projects have smooth, tiny image teasers that wow users without waiting.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 90 to 135 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is splathash?

SplatHash compresses any image to a fixed 16 bytes—a compact hash you store or transmit—and reconstructs a 32x32 blurry preview on decode. Like BlurHash or ThumbHash, it generates instant placeholders for lazy-loading images in apps, but shaves size while supporting alpha channels. Go powers the reference implementation, with bit-identical Python and TypeScript/JS bindings for easy cross-platform use.

Why is it gaining traction?

It beats alternatives on decode speed (0.067ms vs 0.5ms ThumbHash, 6.55ms BlurHash) and fixed 16-byte size (vs their 20-37 bytes), making it ideal for bandwidth-starved UIs where previews render on every page load. Encode once at upload, decode everywhere—developers love the 128-bit integer storage and zero-config API over variable-length github compress images tools. Benchmarks show minimal allocations too.

Who should use this?

Frontend devs building image galleries, social feeds, or e-commerce sites needing fast placeholders without full thumbnails. Backend teams compressing images for databases or APIs, especially alongside tools like commons compress github for broader file handling. Perfect for apps where compress any image to tiny hashes cuts storage and load times.

Verdict

Grab it for prototypes demanding ultra-compact image previews—docs, benchmarks, and multi-lang parity are polished despite 21 stars and 1.0% credibility score. Still early; production users should test edge cases first.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.