thumbhash
wrangler-legacy
thumbhash | wrangler-legacy | |
---|---|---|
9 | 139 | |
3,251 | 3,234 | |
- | - | |
2.5 | 7.3 | |
about 2 months ago | 9 months ago | |
Swift | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
thumbhash
-
Gcsfuse: A user-space file system for interacting with Google Cloud Storage
You may wish to investigate cloudflare's image API: https://developers.cloudflare.com/images/cloudflare-images/
If the reason you were unable to use a CDN cache was because your access patterns require a lot of varying end serializations (due to things like image manipulation, resizing, cropping, watermarking, etc.), then this API could be a huge money saver for you. It was for me.
OTOH if the cost was because compute isn't free and the corresponding cloudflare worker compute cost is too much, then yeah, that's a tough one... I don't have a packaged answer for you, but I would investigate something like ThumbHash: https://evanw.github.io/thumbhash/ - my intuition is that you can probably serve some highly optimized/interlaced/"hashed" placeholder. The advantage of thumbhash here could be that you can optimize the access pattern to be less spendy by simply storing all of your hashes in an optimized way, since they will be extremely small, like small enough to be included in an index for index-only scans ("covering indexes").
-
We have backed up the world’s largest comics shadow library
note: I haven't had time but I would live to investigate into keeping tiny thumbnails hashes in my db as mentioned in https://evanw.github.io/thumbhash/
-
How can you use this package (ThumbHash) that makes small representation of your image?
Check the script here: https://github.com/evanw/thumbhash/blob/main/examples/browser/index.html
-
Generate thumbhash at edge for tiny progressive images
While it's similar to BlurHash, the color performance is much better for the same filesize. Here's a a demonstration of this from the demo page (with ThumbHash in the middle and BlurHash on the right):
-
Google's decision to deprecate JPEG-XL emphasizes the need for browser choice and free formats
Webp took a long time to get some broader adoption but it fulfills the roll of jpeg: a decent enough quality looking picture but at a reduced file size. However, it is based on the VP8 video codec. So in other words, you can think of it as a still frame of a VP8 video. This has some disadvantages because it can only load the image line by line from top to bottom (as opposed to a kind of blurry but progressively improving picture like a slow loading jpeg). So this leads to tricks like storing a very small thumbnails version and loading the actual original image. But tricks are tricks, and they're a bit annoying to deal with. For a very advanced version of this "store a small version and load that first" check this out https://evanw.github.io/thumbhash/ (it creates a blur that has the the appearance of the photo that's loading but it can do it within bytes of data).
- thumbhash: A very compact representation of an image placeholder
- Thumbhash: A compact representation of an image placeholder
wrangler-legacy
-
Running Slack App on Cloudflare Workers
Recently, as a weekend hobby project, I created a Slack app development framework for Cloudflare Workers and Vercel Edge Functions.
- Ask HN: Is your blog/website behind a CDN?
-
Our experience adding Edge Runtime to Next.js SDK
Edge Runtime has become a buzzword in the technology landscape, driving dynamic, low-latency functions in platforms from AWS Lambda@Edge and Cloudflare Workers to Vercel Edge. Emphasizing its importance, Vercel recently changed "experimental-edge" to "edge", signaling official support in their popular Next.js framework.
- Cloudflare KV Is Down
-
Potential use case for serverless. Would like some advice.
It seems like the perfect usecase for Cloudflare Workers.
-
Better blogging on Dev.to with Vrite - headless CMS for technical content
For this tutorial, I’ll use Cloudflare Workers as they’re really fast and easy to set up, but you can use pretty much any other serverless provider with support for JS.
-
Trouble Sending to CWOP via Cloudflare Workers
Cloudflare has a wonderful serverless platform called Cloudflare Workers that allows you to write code without worrying about underlying hardware or software. Yesterday, they announced that Workers now have the ability to connect directly over TCP sockets. I want to use this feature to send an APRS packet to CWOP.
- Statistiques 5 mois après la publication de ma première application
-
I need a proxy to cache (incl. POST, body based keys) and modify headers
Sounds doable with Cloudflare Workers
- Serverless Speed: Rust vs. Go, Java, and Python in AWS Lambda Functions
What are some alternatives?
blurhash - A very compact representation of a placeholder for an image.
miniflare - 🔥 Fully-local simulator for Cloudflare Workers. For the latest version, see https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare.
azurefs - Mount Microsoft Azure Blob Storage as local filesystem in Linux (inactive)
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
mindcastle.io - Massively scalable, cloud-backed distributed block device for Linux and VMs
Visual Studio Code - Visual Studio Code
pica - Resize image in browser with high quality and high speed
wasmtime - A fast and secure runtime for WebAssembly
mountpoint-s3 - A simple, high-throughput file client for mounting an Amazon S3 bucket as a local file system.
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
azure-storage-fuse-aur - AUR package for Azure Storage Blobfuse
supabase - The open source Firebase alternative.