{"id":26220673,"url":"https://github.com/mprot/mprotc","last_synced_at":"2025-09-02T11:40:42.560Z","repository":{"id":57610092,"uuid":"104840310","full_name":"mprot/mprotc","owner":"mprot","description":"An mprot compiler to translate schema definitions into source code.","archived":false,"fork":false,"pushed_at":"2024-01-23T10:23:11.000Z","size":111,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T15:18:39.714Z","etag":null,"topics":["compiler","messagepack","mprot","msgpack"],"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/mprot.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":"2017-09-26T05:35:30.000Z","updated_at":"2024-01-05T22:54:58.000Z","dependencies_parsed_at":"2024-01-23T06:25:44.594Z","dependency_job_id":"cb4450c9-2ef3-42fc-b66a-25536ed1914b","html_url":"https://github.com/mprot/mprotc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mprot/mprotc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mprot%2Fmprotc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mprot%2Fmprotc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mprot%2Fmprotc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mprot%2Fmprotc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mprot","download_url":"https://codeload.github.com/mprot/mprotc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mprot%2Fmprotc/sbom","scorecard":{"id":663159,"data":{"date":"2025-08-11","repo":{"name":"github.com/mprot/mprotc","commit":"5efbb4d6860f7ab4e2ec78ee4a7a81a8d1a6284b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/29 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":"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":"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":"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":"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":"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"}},{"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"}}]},"last_synced_at":"2025-08-21T16:52:38.365Z","repository_id":57610092,"created_at":"2025-08-21T16:52:38.365Z","updated_at":"2025-08-21T16:52:38.365Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273279515,"owners_count":25077317,"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":["compiler","messagepack","mprot","msgpack"],"created_at":"2025-03-12T15:18:41.920Z","updated_at":"2025-09-02T11:40:42.537Z","avatar_url":"https://github.com/mprot.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mprotc\n`mprotc` is a compiler for [mprot](https://github.com/mprot/mprot) to translate schema definitions into source code.\n\n## Usage\n\n```\nSynopsis:\n  mprotc \u003clanguage\u003e [options] [schema-file ...]\n  mprotc help \u003clanguage\u003e\n\nDescription:\n  The mprotc tool compiles schema definition files into source code of the specified programming language.\n\n  The following options are available:\n    --root \u003cpath\u003e\n        Specify the root path for the schema files. The given schema files are interpreted relative to this\n        directory. The default is the current directory.\n    --out \u003cpath\u003e\n        Specify the output path for the generated code. The default is the current directory.\n    --deprecated\n        Include the deprecated fields in the generated code.\n    --dryrun\n        Print the names of generated files only instead of writing the files.\n```\n\n## Supported Languages\n* [Golang](internal/gen/golang/README.md):\n```\nmprotc go [options] [schema-file ...]\n\nAdditional Options:\n  --import-root\n      Import root path for all schema imports. The default is the path specified by the output directory.\n  --scoped-enums\n      Scope the enumerators of the generated enums, i.e. prefix the enumerator names with the enum name.\n      The default is false.\n  --unwrap-union\n      Unwrap the union types of the generated struct fields, i.e. use an empty interface as the field type.\n      The default is false.\n```\n* [JavaScript/TypeScript](internal/gen/js/README.md):\n```\nmprotc js [options] [schema-file ...]\n\nAdditional Options:\n  --typedecls\n      Generate type declarations in a separate .d.ts file. This flag should be used to generate TypeScript\n      instead of JavaScript. The default is false.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmprot%2Fmprotc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmprot%2Fmprotc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmprot%2Fmprotc/lists"}