{"id":13490821,"url":"https://github.com/flamego/flamego","last_synced_at":"2026-01-29T14:15:50.903Z","repository":{"id":36979743,"uuid":"363223879","full_name":"flamego/flamego","owner":"flamego","description":"A fantastic modular Go web framework with a slim core but limitless extensibility","archived":false,"fork":false,"pushed_at":"2025-06-01T15:43:48.000Z","size":281,"stargazers_count":602,"open_issues_count":11,"forks_count":40,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-07-13T10:57:24.784Z","etag":null,"topics":["dependency-injection","flamego","go","web-framework"],"latest_commit_sha":null,"homepage":"https://flamego.dev","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/flamego.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/contributing.md","funding":".github/FUNDING.yml","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},"funding":{"github":"flamego"}},"created_at":"2021-04-30T18:16:54.000Z","updated_at":"2025-07-11T05:49:57.000Z","dependencies_parsed_at":"2023-12-01T04:23:11.151Z","dependency_job_id":"2b7c315b-2394-4a7d-97d0-e782298d1a81","html_url":"https://github.com/flamego/flamego","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/flamego/flamego","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamego%2Fflamego","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamego%2Fflamego/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamego%2Fflamego/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamego%2Fflamego/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flamego","download_url":"https://codeload.github.com/flamego/flamego/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamego%2Fflamego/sbom","scorecard":{"id":402465,"data":{"date":"2025-08-11","repo":{"name":"github.com/flamego/flamego","commit":"b121382d68e801a13dc6d13e5e4f6cee0e690fe7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/go.yml:22","Info: jobLevel 'pull-requests' permission set to 'read': .github/workflows/go.yml:23","Info: topLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:24","Warn: topLevel 'security-events' permission set to 'write': .github/workflows/codeql.yml:25","Warn: no topLevel permission defined: .github/workflows/go.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":"Code-Review","score":2,"reason":"Found 3/13 approved changesets -- score normalized to 2","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":0,"reason":"1 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":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":"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/flamego/codeql.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/flamego/codeql.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/flamego/codeql.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/flamego/codeql.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/flamego/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/flamego/go.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/flamego/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/flamego/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/flamego/go.yml/main?enable=pin","Warn: goCommand not pinned by hash: .github/workflows/go.yml:61","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 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":"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":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":"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: 1 commits out of 25 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-18T20:23:10.596Z","repository_id":36979743,"created_at":"2025-08-18T20:23:10.596Z","updated_at":"2025-08-18T20:23:10.596Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28879195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"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":["dependency-injection","flamego","go","web-framework"],"created_at":"2024-07-31T19:00:51.257Z","updated_at":"2026-01-29T14:15:50.877Z","avatar_url":"https://github.com/flamego.png","language":"Go","readme":"![Flamego](https://github.com/flamego/brand-kit/raw/main/banner/banner-01.jpg#gh-light-mode-only)\n![Flamego](https://github.com/flamego/brand-kit/raw/main/banner/banner-02.jpg#gh-dark-mode-only)\n\n[![GitHub Workflow Status](https://img.shields.io/github/checks-status/flamego/flamego/main?logo=github\u0026style=for-the-badge)](https://github.com/flamego/flamego/actions?query=branch%3Amain)\n[![Codecov](https://img.shields.io/codecov/c/gh/flamego/flamego?logo=codecov\u0026style=for-the-badge)](https://app.codecov.io/gh/flamego/flamego)\n[![GoDoc](https://img.shields.io/badge/GoDoc-Reference-blue?style=for-the-badge\u0026logo=go)](https://pkg.go.dev/github.com/flamego/flamego?tab=doc)\n[![Sourcegraph](https://img.shields.io/badge/view%20on-Sourcegraph-brightgreen.svg?style=for-the-badge\u0026logo=sourcegraph)](https://sourcegraph.com/github.com/flamego/flamego)\n\nFlamego is a fantastic modular Go web framework with a slim core but limitless extensibility.\n\nIt is the successor of the [Macaron](https://github.com/go-macaron/macaron), and equips the most powerful routing syntax among all web frameworks within the Go ecosystem.\n\n## Installation\n\nThe minimum requirement of Go is **1.19**.\n\n\tgo get github.com/flamego/flamego\n\n## Getting started\n\n```go\npackage main\n\nimport \"github.com/flamego/flamego\"\n\nfunc main() {\n\tf := flamego.Classic()\n\tf.Get(\"/\", func() string {\n\t\treturn \"Hello, Flamego!\"\n\t})\n\tf.Run()\n}\n```\n\n## Features\n\n- [The most powerful routing syntax](https://flamego.dev/routing.html) among all web frameworks within the Go ecosystem.\n- [Limitless routes nesting and grouping](https://flamego.dev/routing.html#group-routes).\n- [Inject middleware at wherever you want](https://flamego.dev/core-concepts.html#middleware).\n- [Integrate with any existing Go web application non-intrusively](https://flamego.dev/faqs.html#how-do-i-integrate-into-existing-applications).\n- [Dependency injection via function signature](https://flamego.dev/core-concepts.html#service-injection) to write testable and maintainable code.\n\n## Middleware\n\n- [Logger](https://flamego.dev/core-services.html#routing-logger) - Log requests and response status code\n- [Recovery](https://flamego.dev/core-services.html#panic-recovery) - Automatic recovery from panics\n- [Static](https://flamego.dev/core-services.html#serving-static-files) - Serve static files\n- [Renderer](https://flamego.dev/core-services.html#rendering-content) - Render content\n- [template](https://flamego.dev/middleware/template.html) - Go template rendering\n- [session](https://flamego.dev/middleware/session.html) - User session management\n- [recaptcha](https://flamego.dev/middleware/recaptcha.html) - Google reCAPTCHA verification\n- [csrf](https://flamego.dev/middleware/csrf.html) - Generate and validate CSRF tokens\n- [cors](https://flamego.dev/middleware/cors.html) - Cross-Origin Resource Sharing\n- [binding](https://flamego.dev/middleware/binding.html) - Request data binding and validation\n- [gzip](https://flamego.dev/middleware/gzip.html) - Gzip compression to responses\n- [cache](https://flamego.dev/middleware/cache.html) - Cache management\n- [brotli](https://flamego.dev/middleware/brotli.html) - Brotli compression to responses\n- [auth](https://flamego.dev/middleware/auth.html) - Basic and bearer authentication\n- [i18n](https://flamego.dev/middleware/i18n.html) - Internationalization and localization\n- [captcha](https://flamego.dev/middleware/captcha.html) - Captcha service\n- [hcaptcha](https://flamego.dev/middleware/hcaptcha.html) - hCaptcha verification\n\n## Getting help\n\n- New to Flamego? Check out the [starter guide](https://flamego.dev/starter-guide.html)!\n- Have any questions? Answers may be found in our [FAQs](https://flamego.dev/faqs.html).\n- Please [file an issue](https://github.com/flamego/flamego/issues) or [start a discussion](https://github.com/flamego/flamego/discussions) if you want to reach out.\n- Follow our [Twitter](https://twitter.com/flamego_dev) to stay up to the latest news.\n- Our [brand kit](https://github.com/flamego/brand-kit) is also available on GitHub!\n\n## Users and projects\n\n- [Cardinal](https://github.com/vidar-team/Cardinal): Attack-defence CTF platform.\n- [mebeats](https://github.com/wuhan005/mebeats): Realtime heartbeat monitor service based on Mi band.\n- [ASoulDocs](https://github.com/asoul-sig/asouldocs): Ellien's documentation server.\n- [NekoBox](https://github.com/NekoWheel/NekoBox): Anonymous question box.\n- [Codenotify.run](https://github.com/codenotify/codenotify.run): Codenotify as a Service.\n- [Relay](https://github.com/bytebase/relay): A web server for forwarding events from service A to service B.\n- [bilibili-lottery](https://github.com/flamego-examples/bilibili-lottery): 一款支持对哔哩哔哩视频或动态评论进行抽奖的小程序\n- [pgrok](https://github.com/pgrok/pgrok): Poor man's ngrok.\n- [Caramelverse](https://caramelverse.com): A fashion brand.\n- [Sourcegraph Accounts](https://accounts.sourcegraph.com/): Centralized accounts system for all of the Sourcegraph-operated services\n- _Just send a PR to add yours!_\n\n## Development\n\nInstall \"go-mockgen\" and \"goimports\" to re-generate mocks:\n\n```sh\ngo install github.com/derision-test/go-mockgen/cmd/go-mockgen@latest\ngo install golang.org/x/tools/cmd/goimports@latest\n\ngo generate ./...\n```\n\n## License\n\nThis project is under the MIT License. See the [LICENSE](LICENSE) file for the full license text.\n","funding_links":["https://github.com/sponsors/flamego"],"categories":["开源类库","Go","Open source library"],"sub_categories":["Web 框架","Web Framework"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflamego%2Fflamego","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflamego%2Fflamego","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflamego%2Fflamego/lists"}