{"id":20110629,"url":"https://github.com/deepch/go-darknet","last_synced_at":"2026-05-12T10:31:33.251Z","repository":{"id":104209675,"uuid":"367491707","full_name":"deepch/go-darknet","owner":"deepch","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-15T08:50:21.000Z","size":11,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-02T18:35:16.846Z","etag":null,"topics":[],"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/deepch.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-05-14T22:20:07.000Z","updated_at":"2021-08-04T02:49:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"16870368-00d0-4a80-b253-deb46a426c92","html_url":"https://github.com/deepch/go-darknet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deepch/go-darknet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fgo-darknet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fgo-darknet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fgo-darknet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fgo-darknet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepch","download_url":"https://codeload.github.com/deepch/go-darknet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepch%2Fgo-darknet/sbom","scorecard":{"id":331951,"data":{"date":"2025-08-11","repo":{"name":"github.com/deepch/go-darknet","commit":"9e8c98f2744e27ac09606fa7eacd254207174048"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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/1 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":"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":"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":"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":"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":"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":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":"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-18T03:50:22.707Z","repository_id":104209675,"created_at":"2025-08-18T03:50:22.707Z","updated_at":"2025-08-18T03:50:22.707Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32934450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"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":[],"created_at":"2024-11-13T18:12:49.215Z","updated_at":"2026-05-12T10:31:33.224Z","avatar_url":"https://github.com/deepch.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-darknet: Go bindings for Darknet\n\n[![GoDoc](https://godoc.org/github.com/gyonluks/go-darknet?status.svg)](https://godoc.org/github.com/gyonluks/go-darknet)\n\ngo-darknet is a Go package, which uses Cgo to enable Go applications to use\nYOLO in [Darknet].\n\n## License\n\ngo-darknet follows [Darknet]'s [license].\n\n## Requirements\n\nIn order to use go-darknet, `libdarknet.so` should be available in one of\nthe following locations:\n\n* /usr/lib\n* /usr/local/lib\n\nThe shared library `libdarknet.so` can be obtained after invoking `make` on\n[Darknet]'s codebase.\n\nAlso, [darknet.h] should be available in one of the following locations:\n\n* /usr/include\n* /usr/local/include\n\nThe include file [darknet.h] can be obtained from the `include` directory in\n[Darknet]'s codebase. However, some modifications will have to be made.\n\n### Modifying darknet.h for install\n\nMake a copy of [include/darknet.h] and put in the same directory as\n`libdarknet.so`.\n\nIn Darknet's [Makefile], at the top, there are macros which look like the\nfollowing:\n\n```\nGPU=0\nCUDNN=0\nOPENCV=0\nOPENMP=0\nDEBUG=0\n```\n\nIf any of the above has the value `1`, they will need to be defined in\n[darknet.h].\n\nDo not define the ones with value `0` in [darknet.h]!\n\nFor example, if `GPU=1` and `CUDNN=1`, they will need to be defined in\n[darknet.h] as follows:\n\n```C\n#ifndef DARKNET_API\n#define DARKNET_API\n#include \u003cstdlib.h\u003e\n#include \u003cstdio.h\u003e\n#include \u003cstring.h\u003e\n#include \u003cpthread.h\u003e\n\n#define GPU 1\n#define CUDNN 1\n\n#define SECRET_NUM -1234\nextern int gpu_index;\n\n// The rest of darknet.h's code...\n```\n\nNote the lines `#include GPU 1` and `#include CUDNN 1`. They are added just\nafter the C standard library's `#include` directives.\n\nIt is important to replicate the activated macros (macros with value `1`)\nat the top of the [Makefile], with the corresponding `#define` directives\nin [darknet.h].\n\nAfter the changes are made to the copy of [darknet.h], copy it to one of the\nlocations mentioned above.\n\n## Install\n\n```shell\ngo get github.com/gyonluks/go-darknet\n```\n\nThe package name is `darknet`.\n\n## Use\n\nExample Go code/program is provided in the [example] directory. Please\nrefer to the code on how to use this Go package.\n\nBuilding and running the example program is easy:\n\n```shell\ngo install github.com/gyonluks/go-darknet/example\n\n# The executable `example` will be available in your $GOPATH/bin\n$GOPATH/bin/example\n```\n\n## Documentation\n\nSee go-darknet's API documentation at [GoDoc].\n\n\n\n[Darknet]: https://github.com/pjreddie/darknet\n[license]: https://github.com/pjreddie/darknet/blob/master/LICENSE\n[darknet.h]: https://github.com/pjreddie/darknet/blob/master/include/darknet.h\n[include/darknet.h]: https://github.com/pjreddie/darknet/blob/master/include/darknet.h\n[Makefile]: https://github.com/pjreddie/darknet/blob/master/Makefile\n[example]: /example\n[GoDoc]: https://godoc.org/github.com/gyonluks/go-darknet\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepch%2Fgo-darknet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepch%2Fgo-darknet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepch%2Fgo-darknet/lists"}