{"id":18952604,"url":"https://github.com/jdan/hashart","last_synced_at":"2025-10-28T02:03:47.915Z","repository":{"id":47138613,"uuid":"352433618","full_name":"jdan/hashart","owner":"jdan","description":"an experiment in turing SHA-256 hashes into pixels","archived":false,"fork":false,"pushed_at":"2024-02-03T23:01:00.000Z","size":1701,"stargazers_count":29,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-16T14:32:48.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hash.jordanscales.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdan.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-03-28T20:39:46.000Z","updated_at":"2024-11-14T07:12:56.000Z","dependencies_parsed_at":"2024-02-03T23:26:17.958Z","dependency_job_id":"7b7f23b1-a977-42d6-855a-c1a10bbf3aa4","html_url":"https://github.com/jdan/hashart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jdan/hashart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdan%2Fhashart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdan%2Fhashart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdan%2Fhashart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdan%2Fhashart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdan","download_url":"https://codeload.github.com/jdan/hashart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdan%2Fhashart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261324405,"owners_count":23141720,"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":[],"created_at":"2024-11-08T13:34:04.208Z","updated_at":"2025-10-28T02:03:42.872Z","avatar_url":"https://github.com/jdan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## hashart\n\nThe code behind [hash.jordanscales.com](https://hash.jordanscales.com), an experiment in turning SHA-256 hashes into pixels.\n\n![a screenshot of https://hash.jordanscales.com/circles/Hello,%20world!](https://user-images.githubusercontent.com/287268/114740072-810f3c00-9d17-11eb-9bad-e1d09f6521e2.png)\n\n### running\n\n```\nnpm i\nnpm run dev\n```\n\n### a small screenshot service\n\nThis repository contains a small service for rendering art directly to PNGs using [canvas](https://www.npmjs.com/package/canvas). You can run it with:\n\n```\nnode server.js\n```\n\nThis service is also contained in a Docker image that I automatically publish to [GitHub packages](https://github.com/jdan/hashart/packages/728823):\n\n```\ndocker run --rm -p \"3000:3000\" docker.pkg.github.com/jdan/hashart/hashart-srv:latest\n```\n\nTo be able to use the \"mario\" piece:\n\n```\ndocker run --rm -p \"3000:3000\" -v \"/path/to/mariobros.nes:/app/vendor/roms/mariobros.nes\" docker.pkg.github.com/jdan/hashart/hashart-srv:latest\n```\n\n### rendering hashart on screens\n\nI uploaded [arduino.cc](/arduino.cc) to an [Inkplate 6](https://inkplate.io/) to display random\nhashart pieces in my apartment. I framed my inkplate using [Level Frames](https://www.levelframes.com/frames/new?width=5.25\u0026height=4) (5 1/4\" x 4\" with 1 1/2\" matting) and gave it a [2000mAh battery](https://www.adafruit.com/product/2011) which lasts quite a long time.\n\n![A photo of two stuffed animals next to a wooden frame with a digital screen in the middle of it. The screen contains a piece of art consisting of semicircles stacked on top of each other tightly, almost resembling a Slinky, scattered around the canvas](https://user-images.githubusercontent.com/287268/119571180-0a864500-bd7f-11eb-8e04-f039b8b98c04.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdan%2Fhashart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdan%2Fhashart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdan%2Fhashart/lists"}