{"id":26657960,"url":"https://github.com/brys0/compose-blurhash","last_synced_at":"2025-10-27T09:03:31.389Z","repository":{"id":284230246,"uuid":"952858020","full_name":"brys0/compose-blurhash","owner":"brys0","description":"A high performance implementation of blurhash for Compose Multiplatform. Utilizes SKSL shaders for performant rendering. ","archived":false,"fork":false,"pushed_at":"2025-03-24T20:02:38.000Z","size":64285,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T21:21:59.450Z","etag":null,"topics":["blurhash","compose","compose-multiplatform","compose-multiplatform-library","kotlin","kotlin-multiplatform-library"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/brys0.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":"2025-03-22T02:50:38.000Z","updated_at":"2025-03-24T20:02:42.000Z","dependencies_parsed_at":"2025-03-24T21:32:35.202Z","dependency_job_id":null,"html_url":"https://github.com/brys0/compose-blurhash","commit_stats":null,"previous_names":["brys0/compose-blurhash"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brys0%2Fcompose-blurhash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brys0%2Fcompose-blurhash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brys0%2Fcompose-blurhash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brys0%2Fcompose-blurhash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brys0","download_url":"https://codeload.github.com/brys0/compose-blurhash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248404354,"owners_count":21097717,"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","compose","compose-multiplatform","compose-multiplatform-library","kotlin","kotlin-multiplatform-library"],"created_at":"2025-03-25T09:17:27.286Z","updated_at":"2025-10-27T09:03:26.367Z","avatar_url":"https://github.com/brys0.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compose blurhash\nProvides multiplatform library to use [blurhash](https://blurha.sh/) in your compose app.\u003cbr\u003e\nUsing SKSL/AGSL for the best possible performance compared to regular bitmap alternatives.\n\n## What platforms are currently supported\n- [x] WasmJS/Browser\n- [x] Desktop/JVM \n- [x] iOS/Apple\n- [x] Android\n\n\n## Usage\n\nAdd this to your build.gradle.kts\n\n```kt\nimplementation(\"io.github.brys0:blurhash:0.0-4-ALPHA\")\n```\n\nYou can now use it like this \n```kt\n@Composable\nfun MyComposable() {\n    BlurHashImage(\n        \"URGtW@NM}FV?w7={wOi{xYi%s,sm-CNZnPxt\", // Your blurhash string \n        modifier = Modifier.fillMaxSize() // Modifiers you would like to apply\n    )\n}\n```\n\n## Project Structure\n\nThis project contains several modules each for a different purpose.\n\n1. `blurhash` - Contains the public code for implementing in your project\n2. `blurhash-skio` - Contains the code specific to skia related implementations (WasmJS/Desktop/iOS)\n3. `blurhash-shader` - Contains the shader related code and processing \n4. `sample` - Contains a super simple sample project to demo the functionality\n\n## Accreditation \n\n- [peerless2012](https://github.com/peerless2012) For personally helping me get this project adapted over to compose and for his [blurhash implementation for android](https://github.com/peerless2012/blurhash-android)\n- [blurha](https://blurha.sh/) For providing a reference on implementation, as well as creating a very simplistic and elegant solution to placeholder images\n- [shady](https://github.com/drinkthestars/shady) For providing a reference on how to implement shader based code into compose specifically\n- [blurhash_shader](https://github.com/xioxin/blurhash_shader) For providing the initial shader code to base sksl shader code off of\n- [Romain Guy](https://www.romainguy.dev/posts/2024/optimization-step-by-step/) For providing a fast and performant color calculation for blurhash strings","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrys0%2Fcompose-blurhash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrys0%2Fcompose-blurhash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrys0%2Fcompose-blurhash/lists"}