[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6903":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},6903,"thumbhash","evanw\u002Fthumbhash","evanw","A very compact representation of an image placeholder","https:\u002F\u002Fevanw.github.io\u002Fthumbhash\u002F",null,"Swift",4150,90,14,11,0,6,27,3,27.88,"MIT License",false,"main",true,[],"2026-06-12 02:01:31","# ThumbHash\n\n A very compact representation of a placeholder for an image. Store it inline with your data and show it while the real image is loading for a smoother loading experience. It's similar to [BlurHash](https:\u002F\u002Fgithub.com\u002Fwoltapp\u002Fblurhash) but with the following advantages:\n\n* Encodes more detail in the same space\n* Also encodes the aspect ratio\n* Gives more accurate colors\n* Supports images with alpha\n\nDespite doing all of these additional things, the code for ThumbHash is still similar in complexity to the code for BlurHash. One potential drawback compared to BlurHash is that the parameters of the algorithm are not configurable (everything is automatically configured).\n\nA demo and more information is available here: https:\u002F\u002Fevanw.github.io\u002Fthumbhash\u002F.\n\n## Implementations\n\nThis repo contains implementations for the following languages:\n\n* [JavaScript](.\u002Fjs)\n* [Rust](.\u002Frust)\n* [Swift](.\u002Fswift)\n* [Java](.\u002Fjava)\n\nThese additional implementations also exist outside of this repo:\n\n* Go: https:\u002F\u002Fgithub.com\u002Fgaldor\u002Fgo-thumbhash\n* Perl: https:\u002F\u002Fgithub.com\u002Fmauke\u002FImage-ThumbHash\n* PHP: https:\u002F\u002Fgithub.com\u002FSRWieZ\u002Fthumbhash\n* Ruby: https:\u002F\u002Fgithub.com\u002Fdaibhin\u002Fthumbhash\n\n_If you want to add your own implementation here, you can send a PR that puts a link to your implementation in this README._\n","ThumbHash 是一种非常紧凑的图像占位符表示方法，旨在为网页或应用提供更流畅的图片加载体验。其核心功能包括在相同空间内编码更多细节、同时编码宽高比、提供更准确的颜色支持以及支持带有透明度的图像。相较于类似技术如BlurHash，ThumbHash 在保持算法复杂度相近的情况下提供了上述优势。不过，ThumbHash 的一个局限是其算法参数不可配置。该项目适用于需要优化用户体验的各种前端开发场景，特别是在网络条件不佳时能够显著提升用户感知到的应用响应速度。此外，ThumbHash 提供了多种语言实现版本，包括JavaScript、Rust、Swift 和 Java等，方便开发者根据实际需求选择使用。",2,"2026-06-11 03:09:28","top_language"]