{"id":21904052,"url":"https://github.com/m1ga/ti.blurhash","last_synced_at":"2026-05-08T11:03:54.829Z","repository":{"id":80614854,"uuid":"400474182","full_name":"m1ga/ti.blurhash","owner":"m1ga","description":"Blurhash placeholder images for Titanium","archived":false,"fork":false,"pushed_at":"2021-08-27T10:38:06.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T06:41:57.464Z","etag":null,"topics":["blurhash","titanium","titanium-mobile","titanium-module"],"latest_commit_sha":null,"homepage":"","language":"Java","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/m1ga.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":"2021-08-27T10:36:29.000Z","updated_at":"2021-08-29T13:43:54.000Z","dependencies_parsed_at":"2023-07-08T02:45:58.001Z","dependency_job_id":null,"html_url":"https://github.com/m1ga/ti.blurhash","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/m1ga/ti.blurhash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.blurhash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.blurhash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.blurhash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.blurhash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1ga","download_url":"https://codeload.github.com/m1ga/ti.blurhash/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.blurhash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32777649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","titanium","titanium-mobile","titanium-module"],"created_at":"2024-11-28T15:31:08.903Z","updated_at":"2026-05-08T11:03:54.810Z","avatar_url":"https://github.com/m1ga.png","language":"Java","funding_links":["https://www.buymeacoffee.com/miga"],"categories":[],"sub_categories":[],"readme":"# ti.blurhash - Blurhash placeholder images for Titanium\n\n## What is BlurHash\n\n\u003cquote\u003eBlurHash is a compact representation of a placeholder for an image.\u003c/quote\u003e\n(https://blurha.sh/)\n\nThis library allows you to convert an image to a simple string like `LEHV6nWB2yk8pyoJadR*.7kCMdnj` and that string into a preview image:\n\n\u003cimg src=\"assets/img1.jpg\" height=\"170\" width=\"270\"/\u003e → `LEHV6nWB2yk8pyoJadR*.7kCMdnj` → \u003cimg src=\"assets/preview.png\" height=\"170\" width=\"270\"/\u003e\u003cbr/\u003e\n\n\n\nYou app can use those preview images instead of a white or loading spinner.\n\nThis Titanium module will use the library from https://github.com/woltapp/blurhash\n\n\n## How to use it:\n\n\u003ci\u003eCurrently Android only\u003c/i\u003e\n\n```javascript\nvar win = Ti.UI.createWindow();\n\nvar img = Ti.UI.createImageView({\n\twidth: 200,\n\theight: 200,\n\timage: require(\"ti.blurhash\").decode({\n\t\twidth: 200,\n\t\theight: 200,\n\t\ttext: \"LEHV6nWB2yk8pyoJadR*.7kCMdnj\"\n\t})\n})\nwin.add(img);\nwin.open();\n```\n\n## Methods\n\n* decode(width:int, height:int, punch:float, useCache:boolen)\n    - punch can improve the contrast; default: 1\n\n\n## Author\n\n- Michael Gangolf ([@MichaelGangolf](https://twitter.com/MichaelGangolf) / [Web](http://migaweb.de))\n\n\u003cspan class=\"badge-buymeacoffee\"\u003e\u003ca href=\"https://www.buymeacoffee.com/miga\" title=\"donate\"\u003e\u003cimg src=\"https://img.shields.io/badge/buy%20me%20a%20coke-donate-orange.svg\" alt=\"Buy Me A Coke donate button\" /\u003e\u003c/a\u003e\u003c/span\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1ga%2Fti.blurhash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1ga%2Fti.blurhash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1ga%2Fti.blurhash/lists"}