{"id":26664396,"url":"https://github.com/bracketing/bracket","last_synced_at":"2026-04-27T21:32:16.780Z","repository":{"id":57416236,"uuid":"320303333","full_name":"bracketing/bracket","owner":"bracketing","description":"⚒ Bracket is an Elegant static site generator (in preview)","archived":false,"fork":false,"pushed_at":"2020-12-30T12:28:03.000Z","size":118,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-04T02:44:37.112Z","etag":null,"topics":["bracket","flask","jinja2","python","static-site-generator"],"latest_commit_sha":null,"homepage":"https://bracket.ink","language":"Python","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/bracketing.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}},"created_at":"2020-12-10T14:52:25.000Z","updated_at":"2023-08-12T09:55:33.000Z","dependencies_parsed_at":"2022-08-23T16:51:23.649Z","dependency_job_id":null,"html_url":"https://github.com/bracketing/bracket","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bracketing/bracket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bracketing%2Fbracket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bracketing%2Fbracket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bracketing%2Fbracket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bracketing%2Fbracket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bracketing","download_url":"https://codeload.github.com/bracketing/bracket/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bracketing%2Fbracket/sbom","scorecard":{"id":250118,"data":{"date":"2025-08-11","repo":{"name":"github.com/bracketing/bracket","commit":"a4f8927a2ba4bc06e29bbba1b0ae2249d33fb0c4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.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":0,"reason":"Found 0/30 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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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/main.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/bracketing/bracket/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/bracketing/bracket/main.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:21","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:22","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand 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":"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":"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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"}}]},"last_synced_at":"2025-08-17T08:16:32.776Z","repository_id":57416236,"created_at":"2025-08-17T08:16:32.777Z","updated_at":"2025-08-17T08:16:32.777Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32356598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"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":["bracket","flask","jinja2","python","static-site-generator"],"created_at":"2025-03-25T16:28:07.256Z","updated_at":"2026-04-27T21:32:16.766Z","avatar_url":"https://github.com/bracketing.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bracket\n\n**Bracket** is an Elegant static site generator. It encapsulates **[Jinja2](https://github.com/pallets/jinja)**. Its biggest highlight is to render the static pages in the form of **view function**, and support real-time **debugging**. It can also support **CSS framework**, **international routing** and more functions through ecological extension.\n\n\u003e *The project is being updated continuously, and the official version has not been completed yet*\n\n\n## Installing\n\nInstall and update using [pip](pypi.org):\n\n``` bash\n$ pip install bracket\n```\n\n## A Simple Example\n\n``` python\nfrom bracket import WebSite\nfrom jinja2 import Template\n\napp = WebSite(__name__)\n\n@app.pages(\"/\")\ndef helloworld(context):\n    return context({\n    \"title\":\"Welcome to Bracket\",\n    \"content\":Template('''\n        \u003ch1\u003e{{ messages }}\u003c/h1\u003e\n        \u003cimg src=\"{{ bracket.res('/logo.png')}}\"\u003e\n    '''),\n    \"resources\":{\n        \"messages\":\"Welcome to Bracket\"\n    }\n})\n\napp.dispatch(\"/\")\n```\n``` html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"zh-CN\"\u003e\n\u003chead\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n    \u003cmeta name=\"generator\" content=\"Bracket \u0026 Jinja2 \"\u003e\n    \n    \u003ctitle\u003eWelcome to Bracket\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n    \u003cdiv id=\"bracketapp\"\u003e\n    \n        \u003ch1\u003eWelcome to Bracket\u003c/h1\u003e\n        \u003cimg src=\"/static/logo.png\"\u003e\n        \n    \u003c/div\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Contributing\n\nHow to contribute to this project, report problems, and build a development environment, please refer to the [contribution guide]()\n\n## Links\n\n* Website: https://bracket.ink\n* Documentation: https://github.com/bracketing/bracket/blob/main/docs/get.md\n* Releases: https://pypi.org/project/bracket/\n* Code: https://github.com/bracketing/bracket\n* Issue tracker: https://github.com/bracketing/bracket/issues\n\n## License\n\nThe project is open source under MIT license in [GitHub Community](https://github.com). No one is allowed to infringe the copyright. Please follow `LICENSE`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbracketing%2Fbracket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbracketing%2Fbracket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbracketing%2Fbracket/lists"}