{"id":22624892,"url":"https://github.com/galdor/go-thumbhash","last_synced_at":"2026-03-15T18:02:35.322Z","repository":{"id":146265161,"uuid":"617914004","full_name":"galdor/go-thumbhash","owner":"galdor","description":"A Go implementation of the Thumbhash image placeholder generation algorithm.","archived":false,"fork":false,"pushed_at":"2024-07-07T14:06:56.000Z","size":561,"stargazers_count":82,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T11:21:59.999Z","etag":null,"topics":["go","golang","image-placeholders","thumbhash"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/galdor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-23T11:28:29.000Z","updated_at":"2025-03-18T05:34:57.000Z","dependencies_parsed_at":"2024-02-27T07:51:02.111Z","dependency_job_id":"95ff67e1-6a53-4d8c-9eb0-7d44f446dd19","html_url":"https://github.com/galdor/go-thumbhash","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galdor%2Fgo-thumbhash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galdor%2Fgo-thumbhash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galdor%2Fgo-thumbhash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galdor%2Fgo-thumbhash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/galdor","download_url":"https://codeload.github.com/galdor/go-thumbhash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249757574,"owners_count":21321348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","image-placeholders","thumbhash"],"created_at":"2024-12-09T00:18:23.828Z","updated_at":"2026-03-15T18:02:30.281Z","avatar_url":"https://github.com/galdor.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-thumbhash\n## Introduction\nThe go-thumbhash library implements the\n[Thumbhash](https://evanw.github.io/thumbhash/) image placeholder generation\nalgorithm invented by [Evan Wallace](https://madebyevan.com/).\n\nThis algorithm is used to calculate a small binary hash representing an image\nusing a [Discrete Cosine\nTransform](https://en.wikipedia.org/wiki/Discrete_cosine_transform). The hash\ncan then be used to generate a lossy representation of the original image.\n\nThe main use case is progressive loading of a web page containing lots of\nimages, e.g. a photo gallery. Store the hash of each image in your database,\nand send it in the HTML document. On the client side, use Javascript (e.g.\nEvan Wallace's library) to generate a placeholder image from the hash. Then\nload the original image asynchronously.\n\n![Thumbhash diagram](misc/diagram.png)\n\n## Usage\nRefer to the [Go package\ndocumentation](https://pkg.go.dev/go.n16f.net/thumbhash) for information about\nthe API.\n\nSee the [`thumbhash` program](cmd/thumbhash/main.go) for a practical use case.\n\n# Licensing\nGo-thumbhash is open source software distributed under the\n[ISC](https://opensource.org/licenses/ISC) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaldor%2Fgo-thumbhash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaldor%2Fgo-thumbhash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaldor%2Fgo-thumbhash/lists"}