{"id":15017936,"url":"https://github.com/ankorstore/yokai","last_synced_at":"2026-02-24T12:17:17.934Z","repository":{"id":216468259,"uuid":"741410509","full_name":"ankorstore/yokai","owner":"ankorstore","description":"Simple, modular, and observable Go framework for backend applications.","archived":false,"fork":false,"pushed_at":"2026-01-22T17:04:24.000Z","size":6433,"stargazers_count":818,"open_issues_count":7,"forks_count":26,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-01-23T10:23:22.988Z","etag":null,"topics":["backend","dependency-injection","framework","go","golang","grpc-server","http-server","kubernetes","mcp","mcp-server","metrics","modular","observability","open-telemetry","prometheus","worker-pool","yokai"],"latest_commit_sha":null,"homepage":"https://ankorstore.github.io/yokai","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/ankorstore.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-10T10:39:53.000Z","updated_at":"2026-01-22T17:04:29.000Z","dependencies_parsed_at":"2024-04-05T08:30:52.813Z","dependency_job_id":"6cec1d36-7019-4b58-8c1e-df27167a28a9","html_url":"https://github.com/ankorstore/yokai","commit_stats":{"total_commits":270,"total_committers":6,"mean_commits":45.0,"dds":0.3555555555555555,"last_synced_commit":"f42bf6783948a731bc0fc1c317b413d982f4b36b"},"previous_names":["ankorstore/yokai"],"tags_count":127,"template":false,"template_full_name":null,"purl":"pkg:github/ankorstore/yokai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankorstore%2Fyokai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankorstore%2Fyokai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankorstore%2Fyokai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankorstore%2Fyokai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankorstore","download_url":"https://codeload.github.com/ankorstore/yokai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankorstore%2Fyokai/sbom","scorecard":{"id":197317,"data":{"date":"2025-08-11","repo":{"name":"github.com/ankorstore/yokai","commit":"9e24793aa331428832417d29063e27b9855a55d2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/21 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":"Maintained","score":5,"reason":"7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/common-ci.yml:16","Warn: no topLevel permission defined: .github/workflows/config-ci.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/coverage.yml:15","Warn: no topLevel permission defined: .github/workflows/docs.yml:1","Warn: no topLevel permission defined: .github/workflows/fxclock-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxconfig-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxcore-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxcron-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxgenerate-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxgrpcserver-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxhealthcheck-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxhttpclient-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxhttpserver-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxlog-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxmcpserver-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxmetrics-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxorm-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxsql-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxtrace-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxvalidator-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/fxworker-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/generate-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/grpcserver-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/healthcheck-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/httpclient-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/httpserver-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/log-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/orm-ci.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release.yml:9","Warn: no topLevel permission defined: .github/workflows/sql-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/trace-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/worker-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":"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":"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/common-ci.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/ankorstore/yokai/common-ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/common-ci.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/ankorstore/yokai/common-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/common-ci.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/ankorstore/yokai/common-ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/common-ci.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/ankorstore/yokai/common-ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/common-ci.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/ankorstore/yokai/common-ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/coverage.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/ankorstore/yokai/coverage.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/coverage.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/ankorstore/yokai/coverage.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/coverage.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/ankorstore/yokai/coverage.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/ankorstore/yokai/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/ankorstore/yokai/docs.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/ankorstore/yokai/release.yml/main?enable=pin","Warn: containerImage not pinned by hash: docs/Dockerfile:1: pin your Docker image by updating squidfunk/mkdocs-material to squidfunk/mkdocs-material@sha256:bb7b015690d9fb5ef0dbc98ca3520f153aa43129fb96aec5ca54c9154dc3b729","Warn: pipCommand not pinned by hash: docs/Dockerfile:3","Warn: pipCommand not pinned by hash: .github/workflows/docs.yml:16","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned","Info:   1 out of   1 goCommand 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","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-3553 / GHSA-mh63-6h87-95cp","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2024-2567 / GHSA-fqpg-rq76-99pq","Warn: Project is vulnerable to: GO-2024-2606 / GHSA-mrww-27vc-gghv"],"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-16T22:04:02.748Z","repository_id":216468259,"created_at":"2025-08-16T22:04:02.748Z","updated_at":"2025-08-16T22:04:02.748Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29781991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T10:45:18.109Z","status":"ssl_error","status_checked_at":"2026-02-24T10:45:09.911Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["backend","dependency-injection","framework","go","golang","grpc-server","http-server","kubernetes","mcp","mcp-server","metrics","modular","observability","open-telemetry","prometheus","worker-pool","yokai"],"created_at":"2024-09-24T19:51:13.345Z","updated_at":"2026-02-24T12:17:17.903Z","avatar_url":"https://github.com/ankorstore.png","language":"Go","funding_links":[],"categories":["Go","📚 Projects (1974 total)","Web Frameworks","MCP Frameworks and libraries","Web框架"],"sub_categories":["MCP Servers","Utility/Miscellaneous","Go","实用程序/Miscellaneous"],"readme":"# Yokai\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Go version](https://img.shields.io/badge/Go-≥1.20-blue)](https://go.dev/)\n[![codecov](https://codecov.io/gh/ankorstore/yokai/graph/badge.svg?token=ghUBlFsjhR)](https://codecov.io/gh/ankorstore/yokai)\n[![Documentation](https://img.shields.io/badge/Doc-online-cyan)](https://ankorstore.github.io/yokai/)\n[![Awesome Go](https://awesome.re/mentioned-badge-flat.svg)](https://github.com/avelino/awesome-go)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/assets/images/yokai-bck.png\" width=\"300\" /\u003e\n\u003c/p\u003e\n\n\u003e Simple, modular, and observable Go framework for backend applications.\n\n\u003c!-- TOC --\u003e\n* [Goals](#goals)\n* [Documentation](#documentation)\n* [Overview](#overview)\n  * [Architecture](#architecture)\n  * [Foundations](#foundations)\n  * [Extensions](#extensions)\n* [Getting started](#getting-started)\n* [Showroom](#showroom)\n* [Contributing](#contributing)\n\u003c!-- TOC --\u003e\n\n## Goals\n\nBuilding backend applications with [Go](https://go.dev/) is amazing.\n\nBut to build `production-grade` applications, you need to put in place a bunch of efforts and boilerplate code, introducing complexity not even related to the logic of your application (like dependencies wiring, configuration management, observability instrumentation, etc.).\n\nTo solve this, Yokai was created with the following goals in mind:\n\n- `Simple`: it is easy to use, configure and test, enabling you to iterate fast and deliver quickly maintainable applications.\n- `Modular`: it can be extended with the available Yokai modules, or with your own, to build evolvable applications.\n- `Observable`: it comes with built-in logging, tracing and metrics instrumentation, to build reliable applications.\n\nIn other words, Yokai lets you focus on your application logic, while taking care of the rest.\n\n## Documentation\n\nYokai's `documentation` is available at [https://ankorstore.github.io/yokai](https://ankorstore.github.io/yokai).\n\n## Overview\n\n### Architecture\n\n![Architecture](docs/assets/images/architecture.jpg)\n\n- Yokai `core modules` preloads logging, tracing, metrics and health check instrumentation, and expose a private HTTP server for infrastructure and debugging needs.\n- Yokai `extensions modules` can be added to enrich your application features, like public HTTP / gRPC servers, workers, ORM, etc. You can also add the [contrib modules](https://github.com/ankorstore/yokai-contrib) or your own.\n- Those are made available in Yokai `dependency injection system`, on which you can rely to build your application logic.\n\n### Foundations\n\nYokai was built using `robust` and `well known` Go libraries, such as:\n\n- [Echo](https://github.com/labstack/echo) for HTTP servers\n- [gRPC-go](https://github.com/grpc/grpc-go) for gRPC servers\n- [Viper](https://github.com/spf13/viper) for configuration management\n- [OTEL](https://github.com/open-telemetry/opentelemetry-go) for observability instrumentation\n- [Fx](https://github.com/uber-go/fx) for dependency injection system\n- and more.\n\n\n### Extensions\n\nYokai's `extension system` enables you to `enrich` your application features with:\n\n- the Yokai `built-in` modules\n- the Yokai [contrib modules](https://github.com/ankorstore/yokai-contrib)\n- your own modules\n\n## Getting started\n\nYokai provides ready to use `application templates` to start your projects:\n\n- for [gRPC applications](https://ankorstore.github.io/yokai/getting-started/grpc-application)\n- for [HTTP applications](https://ankorstore.github.io/yokai/getting-started/http-application)\n- for [worker applications](https://ankorstore.github.io/yokai/getting-started/worker-application)\n\n## Showroom\n\nYokai provides a [showroom repository](https://github.com/ankorstore/yokai-showroom) with `demo applications`, ready to run, to see it in action:\n\n- [gRPC demo application](https://github.com/ankorstore/yokai-showroom/tree/main/grpc-demo)\n- [HTTP demo application](https://github.com/ankorstore/yokai-showroom/tree/main/http-demo)\n- [worker demo application](https://github.com/ankorstore/yokai-showroom/tree/main/worker-demo)\n\n## Contributing\n\nThis repository uses [release-please](https://github.com/googleapis/release-please) to automate Yokai's modules release process.\n\n\u003e [!IMPORTANT]\n\u003e You must provide [atomic](https://en.wikipedia.org/wiki/Atomic_commit#Revision_control) and [conventional](https://www.conventionalcommits.org/en/v1.0.0/) commits, as the release process relies on them to determine the version to release and to generate the release notes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankorstore%2Fyokai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankorstore%2Fyokai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankorstore%2Fyokai/lists"}