{"id":18732391,"url":"https://github.com/nanozuki/akko","last_synced_at":"2026-05-16T12:31:26.877Z","repository":{"id":49189649,"uuid":"294887148","full_name":"nanozuki/akko","owner":"nanozuki","description":"Generate go web APIs and swagger/OpenAPI documents.","archived":false,"fork":false,"pushed_at":"2024-02-26T10:59:24.000Z","size":71,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T15:29:59.322Z","etag":null,"topics":["codegen","go","openapi","swagger","webapi","webframework"],"latest_commit_sha":null,"homepage":"","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/nanozuki.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":"2020-09-12T06:43:30.000Z","updated_at":"2021-06-24T10:46:08.000Z","dependencies_parsed_at":"2024-02-26T11:55:30.754Z","dependency_job_id":"69012a32-7057-4f87-828e-1087947025c6","html_url":"https://github.com/nanozuki/akko","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"d267702c0639ded3e6cb7526e89a2b54673d03c4"},"previous_names":["nanozuki/ononoki"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nanozuki/akko","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanozuki%2Fakko","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanozuki%2Fakko/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanozuki%2Fakko/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanozuki%2Fakko/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nanozuki","download_url":"https://codeload.github.com/nanozuki/akko/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanozuki%2Fakko/sbom","scorecard":{"id":674136,"data":{"date":"2025-08-11","repo":{"name":"github.com/nanozuki/akko","commit":"aac1e8c82fc506587584adf1a27cfc1db851d619"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/10 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":"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":-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":"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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 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":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-21T21:00:52.949Z","repository_id":49189649,"created_at":"2025-08-21T21:00:52.949Z","updated_at":"2025-08-21T21:00:52.949Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33102742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"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":["codegen","go","openapi","swagger","webapi","webframework"],"created_at":"2024-11-07T15:05:56.506Z","updated_at":"2026-05-16T12:31:26.841Z","avatar_url":"https://github.com/nanozuki.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Akko\n\nAn annotation and code generation based web framework\n\n## Usage guide\n\n### First CRUD Example\n\n1. Just Write your actual logic function\n\n   ```go\n   type Book struct {\n       ID       int64    `json:\"id\"`\n       Name     string   `json:\"name\"`\n       AuthorID int64    `json:\"author_id\"`\n       ISBN     string   `json:\"ISBN\"`\n       Tags     []string `json:\"tags\"`\n   }\n\n   type BookPatch struct {\n       Name   string\n       Author int64\n       ISBN   string\n       NewTag string\n   }\n\n   type BookFilter struct {\n       Tag   string `json:\"tag\"`\n       Limit int    `json:\"limit`\n   }\n\n   func (a *Applicaton) GetBookByID(ctx context.Context, id int64) (*Book, error)\n   func (a *Applicaton) ListBooks(ctx context.Context, filter *BookFilter) ([]*Book, error)\n   func (a *Applicaton) CreateBook(ctx context.Context, book *Book) (*Book, error)\n   func (a *Applicaton) UpdateBook(ctx context.Context, id int64, patch *BookPatch) (*Book, error)\n   func (a *Applicaton) DeleteBook(ctx context.Context, id int64) error\n   ```\n\n1. add annotations to logic function\n\n   ```go\n   // GetBookByID find a book by bookID, if book not exist, return NotFound error\n   // [GET=/books/:id]\n   func (a *Applicaton) GetBookByID(ctx context.Context, id int64) (*Book, error)\n   // ListBooks get a list of books through filter, default limit is 10\n   // [GET=/books query-\u003efilter]\n   func (a *Applicaton) ListBooks(ctx context.Context, filter *BookFilter) ([]*Book, error)\n   // Or you can define function like this\n   // [GET=/books query-\u003etag,limit]\n   func (a *Applicaton) ListBooks(ctx context.Context, tag string, limit int) ([]*Book, error)\n   // [POST=/books body.json-\u003ebook]\n   func (a *Applicaton) CreateBook(ctx context.Context, book *Book) (*Book, error)\n   // [PUT=/books/:id body.json-\u003epatch, return.1.json-\u003ebody]\n   func (a *Applicaton) UpdateBook(ctx context.Context, id int64, patch *BookPatch) (*Book, error)\n   // [DELETE=/books/:id]\n   func (a *Applicaton) DeleteBook(ctx context.Context, id int64) error\n   ```\n\n1. response\n\n   Akko will try to find these three method for response and error:\n\n   ```go\n   func (r Response) Status() int\n   func (r Response) Body()   io.Reader\n   func (r Response) Header() http.Header\n   ```\n\n   At default, will treat non-err response to json with 200 status code, and convert error to error string with 500.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanozuki%2Fakko","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnanozuki%2Fakko","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanozuki%2Fakko/lists"}