{"id":13514075,"url":"https://github.com/open2b/scriggo","last_synced_at":"2026-01-14T20:03:41.210Z","repository":{"id":38357611,"uuid":"170464043","full_name":"open2b/scriggo","owner":"open2b","description":"The world’s most powerful template engine and Go embeddable interpreter","archived":false,"fork":false,"pushed_at":"2025-12-01T14:42:12.000Z","size":7980,"stargazers_count":557,"open_issues_count":97,"forks_count":21,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-12-03T19:59:58.573Z","etag":null,"topics":["cross-platform","embedded","go","interpreter","language","template","vm"],"latest_commit_sha":null,"homepage":"https://scriggo.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/open2b.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-13T07:47:27.000Z","updated_at":"2025-12-03T12:45:31.000Z","dependencies_parsed_at":"2024-06-18T13:57:09.713Z","dependency_job_id":"d98fefc5-afe5-4418-87c8-a11661944b1f","html_url":"https://github.com/open2b/scriggo","commit_stats":null,"previous_names":[],"tags_count":73,"template":false,"template_full_name":null,"purl":"pkg:github/open2b/scriggo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open2b%2Fscriggo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open2b%2Fscriggo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open2b%2Fscriggo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open2b%2Fscriggo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open2b","download_url":"https://codeload.github.com/open2b/scriggo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open2b%2Fscriggo/sbom","scorecard":{"id":708644,"data":{"date":"2025-08-11","repo":{"name":"github.com/open2b/scriggo","commit":"2ca03c0d85c62f7012ccdf59e2715601fd21be80"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: topLevel 'contents' permission set to 'write': .github/workflows/goreleaser.yml:10","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":"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":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: SECURITY.md:1"],"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":"Maintained","score":0,"reason":"0 commit(s) and 1 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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" 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":"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/goreleaser.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/open2b/scriggo/goreleaser.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/open2b/scriggo/goreleaser.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/open2b/scriggo/goreleaser.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 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":"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/goreleaser.yml:13"],"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.60.0 not signed: https://api.github.com/repos/open2b/scriggo/releases/200659032","Warn: release artifact v0.59.1 not signed: https://api.github.com/repos/open2b/scriggo/releases/196971684","Warn: release artifact v0.59.0 not signed: https://api.github.com/repos/open2b/scriggo/releases/192007488","Warn: release artifact v0.58.1 not signed: https://api.github.com/repos/open2b/scriggo/releases/190968215","Warn: release artifact v0.58.0 not signed: https://api.github.com/repos/open2b/scriggo/releases/188964065","Warn: release artifact v0.60.0 does not have provenance: https://api.github.com/repos/open2b/scriggo/releases/200659032","Warn: release artifact v0.59.1 does not have provenance: https://api.github.com/repos/open2b/scriggo/releases/196971684","Warn: release artifact v0.59.0 does not have provenance: https://api.github.com/repos/open2b/scriggo/releases/192007488","Warn: release artifact v0.58.1 does not have provenance: https://api.github.com/repos/open2b/scriggo/releases/190968215","Warn: release artifact v0.58.0 does not have provenance: https://api.github.com/repos/open2b/scriggo/releases/188964065"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 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-22T07:29:45.928Z","repository_id":38357611,"created_at":"2025-08-22T07:29:45.929Z","updated_at":"2025-08-22T07:29:45.929Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"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":["cross-platform","embedded","go","interpreter","language","template","vm"],"created_at":"2024-08-01T05:00:45.478Z","updated_at":"2026-01-14T20:03:41.192Z","avatar_url":"https://github.com/open2b.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"\u003cimg src=\"https://scriggo-site.pages.dev/images/scriggo-padded.svg\" alt=\"Scriggo\" title=\"Scriggo\" width=\"535px\" style=\"max-width: 100%\"\u003e\n\n\nThe world’s most powerful template engine and [Go](https://go.dev/) embeddable interpreter.\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/open2b/scriggo/.svg)](https://pkg.go.dev/github.com/open2b/scriggo/)\n[![Go Report Card](https://goreportcard.com/badge/github.com/open2b/scriggo)](https://goreportcard.com/report/github.com/open2b/scriggo)\n\n[Website](https://scriggo.com/) | [Get Started](https://scriggo.com/get-started) | [Documentation](https://scriggo.com/what-is-scriggo) | [Community](https://github.com/open2b/scriggo/discussions) | [Contributing](https://github.com/open2b/scriggo/blob/main/CONTRIBUTING.md)\n\n## Features\n\n* Fast, a very fast embeddable pure Go language interpreter.\n* Modern and powerful template engine with Go as scripting language.\n* Native support for Markdown in templates.\n* Secure by default. No access to packages unless explicitly enabled.\n* Easy to embed and to interop with any Go application.\n\n## Get Started with Programs\n\nExecute a Go program embedded in your application:\n\n```go\npackage main\n\nimport \"github.com/open2b/scriggo\"\n\nfunc main() {\n\n    // src is the source code of the program to run.\n    src := []byte(`\n        package main\n\n        func main() {\n            println(\"Hello, World!\")\n        }\n    `)\n\n    // Create a file system with the file of the program to run.\n    fsys := scriggo.Files{\"main.go\": src}\n\n    // Build the program.\n    program, err := scriggo.Build(fsys, nil)\n    if err != nil {\n        panic(err)\n    }\n \n    // Run the program.\n    err = program.Run(nil)\n    if err != nil {\n        panic(err)\n    }\n\n}\n```\n\n## Get Started with Templates\n\nScriggo, in templates, supports inheritance, macros, partials, imports and contextual autoescaping but most of all it\nuses the Go language as the template scripting language.\n\n```\n{% extends \"layout.html\" %}\n{% import \"banners.html\" %}\n{% macro Body %}\n    \u003cul\u003e\n      {% for product in products %}\n      \u003cli\u003e\u003ca href=\"{{ product.URL }}\"\u003e{{ product.Name }}\u003c/a\u003e\u003c/li\u003e\n      {% end %}\n    \u003c/ul\u003e\n    {{ render \"pagination.html\" }}\n    {{ Banner() }}\n{% end %}\n```\n\nScriggo template files can be written in plain text, HTML, Markdown, CSS, JavaScript and JSON.\n\n### Execute a Scriggo template in your application\n\n```go\n// Build and run a Scriggo template.\npackage main\n\nimport (\n\t\"os\"\n\n\t\"github.com/open2b/scriggo\"\n\t\"github.com/open2b/scriggo/builtin\"\n\t\"github.com/open2b/scriggo/native\"\n)\n\nfunc main() {\n\n    // Content of the template file to run.\n    content := []byte(`\n    \u003c!DOCTYPE html\u003e\n    \u003chtml\u003e\n    \u003chead\u003eHello\u003c/head\u003e \n    \u003cbody\u003e\n        Hello, {{ capitalize(who) }}!\n    \u003c/body\u003e\n    \u003c/html\u003e\n    `)\n\n    // Create a file system with the file of the template to run.\n    fsys := scriggo.Files{\"index.html\": content}\n\n    // Declare some globals.\n    var who = \"world\"\n    opts := \u0026scriggo.BuildOptions{\n        Globals: native.Declarations{\n            \"who\":        \u0026who,               // global variable\n            \"capitalize\": builtin.Capitalize, // global function\n        },\n    }\n\n    // Build the template.\n    template, err := scriggo.BuildTemplate(fsys, \"index.html\", opts)\n    if err != nil {\n        panic(err)\n    }\n \n    // Run the template and print it to the standard output.\n    err = template.Run(os.Stdout, nil, nil)\n    if err != nil {\n        panic(err)\n    }\n\n}\n```\n\nFor a complete get started guide see the [Scriggo site](https://scriggo.com/).\n\n## Contributing\n\nWant to help contribute to Scriggo? See [CONTRIBUTING.md](CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen2b%2Fscriggo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen2b%2Fscriggo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen2b%2Fscriggo/lists"}