{"id":21299836,"url":"https://github.com/peterhellberg/png2src","last_synced_at":"2025-08-10T16:08:53.419Z","repository":{"id":263575871,"uuid":"857746251","full_name":"peterhellberg/png2src","owner":"peterhellberg","description":"Convert .png into source code as described by the template used.","archived":false,"fork":false,"pushed_at":"2024-09-15T14:03:19.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T19:39:18.165Z","etag":null,"topics":["cli"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peterhellberg.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":"2024-09-15T14:01:20.000Z","updated_at":"2024-12-16T22:52:00.000Z","dependencies_parsed_at":"2024-11-19T09:59:36.678Z","dependency_job_id":"98eb8ba4-8754-48dc-957b-262c58135566","html_url":"https://github.com/peterhellberg/png2src","commit_stats":null,"previous_names":["peterhellberg/png2src"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peterhellberg/png2src","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fpng2src","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fpng2src/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fpng2src/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fpng2src/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterhellberg","download_url":"https://codeload.github.com/peterhellberg/png2src/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fpng2src/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269748225,"owners_count":24469107,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli"],"created_at":"2024-11-21T15:06:27.391Z","updated_at":"2025-08-10T16:08:53.398Z","avatar_url":"https://github.com/peterhellberg.png","language":"Go","readme":"# png2src\n\nConvert `.png` into source code as described by the template used.\n\nBy default this tool expects a `image.tpl` in the current working directory.\n\n## Example template\n\nWhen I want a Zig :zap: constant of type `Image` I might have a template such as this:\n\n```zig\npub const {{.Name}} = Image{\n    .name = \"{{.Name}}\",\n    .width = {{.Width}},\n    .height = {{.Height}},\n    .data = \u0026.{ {{.BytesString}} },\n};\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Fpng2src","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterhellberg%2Fpng2src","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Fpng2src/lists"}