{"id":15016753,"url":"https://github.com/bbrks/go-blurhash","last_synced_at":"2025-04-30T21:36:38.804Z","repository":{"id":39004899,"uuid":"185696578","full_name":"bbrks/go-blurhash","owner":"bbrks","description":"🖼#️⃣ A pure Go implementation of Blurhash","archived":false,"fork":false,"pushed_at":"2022-11-09T11:02:21.000Z","size":1836,"stargazers_count":149,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-06T19:10:11.875Z","etag":null,"topics":["blur","blurhash","go","image","mastodon"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbrks.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}},"created_at":"2019-05-09T00:13:12.000Z","updated_at":"2024-12-06T10:45:41.000Z","dependencies_parsed_at":"2022-09-12T20:23:00.541Z","dependency_job_id":null,"html_url":"https://github.com/bbrks/go-blurhash","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbrks%2Fgo-blurhash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbrks%2Fgo-blurhash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbrks%2Fgo-blurhash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbrks%2Fgo-blurhash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbrks","download_url":"https://codeload.github.com/bbrks/go-blurhash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235208947,"owners_count":18953003,"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":["blur","blurhash","go","image","mastodon"],"created_at":"2024-09-24T19:49:20.073Z","updated_at":"2025-01-24T14:12:43.256Z","avatar_url":"https://github.com/bbrks.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-blurhash [![Go Reference](https://pkg.go.dev/badge/github.com/bbrks/go-blurhash.svg)](https://pkg.go.dev/github.com/bbrks/go-blurhash) [![GitHub tag](https://img.shields.io/github/tag/bbrks/go-blurhash.svg)](https://github.com/bbrks/go-blurhash/releases) [![license](https://img.shields.io/github/license/bbrks/go-blurhash.svg)](https://github.com/bbrks/go-blurhash/blob/master/LICENSE) [![Go Report Card](https://goreportcard.com/badge/github.com/bbrks/go-blurhash)](https://goreportcard.com/report/github.com/bbrks/go-blurhash) [![codecov](https://codecov.io/gh/bbrks/go-blurhash/branch/master/graph/badge.svg)](https://codecov.io/gh/bbrks/go-blurhash)\n\nA pure Go implementation of [Blurhash](https://github.com/woltapp/blurhash). The API is stable, however the hashing function in either direction may not be.\n\n![Blurhash Demo](https://i.imgur.com/9qxOXJW.png)\n\nBlurhash is an algorithm written by [Dag Ågren](https://github.com/DagAgren) for [Wolt (woltapp/blurhash)](https://github.com/woltapp/blurhash) that encodes an image into a short (~20-30 byte) ASCII string. When you decode the string back into an image, you get a gradient of colors that represent the original image. This can be useful for scenarios where you want an image placeholder before loading, or even to censor the contents of an image [a la Mastodon](https://blog.joinmastodon.org/2019/05/improving-support-for-adult-content-on-mastodon/).\n\nUnder the covers, this library is almost a straight port of the [C version](https://github.com/woltapp/blurhash/tree/master/C), which is known to encode images slightly differently than the TypeScript implementation.\n\n## Contributing\n\nIssues, feature requests or improvements welcome!\n\n## Licence\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbrks%2Fgo-blurhash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbrks%2Fgo-blurhash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbrks%2Fgo-blurhash/lists"}