{"id":15059606,"url":"https://github.com/whiletruu/elm-blurhash","last_synced_at":"2025-04-10T05:41:18.035Z","repository":{"id":57674729,"uuid":"218127890","full_name":"WhileTruu/elm-blurhash","owner":"WhileTruu","description":"Blurhash decoding and encoding in Elm","archived":false,"fork":false,"pushed_at":"2020-03-02T20:08:04.000Z","size":47,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T06:54:37.885Z","etag":null,"topics":["blurhash","elm","elm-lang"],"latest_commit_sha":null,"homepage":"","language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WhileTruu.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-10-28T19:23:25.000Z","updated_at":"2024-06-07T11:11:21.000Z","dependencies_parsed_at":"2022-09-11T17:54:02.844Z","dependency_job_id":null,"html_url":"https://github.com/WhileTruu/elm-blurhash","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/WhileTruu%2Felm-blurhash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhileTruu%2Felm-blurhash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhileTruu%2Felm-blurhash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhileTruu%2Felm-blurhash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WhileTruu","download_url":"https://codeload.github.com/WhileTruu/elm-blurhash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166204,"owners_count":21058475,"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":["blurhash","elm","elm-lang"],"created_at":"2024-09-24T22:45:54.756Z","updated_at":"2025-04-10T05:41:18.003Z","avatar_url":"https://github.com/WhileTruu.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BlurHash\n\nDisplay blurhash in elm. Blurhash is [\"A very compact representation of a placeholder for an image\"](https://blurha.sh/).\nThe hash is sent as a small string (for example in a json payload) and can be loaded more quickly than a large image file.\n\n![the blurhash process](https://github.com/woltapp/blurhash/raw/master/Media/HowItWorks1.jpg)\n\n\nThis package turns the blurhash string into an image, which can be loaded into a document as a base64-encoded uri.\n\n```elm\nimport BlurHash\nimport Html exposing (Html)\nimport Html.Attributes\n\nmain : Html msg\nmain =\n    let\n        uri =\n            BlurHash.toUri { width = 30, height = 30 }\n                1.0\n                \"UBL_:rOpGG-oBUNG,qRj2so|=eE1w^n4S5NH\"\n    in\n    Html.img\n        [ Html.Attributes.style \"width\" \"400px\"\n        , Html.Attributes.src uri\n        ]\n        []\n```\n\nAn encoder is also included!\n\n## Demo\n\n[Webpage](https://whiletruu.github.io/elm-blurhash/)\n\n[Code](https://github.com/WhileTruu/elm-blurhash/tree/publish-package/example)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhiletruu%2Felm-blurhash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhiletruu%2Felm-blurhash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhiletruu%2Felm-blurhash/lists"}