{"id":13463797,"url":"https://github.com/gogearbox/gearbox","last_synced_at":"2026-01-12T06:30:24.644Z","repository":{"id":37348863,"uuid":"258661876","full_name":"gogearbox/gearbox","owner":"gogearbox","description":"Gearbox :gear: is a web framework written in Go with a focus on high performance","archived":false,"fork":false,"pushed_at":"2025-10-24T07:01:12.000Z","size":441,"stargazers_count":797,"open_issues_count":1,"forks_count":54,"subscribers_count":15,"default_branch":"master","last_synced_at":"2026-01-06T05:00:35.584Z","etag":null,"topics":["api","fasthttp","framework","gearbox","go","golang","http","microservice","middleware","performance","rest","router","web"],"latest_commit_sha":null,"homepage":"https://gogearbox.com","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/gogearbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":null,"patreon":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.buymeacoffee.com/gearbox"}},"created_at":"2020-04-25T01:28:37.000Z","updated_at":"2026-01-03T18:07:30.000Z","dependencies_parsed_at":"2025-05-06T20:07:09.148Z","dependency_job_id":"73edf47a-b651-4c60-8034-99006dcaecc4","html_url":"https://github.com/gogearbox/gearbox","commit_stats":{"total_commits":75,"total_committers":11,"mean_commits":6.818181818181818,"dds":0.6533333333333333,"last_synced_commit":"a53b9b7ffff1ce9e65d91810fc69e3e4c3d8eec4"},"previous_names":["abahmed/gearbox"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/gogearbox/gearbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogearbox%2Fgearbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogearbox%2Fgearbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogearbox%2Fgearbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogearbox%2Fgearbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gogearbox","download_url":"https://codeload.github.com/gogearbox/gearbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogearbox%2Fgearbox/sbom","scorecard":{"id":159802,"data":{"date":"2025-08-11","repo":{"name":"github.com/gogearbox/gearbox","commit":"a53b9b7ffff1ce9e65d91810fc69e3e4c3d8eec4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Code-Review","score":4,"reason":"Found 5/12 approved changesets -- score normalized to 4","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/security.yml:1","Warn: no topLevel permission defined: .github/workflows/test_and_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":"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":"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/codeql-analysis.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/gogearbox/gearbox/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/gogearbox/gearbox/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/gogearbox/gearbox/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/gogearbox/gearbox/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/security.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/gogearbox/gearbox/security.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/security.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/gogearbox/gearbox/security.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test_and_build.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/gogearbox/gearbox/test_and_build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test_and_build.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/gogearbox/gearbox/test_and_build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test_and_build.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/gogearbox/gearbox/test_and_build.yml/master?enable=pin","Warn: goCommand not pinned by hash: .github/workflows/test_and_build.yml:42","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 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":"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":"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":"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":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 29 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"}}]},"last_synced_at":"2025-08-16T13:01:38.977Z","repository_id":37348863,"created_at":"2025-08-16T13:01:38.977Z","updated_at":"2025-08-16T13:01:38.977Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28280298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T03:48:11.750Z","status":"ssl_error","status_checked_at":"2026-01-11T03:48:02.765Z","response_time":60,"last_error":"SSL_read: 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":["api","fasthttp","framework","gearbox","go","golang","http","microservice","middleware","performance","rest","router","web"],"created_at":"2024-07-31T14:00:28.690Z","updated_at":"2026-01-12T06:30:24.612Z","avatar_url":"https://github.com/gogearbox.png","language":"Go","funding_links":["https://www.buymeacoffee.com/gearbox"],"categories":["Projects","Go","Utility","Web Frameworks"],"sub_categories":["Web Frameworks","Fail injection"],"readme":"\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://gogearbox.com\"\u003e\n    \t\u003cimg src=\"https://raw.githubusercontent.com/gogearbox/gearbox/master/assets/gearbox-512.png\"/\u003e\n\t\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://godoc.org/github.com/gogearbox/gearbox\"\u003e\n      \u003cimg src=\"https://godoc.org/github.com/gogearbox/gearbox?status.png\" /\u003e\n    \u003c/a\u003e\n    \u003cimg src=\"https://github.com/gogearbox/gearbox/workflows/Test%20\u0026%20Build/badge.svg?branch=master\" /\u003e\n    \u003ca href=\"https://codecov.io/gh/gogearbox/gearbox\"\u003e\n      \u003cimg src=\"https://codecov.io/gh/gogearbox/gearbox/branch/master/graph/badge.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://goreportcard.com/report/github.com/gogearbox/gearbox\"\u003e\n      \u003cimg src=\"https://goreportcard.com/badge/github.com/gogearbox/gearbox\" /\u003e\n    \u003c/a\u003e\n\t\u003ca href=\"https://discord.com/invite/CT8my4R\"\u003e\n      \u003cimg src=\"https://img.shields.io/discord/716724372642988064?label=Discord\u0026logo=discord\"\u003e\n  \t\u003c/a\u003e\n    \u003ca href=\"https://deepsource.io/gh/gogearbox/gearbox/?ref=repository-badge\" target=\"_blank\"\u003e\n      \u003cimg alt=\"DeepSource\" title=\"DeepSource\" src=\"https://static.deepsource.io/deepsource-badge-light-mini.svg\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\n**gearbox** :gear: is a web framework for building micro services written in Go with a focus on high performance. It's built on [fasthttp](https://github.com/valyala/fasthttp) which is **up to 10x faster** than net/http\n\n\n### gearbox seeks to be\n+ Secure :closed_lock_with_key:\n+ Fast :rocket:\n+ Easy to use :eyeglasses:\n+ Lightweight\n\n\n### Supported Go versions \u0026 installation\n\n:gear: gearbox requires version `1.14` or higher of Go ([Download Go](https://golang.org/dl/))\n\nJust use [go get](https://golang.org/cmd/go/#hdr-Add_dependencies_to_current_module_and_install_them) to download and install gearbox\n\n```bash\ngo get -u github.com/gogearbox/gearbox\n```\n\n### Examples\n\n```go\npackage main\n\nimport (\n\t\"github.com/gogearbox/gearbox\"\n)\n\nfunc main() {\n\t// Setup gearbox\n\tgb := gearbox.New()\n\n\t// Define your handlers\n\tgb.Get(\"/hello\", func(ctx gearbox.Context) {\n\t\tctx.SendString(\"Hello World!\")\n\t})\n\n\t// Start service\n\tgb.Start(\":3000\")\n}\n```\n\n#### Parameters\n```go\npackage main\n\nimport (\n\t\"github.com/gogearbox/gearbox\"\n)\n\nfunc main() {\n\t// Setup gearbox\n\tgb := gearbox.New()\n\n\t// Handler with parameter\n\tgb.Get(\"/users/:user\", func(ctx gearbox.Context) {\n\t\tctx.SendString(ctx.Param(\"user\"))\n\t})\n\n\t// Start service\n\tgb.Start(\":3000\")\n}\n```\n\n#### Middlewares\n```go\npackage main\n\nimport (\n\t\"log\"\n\n\t\"github.com/gogearbox/gearbox\"\n)\n\nfunc main() {\n\t// Setup gearbox\n\tgb := gearbox.New()\n\n\t// create a logger middleware\n\tlogMiddleware := func(ctx gearbox.Context) {\n\t\tlog.Printf(\"log message!\")\n\n\t\t// Next is what allows the request to continue to the next\n\t\t// middleware/handler\n\t\tctx.Next()\n\t}\n\n\t// create an unauthorized middleware\n\tunAuthorizedMiddleware := func(ctx gearbox.Context) {\n\t\tctx.Status(gearbox.StatusUnauthorized)\n\t\t\t.SendString(\"You are unauthorized to access this page!\")\n\t}\n\n\t// Register the log middleware for all requests\n\tgb.Use(logMiddleware)\n\n\t// Define your handlers\n\tgb.Get(\"/hello\", func(ctx gearbox.Context) {\n\t\tctx.SendString(\"Hello World!\")\n\t})\n\n\t// Register the routes to be used when grouping routes\n\troutes := []*gearbox.Route{\n\t\tgb.Get(\"/id\", func(ctx gearbox.Context) {\n\t\t\tctx.SendString(\"User X\")\n\t\t}),\n\t\tgb.Delete(\"/id\", func(ctx gearbox.Context) {\n\t\t\tctx.SendString(\"Deleted\")\n\t\t}),\n\t}\n\n\t// Group account routes\n\taccountRoutes := gb.Group(\"/account\", routes)\n\n\t// Group account routes to be under api\n\tgb.Group(\"/api\", accountRoutes)\n\n\t// Define a route with unAuthorizedMiddleware as the middleware\n\t// you can define as many middlewares as you want and have\n\t// the handler as the last argument\n\tgb.Get(\"/protected\", unAuthorizedMiddleware, func(ctx gearbox.Context) {\n\t\tctx.SendString(\"You accessed a protected page\")\n\t})\n\n\t// Start service\n\tgb.Start(\":3000\")\n}\n```\n\n#### Static Files\n\n```go\npackage main\n\nimport (\n\t\"github.com/gogearbox/gearbox\"\n)\n\nfunc main() {\n\t// Setup gearbox\n\tgb := gearbox.New()\n\n\t// Serve files in assets directory for prefix static\n\t// for example /static/gearbox.png, etc.\n\tgb.Static(\"/static\", \"./assets\")\n\n\t// Start service\n\tgb.Start(\":3000\")\n}\n```\n\n### Benchmarks\n\n- **CPU** 3.1 GHz Intel Xeon® Platinum 8175M (24 physical cores, 48 logical cores)\n- **MEMORY** 192GB\n- **GO** go 1.14.6 linux/amd64\n- **OS** Linux\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/gogearbox/gearbox/master/assets/benchmark-pipeline.png\" width=\"85%\"/\u003e\n\u003c/p\u003e\n\nFor more results, check [Our Docs](https://gogearbox.com/docs/benchmarks)\n\n### Contribute \u0026 Support\n+ Add a [GitHub Star](https://github.com/gogearbox/gearbox/stargazers)\n+ [Suggest new features, ideas and optimizations](https://github.com/gogearbox/gearbox/issues)\n+ [Report issues](https://github.com/gogearbox/gearbox/issues)\n+ Donating a [cup of coffee](https://buymeacoff.ee/gearbox)\n\n\nCheck [Our Docs](https://gogearbox.com/docs) for more information about **gearbox** and how to **contribute**\n\n### Sponsors\nOrganizations that are helping to manage, promote, and support **Gearbox** :gear: \n\n| [\u003cimg src=\"https://raw.githubusercontent.com/gogearbox/gearbox/master/assets/trella-sponsor.png\"/\u003e](https://www.trella.app) \t|\n|:-:\t|\n| [trella](https://www.trella.app): *A B2B technology platform and trucking \u003cbr/\u003emarketplace that connects shippers with carriers* |\n\n\n### Who uses Gearbox\n**Gearbox** :gear: is being used by multiple organizations including but not limited to \n\n[\u003cimg src=\"https://raw.githubusercontent.com/gogearbox/gearbox/master/assets/erply-user.png\"/\u003e](https://erply.com)\t\n[\u003cimg src=\"https://raw.githubusercontent.com/gogearbox/gearbox/master/assets/trella-sponsor.png\"/\u003e](https://www.trella.app)\n\n\n### Contributors\n\n\u003ca href=\"https://github.com/gogearbox/gearbox/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contributors-img.firebaseapp.com/image?repo=gogearbox/gearbox\" /\u003e\n\u003c/a\u003e\n\n### Get in touch!\n\nFeel free to chat with us on [Discord](https://discord.com/invite/CT8my4R), or email us at [gearbox@googlegroups.com](gearbox@googlegroups.com)  if you have questions, or suggestions\n\n### License\n\ngearbox is licensed under [MIT License](LICENSE)\n\nLogo is created by [Mahmoud Sayed](https://www.facebook.com/mahmoudsayedae) and distributed under [Creative Commons License](https://creativecommons.org/licenses/by-sa/4.0/)\n\n#### Third-party library licenses\n- [FastHTTP](https://github.com/valyala/fasthttp/blob/master/LICENSE)\n- [json-iterator](https://github.com/json-iterator/go/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgogearbox%2Fgearbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgogearbox%2Fgearbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgogearbox%2Fgearbox/lists"}