{"id":18123132,"url":"https://github.com/chqilin/beninja","last_synced_at":"2026-05-07T11:32:44.004Z","repository":{"id":143855291,"uuid":"356798517","full_name":"chqilin/beninja","owner":"chqilin","description":"a small build tools for C/C++.","archived":false,"fork":false,"pushed_at":"2021-09-07T13:52:24.000Z","size":641,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T22:41:43.846Z","etag":null,"topics":["build-tool","cmake","cplusplus","cpp","makefile","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/chqilin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-11T07:29:58.000Z","updated_at":"2021-09-07T13:52:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"2843b8c3-7fa1-48ea-99df-08d130235a38","html_url":"https://github.com/chqilin/beninja","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"ad397310081fe43eb7f3af469436333a2698355c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chqilin/beninja","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chqilin%2Fbeninja","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chqilin%2Fbeninja/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chqilin%2Fbeninja/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chqilin%2Fbeninja/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chqilin","download_url":"https://codeload.github.com/chqilin/beninja/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chqilin%2Fbeninja/sbom","scorecard":{"id":278946,"data":{"date":"2025-08-11","repo":{"name":"github.com/chqilin/beninja","commit":"ad397310081fe43eb7f3af469436333a2698355c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/25 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":"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":"Binary-Artifacts","score":7,"reason":"binaries present in source code","details":["Warn: binary detected: ninja/bin/Darwin/ninja:1","Warn: binary detected: ninja/bin/Linux/ninja:1","Warn: binary detected: ninja/bin/Windows_NT/ninja.exe:1"],"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":"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":"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":"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":"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 '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"}}]},"last_synced_at":"2025-08-17T15:14:06.929Z","repository_id":143855291,"created_at":"2025-08-17T15:14:06.930Z","updated_at":"2025-08-17T15:14:06.930Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32735136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"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":["build-tool","cmake","cplusplus","cpp","makefile","nodejs"],"created_at":"2024-11-01T07:08:15.809Z","updated_at":"2026-05-07T11:32:43.985Z","avatar_url":"https://github.com/chqilin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# beninja\n\na small C/C++ meta-build-tool for ninja.\n\n## Install\n* install nodejs from https://nodejs.org\n* execute command in system Terminal\n```shell\nnpm install -g beninja\n```\n\n* On Windows system, you need do the steps below:\n1. Install clang: https://github.com/llvm/llvm-project/releases/tag/llvmorg-12.0.1 .\n2. Open PowerShell and execute command below:\n```shell\nset-ExecutionPolicy -Scope CurrentUser RemoteSigned\n```\n\n## build.json\nBeninja need a build config file (build.json default). So we must\ncreate this json file manually. the file content just like:\n```\n{\n    \"project\": \"eokas\",\n    \"version\": \"0.0.1\",\n    \"buildDir\": \"_build\",\n    \"installDir\": \"_install\",\n\n    \"vars\": {\n        \"depsDir\": \"./deps/\",\n        \"cflags\": \"-O3 -std=c++17\"\n    },\n\n    \"targets\": [{\n        \"name\": \"eokas\",\n        \"type\": \"executable\",\n    \n        \"cflags\": [\"${cflags}\"],\n\n        \"lflags\": [],\n\n        \"defines\": [\n            \"_WINDOW_WIDTH=800\",\n            \"_WINDOW_HEIGHT=600\",\n            \"_WINDOW_TITLE=\\\"my-demo\\\"\"\n        ],\n\n        \"includes\": [\n            \"-I${depsDir}\"\n        ],\n\n        \"libraries\": [\n            \"-L${depsDir}\",\n            \"-larchaism\"\n        ],\n\n        \"runtimes\": [\n            \"@executable_path\"\n        ],\n\n        \"sources\": [\n            \"./src/*.cpp\"\n        ],\n\n        \"copies\": [\n            \"./src/*.h\"\n        ]\n    }]\n}\n```\n\n## Usage\n* use beninja with one command.\n```\nbeninja start\n```\n\n* use beninja step by step.\n```\n// list all vars\nbeninja vars\n\n// build.json -\u003e build.ninja\nbeninja build\n\n// build targets by build.ninja\nbeninja make\n\n// install targets and headers.\nbeninja install\n\n// clean build files\nbeninja clean\n```\n\n## LICENSE\n\nISC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchqilin%2Fbeninja","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchqilin%2Fbeninja","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchqilin%2Fbeninja/lists"}