{"id":13638542,"url":"https://github.com/octohelm/cuemod","last_synced_at":"2026-02-15T16:44:59.817Z","repository":{"id":37074264,"uuid":"345564300","full_name":"octohelm/cuemod","owner":"octohelm","description":"experimental cuelang mod tool","archived":false,"fork":false,"pushed_at":"2024-03-01T02:56:56.000Z","size":1155,"stargazers_count":33,"open_issues_count":6,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T20:16:34.247Z","etag":null,"topics":["cue","tanka"],"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/octohelm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-08T07:16:22.000Z","updated_at":"2024-01-15T07:44:13.000Z","dependencies_parsed_at":"2024-01-09T07:26:36.024Z","dependency_job_id":"9e795e7a-c658-4043-8000-1d6350329b88","html_url":"https://github.com/octohelm/cuemod","commit_stats":null,"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"purl":"pkg:github/octohelm/cuemod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octohelm%2Fcuemod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octohelm%2Fcuemod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octohelm%2Fcuemod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octohelm%2Fcuemod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octohelm","download_url":"https://codeload.github.com/octohelm/cuemod/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octohelm%2Fcuemod/sbom","scorecard":{"id":702193,"data":{"date":"2025-08-11","repo":{"name":"github.com/octohelm/cuemod","commit":"66d8c72c4691efa978dfa6e5452f0497bb2b7060"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"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":"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/octohelm/cuemod/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/octohelm/cuemod/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/octohelm/cuemod/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/octohelm/cuemod/ci.yml/main?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/ci.yml:18","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned"],"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":"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2.0.0 not signed: https://api.github.com/repos/octohelm/cuemod/releases/144304535","Warn: release artifact v0.9.4 not signed: https://api.github.com/repos/octohelm/cuemod/releases/144304543","Warn: release artifact latest not signed: https://api.github.com/repos/octohelm/cuemod/releases/144304574","Warn: release artifact v0.9.3 not signed: https://api.github.com/repos/octohelm/cuemod/releases/136280324","Warn: release artifact v0.9.2 not signed: https://api.github.com/repos/octohelm/cuemod/releases/136276873","Warn: release artifact v2.0.0 does not have provenance: https://api.github.com/repos/octohelm/cuemod/releases/144304535","Warn: release artifact v0.9.4 does not have provenance: https://api.github.com/repos/octohelm/cuemod/releases/144304543","Warn: release artifact latest does not have provenance: https://api.github.com/repos/octohelm/cuemod/releases/144304574","Warn: release artifact v0.9.3 does not have provenance: https://api.github.com/repos/octohelm/cuemod/releases/136280324","Warn: release artifact v0.9.2 does not have provenance: https://api.github.com/repos/octohelm/cuemod/releases/136276873"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"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-22T05:26:04.156Z","repository_id":37074264,"created_at":"2025-08-22T05:26:04.156Z","updated_at":"2025-08-22T05:26:04.156Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29484663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T15:33:17.885Z","status":"ssl_error","status_checked_at":"2026-02-15T15:32:53.698Z","response_time":118,"last_error":"SSL_read: 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":["cue","tanka"],"created_at":"2024-08-02T01:00:48.140Z","updated_at":"2026-02-15T16:44:59.802Z","avatar_url":"https://github.com/octohelm.png","language":"Go","funding_links":[],"categories":["Projects"],"sub_categories":[],"readme":"# CUE Mod\n\n[![GoDoc Widget](https://godoc.org/github.com/octohelm/cuemod?status.svg)](https://pkg.go.dev/github.com/octohelm/cuemod)\n[![Go Report Card](https://goreportcard.com/badge/github.com/octohelm/cuemod)](https://goreportcard.com/report/github.com/octohelm/cuemod)\n\n**ALPHA VERSION**\n\n**May deprecated when [cue modules official supported](https://github.com/cue-lang/cue/issues/851)**\n\ndependency management for [CUE](https://cuelang.org/) without committing `cue.mod`\n\n## Requirements\n\n* `git` or other vcs tool supported by go for vcs downloading.\n\n## Install\n\n```shell\ngo install github.com/octohelm/cuemod/cmd/cuem@latest\n```\n\n## Usage\n\n### Quick Start\n\n```bash \nmkdir -p ./demo \u0026\u0026 cd ./demo\n\ncat \u003c\u003c EOT \u003e kube.cue\npackage kube\n\nimport (\n   apps_v1 \"k8s.io/api/apps/v1\"\n)\n\ndeployment: [string]: apps_v1.#Deployment\n\n_labels: { \"app\": \"nginx\" }\n\ndeployment: nginx: spec: selector: matchLabels: _labels\ndeployment: nginx: spec: template: metadata: labels: _labels\ndeployment: nginx: spec: template: spec: {\n\tcontainers: [{\n\t\tname: \"nginx\"\n\t\timage: \"nginx:1.11.10-alpine\"\n\t}]\n}\nEOT\n \ncuem eval -o kube.yaml ./kube.cue\n# build, will automately install deps if not exists or generator if needed.\n\ncuem eval -o ./kube.single-file.cue ./kube.cue\n# will bundle to one single cue file\n```\n\n### Dependency management\n\n```bash\n# auto added deps\ncuem get ./...\n\n# upgrade deps\ncuem get -u ./...\n\n# install dep with special version\ncuem get github.com/grafana/jsonnet-libs@latest\n```\n\n## Features\n\n* Dependency management based on go modules\n    * all dependency codes will download under `$(go env GOMODCACHE)`\n    * `GOPROXY` supported to speed up downloading\n* Extract to cue pkg from other language or schema spec.\n    * `golang` supported\n    * k8s `crd` json supported\n\n## Spec `cue.mod/module.cue`\n\n```cue\n// module name\n// for sub mod import, \u003cmodule\u003e/path/to/sub\n// NOTICE: the module name should be a valid repo name\nmodule: \"github.com/octohelm/cuemod\"\n\nrequire: {\n\t\"dagger.io\":          \"v0.2.8-0.20220512005159-64cb4f755695\" \n\t\"k8s.io/api\":         \"v0.24.0\" \n\t\"universe.dagger.io\": \"v0.2.8-0.20220512005159-64cb4f755695\"\n}\n\nrequire: {\n\t\"k8s.io/apimachinery\": \"v0.24.0\" @indirect() \n}\n\nreplace: {\n\t// replace module with spec version\n\t\"dagger.io\":          \"github.com/morlay/dagger/pkg/dagger.io@#release-main\"\n\t\"universe.dagger.io\": \"github.com/morlay/dagger/pkg/universe.dagger.io@#release-main\"\n\t\n\t // **notice** only works for current mod\n    \"github.com/x/a\": \"../a\"\n}\n\nreplace: {\n\t\"k8s.io/api\": \"\" @import(\"go\")\n\t\"k8s.io/apimachinery\": \"\" @import(\"go\")\n}\n\n```\n\n### Known issues\n\n#### pkg name may not same as path\n\nSome path like `github.com/istio/istio/manifests/charts/istio-operator`, the `istio-operator` is not a valid identifier\nin `cue-lang`. Should import with `github.com/istio/istio/manifests/charts/istio-operator:istio_operator`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctohelm%2Fcuemod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctohelm%2Fcuemod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctohelm%2Fcuemod/lists"}