{"id":30707101,"url":"https://github.com/hallazzang/syso","last_synced_at":"2025-09-02T20:14:41.806Z","repository":{"id":37381920,"uuid":"189239268","full_name":"hallazzang/syso","owner":"hallazzang","description":":wrench: tool for embedding various type of resources in go Windows executable","archived":false,"fork":false,"pushed_at":"2019-08-16T13:50:44.000Z","size":103,"stargazers_count":42,"open_issues_count":3,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-14T01:24:06.736Z","etag":null,"topics":["coff","embed","go","golang","ico","icon","manifest","resource","rsrc","syso","versioninfo","windows"],"latest_commit_sha":null,"homepage":"","language":"Go","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/hallazzang.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}},"created_at":"2019-05-29T14:14:45.000Z","updated_at":"2025-03-03T01:58:34.000Z","dependencies_parsed_at":"2022-08-28T13:40:16.264Z","dependency_job_id":null,"html_url":"https://github.com/hallazzang/syso","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hallazzang/syso","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hallazzang%2Fsyso","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hallazzang%2Fsyso/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hallazzang%2Fsyso/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hallazzang%2Fsyso/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hallazzang","download_url":"https://codeload.github.com/hallazzang/syso/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hallazzang%2Fsyso/sbom","scorecard":{"id":453564,"data":{"date":"2025-08-11","repo":{"name":"github.com/hallazzang/syso","commit":"43d74b8c1725ab97fa5239dd2b11dc2a95eb4d9d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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"}}]},"last_synced_at":"2025-08-19T08:53:12.597Z","repository_id":37381920,"created_at":"2025-08-19T08:53:12.598Z","updated_at":"2025-08-19T08:53:12.598Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273341748,"owners_count":25088419,"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-09-02T02:00:09.530Z","response_time":77,"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":["coff","embed","go","golang","ico","icon","manifest","resource","rsrc","syso","versioninfo","windows"],"created_at":"2025-09-02T20:14:35.808Z","updated_at":"2025-09-02T20:14:41.799Z","avatar_url":"https://github.com/hallazzang.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# syso\n\n[![Build Status](https://travis-ci.org/hallazzang/syso.svg?branch=master)](https://travis-ci.org/hallazzang/syso)\n[![codecov](https://codecov.io/gh/hallazzang/syso/branch/master/graph/badge.svg)](https://codecov.io/gh/hallazzang/syso)\n[![godoc]](https://godoc.org/github.com/hallazzang/syso)\n[![goreportcard]](https://goreportcard.com/report/github.com/hallazzang/syso)\n\n**syso** - tool for embedding various type of resources in go Windows executable\n\nTable of contents:\n\n- [Features](#Features)\n- [Installation](#Installation)\n- [Usage](#Usage)\n- [License](#License)\n\n## Features\n\n| Feature                             | [rsrc] | [goversioninfo] | syso(this project) |\n| :---------------------------------- | :----: | :-------------: | :----------------: |\n| Embedding icons                     |   ✔    |        ✔        |         ✔          |\n| Embedding manifest                  |   ✔    |        ✔        |         ✔          |\n| Configuration through a file        |        |        ✔        |         ✔          |\n| Embedding version info              |        |        ✔        |         ✔          |\n| Embedding multilingual version info |        |                 |         ✔          |\n| Fixed resource identifier           |        |                 |         ✔          |\n\n### Why _fixed_ resource identifier matters?\n\nBecause you can easily load your resource in runtime.\nOther tools do not guarantee your resource to have same id across builds.\n\n## Installation\n\n```\n$ go get -u github.com/hallazzang/syso/...\n```\n\n## Usage\n\nWrite a configuration file in JSON, which tells syso what resources you want to embed.\nHere's an example:\n\n```json\n{\n  \"Icons\": [\n    {\n      \"ID\": 1,\n      \"Path\": \"icon.ico\"\n    }\n  ],\n  \"Manifest\": {\n    \"ID\": 2,\n    \"Path\": \"App.exe.manifest\"\n  }\n}\n```\n\nYou can specify `name` instead of `id`:\n\n```json\n...\n    {\n      \"Name\": \"MyIcon\",\n      \"Path\": \"icon.ico\"\n    }\n...\n```\n\nSave it as `syso.json` in project's directory and run the tool:\n\n```\n$ syso\n```\n\nThis will generate `out.syso` in your current directory.\nYou can now `go build` to actually include the resources in your executable.\n\n## Configuration\n\nConfiguration file is written in JSON format.\nTop-level configuration is an object that has three optional fields:\n`Icon`, `Manifest`, `VersionInfos`.\n\nHere are details about configuration object types.\n\n### Icon\n\n| Field | Type     | Description    |\n| ----- | -------- | -------------- |\n| ID    | `Number` |                |\n| Name  | `String` |                |\n| Path  | `String` | Icon file path |\n\n### Manifest\n\n| Field | Type     | Description        |\n| ----- | -------- | ------------------ |\n| ID    | `Number` |                    |\n| Name  | `String` |                    |\n| Path  | `String` | Manifest file path |\n\n### VersionInfo\n\n| Field        | Type                       | Description                                           |\n| ------------ | -------------------------- | ----------------------------------------------------- |\n| ID           | `Number`                   |                                                       |\n| Name         | `String`                   |                                                       |\n| Fixed        | `VersionInfoFixed`         | Language-independent information                      |\n| StringTables | `[]VersionInfoStringTable` | Language-specific string information                  |\n| Translations | `[]VersionInfoTranslation` | Language and charset pairs which application supports |\n\n##### VersionInfoFixed\n\n| Field          | Type     | Description                         |\n| -------------- | -------- | ----------------------------------- |\n| FileVersion    | `String` | Format: `\"Major.Minor.Patch.Build\"` |\n| ProductVersion | `String` | Format: `\"Major.Minor.Patch.Build\"` |\n\n#### VersionInfoStringTable\n\n| Field    | Type                 | Description                                 |\n| -------- | -------------------- | ------------------------------------------- |\n| Language | `String`             | (Required) String table's language, in hex  |\n| Charset  | `String`             | (Required) String table's charset, in hex   |\n| Strings  | `VersionInfoStrings` | (Required) Actual string table              |\n\n#### VersionInfoStrings\n\n| Field            | Type     | Description |\n| ---------------- | -------- | ----------- |\n| Comments         | `String` |             |\n| CompanyName      | `String` |             |\n| FileDescription  | `String` |             |\n| FileVersion      | `String` |             |\n| InternalName     | `String` |             |\n| LegalCopyright   | `String` |             |\n| LegalTradeMarks  | `String` |             |\n| OriginalFilename | `String` |             |\n| PrivateBuild     | `String` |             |\n| ProductName      | `String` |             |\n| ProductVersion   | `String` |             |\n| SpecialBuild     | `String` |             |\n\n#### VersionInfoTranslation\n\n| Field    | Type     | Description                           |\n| -------- | -------- | ------------------------------------- |\n| Language | `String` | (Required) Supported language, in hex |\n| Charset  | `String` | (Required) Supported charset, in hex  |\n\nHere's an example configuration:\n\n```json\n{\n  \"Icons\": [\n    {\n      \"ID\": 1,\n      \"Path\": \"icon.ico\"\n    },\n    {\n      \"Name\": \"Icon\",\n      \"Path\": \"icon2.ico\"\n    }\n  ],\n  \"Manifest\": {\n    \"ID\": 1,\n    \"Path\": \"App.exe.manifest\"\n  },\n  \"VersionInfos\": [\n    {\n      \"ID\": 1,\n      \"Fixed\": {\n        \"FileVersion\": \"10.0.14393.0\",\n        \"ProductVersion\": \"10.0.14393.0\"\n      },\n      \"StringTables\": [\n        {\n          \"Language\": \"0409\",\n          \"Charset\": \"04b0\",\n          \"Strings\": {\n            \"CompanyName\": \"Microsoft Corporation\",\n            \"FileDescription\": \"Windows Command Processor\",\n            \"FileVersion\": \"10.0.14393.0 (rs1_release.160715-1616)\",\n            \"InternalName\": \"cmd\",\n            \"LegalCopyright\": \"\\u00a9 Microsoft Corporation. All rights reserved.\",\n            \"OriginalFilename\": \"Cmd.Exe\",\n            \"ProductName\": \"Microsoft\\u00ae Windows\\u00ae Operating System\",\n            \"ProductVersion\": \"10.0.14393.0\"\n          }\n        }\n      ],\n      \"Translations\": [\n        {\n          \"Language\": \"0409\",\n          \"Charset\": \"04b0\"\n        }\n      ]\n    }\n  ]\n}\n```\n\nNote that keys are case-insensitive.\nYou can use both `\"companyName\"` and `\"CompanyName\"`, or even `\"companyname\"` for key.\n\n## License\n\nMIT\n\n[godoc]: https://godoc.org/github.com/hallazzang/syso?status.svg\n[goreportcard]: https://goreportcard.com/badge/github.com/hallazzang/syso\n[rsrc]: https://github.com/akavel/rsrc\n[goversioninfo]: https://github.com/josephspurrier/goversioninfo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhallazzang%2Fsyso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhallazzang%2Fsyso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhallazzang%2Fsyso/lists"}