{"id":37127737,"url":"https://github.com/gomicro/avenues","last_synced_at":"2026-01-14T14:52:27.618Z","repository":{"id":46774997,"uuid":"115910218","full_name":"gomicro/avenues","owner":"gomicro","description":"A small CORS Proxy to create a singular API of Microservices for testing locally","archived":false,"fork":false,"pushed_at":"2021-10-17T23:06:31.000Z","size":18794,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-15T04:46:21.318Z","etag":null,"topics":["cors-proxy","docker","docker-image","golang","hacktoberfest","microservices","testing-tool"],"latest_commit_sha":null,"homepage":null,"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/gomicro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-01T09:29:11.000Z","updated_at":"2021-10-17T23:03:28.000Z","dependencies_parsed_at":"2022-08-27T14:46:59.444Z","dependency_job_id":null,"html_url":"https://github.com/gomicro/avenues","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/gomicro/avenues","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomicro%2Favenues","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomicro%2Favenues/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomicro%2Favenues/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomicro%2Favenues/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gomicro","download_url":"https://codeload.github.com/gomicro/avenues/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomicro%2Favenues/sbom","scorecard":{"id":435029,"data":{"date":"2025-08-11","repo":{"name":"github.com/gomicro/avenues","commit":"95c12fd3187d3f74fae3ea703e755cc74a6f5988"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/9 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.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":"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":"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/build.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/gomicro/avenues/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/gomicro/avenues/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/gomicro/avenues/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/gomicro/avenues/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/gomicro/avenues/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/gomicro/avenues/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/gomicro/avenues/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/gomicro/avenues/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/gomicro/avenues/build.yml/master?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction 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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.4 not signed: https://api.github.com/repos/gomicro/avenues/releases/51504843","Warn: release artifact v0.1.3 not signed: https://api.github.com/repos/gomicro/avenues/releases/45800149","Warn: release artifact v0.1.2 not signed: https://api.github.com/repos/gomicro/avenues/releases/29835707","Warn: release artifact v0.1.1 not signed: https://api.github.com/repos/gomicro/avenues/releases/24613522","Warn: release artifact v0.1.4 does not have provenance: https://api.github.com/repos/gomicro/avenues/releases/51504843","Warn: release artifact v0.1.3 does not have provenance: https://api.github.com/repos/gomicro/avenues/releases/45800149","Warn: release artifact v0.1.2 does not have provenance: https://api.github.com/repos/gomicro/avenues/releases/29835707","Warn: release artifact v0.1.1 does not have provenance: https://api.github.com/repos/gomicro/avenues/releases/24613522"],"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 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":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2021-0238 / GHSA-83g2-8m93-v3w7","Warn: Project is vulnerable to: GO-2022-0288","Warn: Project is vulnerable to: GO-2022-0969 / GHSA-69cg-p879-7622","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GHSA-qppj-fm5r-hxr3","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-19T04:24:26.297Z","repository_id":46774997,"created_at":"2025-08-19T04:24:26.297Z","updated_at":"2025-08-19T04:24:26.297Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424005,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"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":["cors-proxy","docker","docker-image","golang","hacktoberfest","microservices","testing-tool"],"created_at":"2026-01-14T14:52:26.671Z","updated_at":"2026-01-14T14:52:27.603Z","avatar_url":"https://github.com/gomicro.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Avenues\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/gomicro/avenues/Build/master)](https://github.com/gomicro/avenues/actions?query=workflow%3ABuild+branch%3Amaster)\n[![Go Reportcard](https://goreportcard.com/badge/github.com/gomicro/avenues)](https://goreportcard.com/report/github.com/gomicro/avenues)\n[![GoDoc](https://godoc.org/github.com/gomicro/avenues?status.svg)](https://godoc.org/github.com/gomicro/avenues)\n[![License](https://img.shields.io/github/license/gomicro/avenues.svg)](https://github.com/gomicro/avenues/blob/master/LICENSE.md)\n[![Release](https://img.shields.io/github/release/gomicro/avenues.svg)](https://github.com/gomicro/avenues/releases/latest)\n\nAvenues is specifically for creating a singular API layer out of several dockerized Microservices.  More specifically for local testing.  It is in no way expected to take a production load.  Ideally in production you'll have a load balancer or some other service that has been significantly battle tested to demonstrate reliability. Beyond that, you typically don't have a load balancer or these other things when testing locally, and it is very nice to test your entire API holistically rather than as individual services. Avenues allows for you to provide a config for the routing, and will proxy all requests to the designated services. The benefit coming from it's simplicity and being light weight.  The container houses only the app, and as such is a very tiny docker image.\n\n# Requirements\nDocker\n\n# Usage\n\n## Configuration\nThe configuration always looks to read from a `routes.yaml` file.  It expects one segment, definition of given routes.\n\nThe endpoints are treated as the root of the endpoint, so all sub paths of the routes specified will direct to those routes as well.  i.e. `/v1/teams` will match for `/v1/teams`, `/v1/teams/{teamID}`, `/v1/teams/{teamID}/admin`, and so on.\n\n```\nroutes:\n  \"/v1/projects\":\n    type: \"static\"\n    backend: \"http://service1:4567\"\n  \"/v1/users\":\n    backend: \"http://service2:4567\"\n  \"/v1/teams\":\n    backend: \"http://service2:4567\"\n  \"/v1/posts\":\n    type: \"ordinal\"\n    backends:\n      - \"http://service3:4567\"\n      - \"http://anothermockofservice3:4567\"\n      - \"http://mockfailureservice:4567\"\nreset: \"/a/custom/path/for/reset\" # Optional\nstatus: \"/a/custom/path/for/status\" # Optional\ncert: \"cert for serving ssl\" # Optional\ncert_path: \"path to file containing cert\" # Optional\nkey: \"key for serving ssl\" # Optional\nkey_path: \"path to file containing key\" # Optional\nca: \"a custom CA to include for SSL\" # Optional\nca_path: \"path to file containing CA(.)(.)\" # Optional\n```\n\n## Running\nAvenues is intended to be used in conjunction with local Docker testing of a service.\n\n```\ndocker pull ghcr.io/gomicro/avenues\ndocker run -it -v $PWD/routes.yaml:/routes.yaml ghcr.io/gomicro/avenues\n```\n\n# Versioning\nThe app will be versioned in accordance with [Semver 2.0.0](http://semver.org).  See the [releases](https://github.com/gomicro/avenues/releases) section for the latest version.  Until version 1.0.0 the app is considered to be unstable.\n\n# License\nSee [LICENSE.md](./LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgomicro%2Favenues","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgomicro%2Favenues","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgomicro%2Favenues/lists"}