{"id":36810873,"url":"https://github.com/solovev/gopsd","last_synced_at":"2026-01-12T13:48:24.482Z","repository":{"id":32225118,"uuid":"35799128","full_name":"solovev/gopsd","owner":"solovev","description":"PSD parser in Go","archived":false,"fork":false,"pushed_at":"2018-12-14T12:24:59.000Z","size":129,"stargazers_count":62,"open_issues_count":1,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-13T20:13:24.640Z","etag":null,"topics":["golang","golang-library","parser","photoshop","psd","reader"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solovev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-18T05:46:16.000Z","updated_at":"2025-07-21T13:44:35.000Z","dependencies_parsed_at":"2022-09-05T21:31:03.500Z","dependency_job_id":null,"html_url":"https://github.com/solovev/gopsd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/solovev/gopsd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solovev%2Fgopsd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solovev%2Fgopsd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solovev%2Fgopsd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solovev%2Fgopsd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solovev","download_url":"https://codeload.github.com/solovev/gopsd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solovev%2Fgopsd/sbom","scorecard":{"id":837235,"data":{"date":"2025-08-11","repo":{"name":"github.com/solovev/gopsd","commit":"2696276ae52e71da928f87ad8d4899b91f2e8d54"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T19:25:34.085Z","repository_id":32225118,"created_at":"2025-08-23T19:25:34.085Z","updated_at":"2025-08-23T19:25:34.085Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28339463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"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":["golang","golang-library","parser","photoshop","psd","reader"],"created_at":"2026-01-12T13:48:24.338Z","updated_at":"2026-01-12T13:48:24.443Z","avatar_url":"https://github.com/solovev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## gopsd\n\u003e Photoshop document parser in Golang\n\n### Example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"image/png\"\n\t\"os\"\n\n\t\"github.com/solovev/gopsd\"\n)\n\nfunc main() {\n\tdoc, err := gopsd.ParseFromPath(\"./test.psd\")\n\tcheckError(err)\n\n\tos.Mkdir(\"./images\", 0777)\n\n\tfor _, layer := range doc.Layers {\n\t\tfmt.Println(layer.ToString())\n\n\t\tsaveAsPNG(layer)\n\t}\n}\n\nfunc saveAsPNG(layer *gopsd.Layer) {\n\tout, err := os.Create(\"./images/\" + layer.Name + \".png\")\n\tcheckError(err)\n\n\timg, err := layer.GetImage()\n\tcheckError(err)\n\n\terr = png.Encode(out, img)\n\tcheckError(err)\n}\n\nfunc checkError(err error) {\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\tos.Exit(1)\n\t}\n}\n```\n### test.psd\n\u003e ![photoshop](https://raw.githubusercontent.com/solovev/gopsd/master/examples/images/readme_preview.png)\n\n### Result\n\n\u003e Background: [X: 0, Y: 0, Width: 384, Height: 512] \u003cbr\u003e\nGrayRect: [X: -1, Y: 153, Width: 349, Height: 145] \u003cbr\u003e\nRoundPinkRect: [X: 66, Y: 163, Width: 273, Height: 124] \u003cbr\u003e\nEllipse: [X: -58, Y: -89, Width: 338, Height: 212] \u003cbr\u003e\nSOME TEXT: [X: 18, Y: 18, Width: 235, Height: 34] \u003cbr\u003e\n\n\n| Layers |\n| ------------- |\n| Background |\n| \u003cimg src=\"https://raw.githubusercontent.com/solovev/gopsd/master/examples/images/Background.png\" alt=\"Background\" width=\"192\" height=\"256\" /\u003e |\n| GrayRect |\n| \u003cimg src=\"https://raw.githubusercontent.com/solovev/gopsd/master/examples/images/GrayRect.png\" alt=\"GrayRect\" width=\"175\" height=\"72\" /\u003e |\n| RoundPinkRect |\n| \u003cimg src=\"https://raw.githubusercontent.com/solovev/gopsd/master/examples/images/RoundPinkRect.png\" alt=\"RoundPinkRect\" width=\"136\" height=\"62\" /\u003e |\n| Ellipse |\n| \u003cimg src=\"https://raw.githubusercontent.com/solovev/gopsd/master/examples/images/Ellipse.png\" alt=\"Ellipse\" width=\"169\" height=\"106\" /\u003e |\n| SOME TEXT |\n| \u003cimg src=\"https://raw.githubusercontent.com/solovev/gopsd/master/examples/images/SOME TEXT.png\" alt=\"SOME TEXT\" width=\"117\" height=\"17\" /\u003e |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolovev%2Fgopsd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolovev%2Fgopsd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolovev%2Fgopsd/lists"}