{"id":13565672,"url":"https://github.com/openfaas/templates","last_synced_at":"2026-01-27T02:05:40.223Z","repository":{"id":27200805,"uuid":"112323201","full_name":"openfaas/templates","owner":"openfaas","description":"OpenFaaS Classic templates","archived":false,"fork":false,"pushed_at":"2025-06-05T17:24:06.000Z","size":426,"stargazers_count":281,"open_issues_count":49,"forks_count":232,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-05T18:30:48.921Z","etag":null,"topics":["classic","faas","openfaas","serverless","templates","watchdog"],"latest_commit_sha":null,"homepage":"https://www.openfaas.com","language":"Dockerfile","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/openfaas.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-11-28T10:51:09.000Z","updated_at":"2025-06-05T17:24:09.000Z","dependencies_parsed_at":"2024-01-14T02:57:31.293Z","dependency_job_id":"70869284-b42e-45e0-b4b7-c5fe006a3a54","html_url":"https://github.com/openfaas/templates","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/openfaas/templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfaas%2Ftemplates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfaas%2Ftemplates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfaas%2Ftemplates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfaas%2Ftemplates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openfaas","download_url":"https://codeload.github.com/openfaas/templates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfaas%2Ftemplates/sbom","scorecard":{"id":709373,"data":{"date":"2025-08-11","repo":{"name":"github.com/openfaas/templates","commit":"f2b773404e1212f0c96cad920202e6f720e92fea"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"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":"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":"Code-Review","score":1,"reason":"Found 4/30 approved changesets -- score normalized to 1","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: no topLevel permission defined: .github/workflows/only-ci.yaml: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":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":6,"reason":"binaries present in source code","details":["Warn: binary detected: template/java11/function/gradle/wrapper/gradle-wrapper.jar:1","Warn: binary detected: template/java11/gradle/wrapper/gradle-wrapper.jar:1","Warn: binary detected: template/java17/function/gradle/wrapper/gradle-wrapper.jar:1","Warn: binary detected: template/java17/gradle/wrapper/gradle-wrapper.jar:1"],"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":"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 'master'"],"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":"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":"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/only-ci.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/openfaas/templates/only-ci.yaml/master?enable=pin","Warn: containerImage not pinned by hash: template/dockerfile/function/Dockerfile:1","Warn: containerImage not pinned by hash: template/dockerfile/function/Dockerfile:3: pin your Docker image by updating alpine:3.22.1 to alpine:3.22.1@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Warn: containerImage not pinned by hash: template/java11-vert-x/Dockerfile:1","Warn: containerImage not pinned by hash: template/java11-vert-x/Dockerfile:30","Warn: containerImage not pinned by hash: template/java11-vert-x/Dockerfile:31","Warn: containerImage not pinned by hash: template/java11/Dockerfile:1","Warn: containerImage not pinned by hash: template/java11/Dockerfile:31","Warn: containerImage not pinned by hash: template/java11/Dockerfile:33","Warn: containerImage not pinned by hash: template/java17/Dockerfile:1","Warn: containerImage not pinned by hash: template/java17/Dockerfile:32","Warn: containerImage not pinned by hash: template/java17/Dockerfile:34","Warn: containerImage not pinned by hash: template/node18/Dockerfile:1","Warn: containerImage not pinned by hash: template/node18/Dockerfile:2","Warn: containerImage not pinned by hash: template/node20/Dockerfile:1","Warn: containerImage not pinned by hash: template/node20/Dockerfile:2","Warn: containerImage not pinned by hash: template/node22/Dockerfile:1","Warn: containerImage not pinned by hash: template/node22/Dockerfile:2","Warn: containerImage not pinned by hash: template/php7/Dockerfile:4","Warn: containerImage not pinned by hash: template/php7/Dockerfile:7","Warn: containerImage not pinned by hash: template/php7/Dockerfile:10: pin your Docker image by updating php:7.4-alpine to php:7.4-alpine@sha256:0d67d81f60f4a400f1b68e3a41e910c98c5e08f49e515f6855561a0f24d37852","Warn: containerImage not pinned by hash: template/php8/Dockerfile:4","Warn: containerImage not pinned by hash: template/php8/Dockerfile:7","Warn: containerImage not pinned by hash: template/php8/Dockerfile:10: pin your Docker image by updating php:8.2-alpine to php:8.2-alpine@sha256:300d52802b49bf467060d27f402776f2595297bb6c5ebae351224adea7585845","Warn: npmCommand not pinned by hash: template/node18/Dockerfile:27","Warn: npmCommand not pinned by hash: template/node18/Dockerfile:38","Warn: npmCommand not pinned by hash: template/node20/Dockerfile:27","Warn: npmCommand not pinned by hash: template/node20/Dockerfile:38","Warn: npmCommand not pinned by hash: template/node22/Dockerfile:27","Warn: npmCommand not pinned by hash: template/node22/Dockerfile:38","Warn: downloadThenRun not pinned by hash: verify.sh:49","Warn: downloadThenRun not pinned by hash: .github/workflows/only-ci.yaml:18","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  23 containerImage dependencies pinned","Info:   0 out of   6 npmCommand dependencies pinned","Info:   0 out of   2 downloadThenRun 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 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-22T07:41:25.363Z","repository_id":27200805,"created_at":"2025-08-22T07:41:25.363Z","updated_at":"2025-08-22T07:41:25.363Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28796962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T01:07:07.743Z","status":"online","status_checked_at":"2026-01-27T02:00:07.755Z","response_time":168,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["classic","faas","openfaas","serverless","templates","watchdog"],"created_at":"2024-08-01T13:01:52.704Z","updated_at":"2026-01-27T02:05:40.208Z","avatar_url":"https://github.com/openfaas.png","language":"Dockerfile","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# OpenFaaS Classic templates\n\n[![Build Status](https://github.com/openfaas/templates/workflows/ci-only/badge.svg?branch=master)](https://github.com/openfaas/templates/actions)\n\nTo find out more about the OpenFaaS templates see the [faas-cli](https://github.com/openfaas/faas-cli).\n\n\u003e Note: The templates are completely customizable - so if you want to alter them please do fork them and use `faas template pull` to make use of your updated versions.\n\n### Classic Templates\n\nThis repository contains the Classic OpenFaaS templates, but many more are available in the Template Store.\n\nMost of the original Classic Templates are retained or backwards compatibility, but are deprecated.\n\nSee: `faas-cli template store list` to see which templates are both: recommended and official for the language you wish to use.\n\n| Name | Language | Version | Linux base | Watchdog | Link\n|:-----|:---------|:--------|:-----------|:---------|:----\n| dockerfile | Dockerfile | N/A | Alpine Linux | classic | [Dockerfile template](https://github.com/openfaas/templates/tree/master/template/dockerfile)\n| node18 | NodeJS | 18 | Alpine Linux | of-watchdog | [NodeJS template (deprecated)](https://github.com/openfaas/templates/tree/master/template/node18)\n| node20 | NodeJS | 20 | Alpine Linux | of-watchdog | [NodeJS template](https://github.com/openfaas/templates/tree/master/template/node20)\n| node22 | NodeJS | 22 | Alpine Linux | of-watchdog | [NodeJS template](https://github.com/openfaas/templates/tree/master/template/node22)\n| java11-vert-x | Java and [Vert.x](https://vertx.io/) | 11 | Debian GNU/Linux | of-watchdog | [Java LTS template](https://github.com/openfaas/templates/tree/master/template/java11-vert-x)\n| java11 | Java | 11 | Debian GNU/Linux | of-watchdog | [Deprecated Java template](https://github.com/openfaas/templates/tree/master/template/java11)\n| java17 | Java | 11 | Debian GNU/Linux | of-watchdog | [Java LTS template](https://github.com/openfaas/templates/tree/master/template/java17)\n| php7 | PHP | 7.4 | Alpine Linux | classic | [PHP 7 template](https://github.com/openfaas/templates/tree/master/template/php7)\n| php8 | PHP | 8.2 | Alpine Linux | classic | [PHP 8 template](https://github.com/openfaas/templates/tree/master/template/php8)\n\nFor more information on the templates check out the [docs](https://docs.openfaas.com/cli/templates/).\n\n### Moved Classic Templates\n\nA number of long deprecated templates have been moved out of this repository into a new repository to indicate their End Of Life (EOL) status.\n\nIn most cases, alternatives have already been provided and are listed int the Function Store, or the [Languages section of the OpenFaaS documentation](https://docs.openfaas.com/languages/overview/).\n\nMoved templates:\n\n* go\n* python3\n* python3-debian\n* python27\n* ruby\n* csharp\n* bun-express\n* node\n\n### Classic vs of-watchdog templates\n\nThe current version of OpenFaaS templates use the original `watchdog` which `forks` processes - a bit like CGI. The newer watchdog [of-watchdog](https://github.com/openfaas/of-watchdog) is more similar to fastCGI/HTTP and should be used for any benchmarking or performance testing along with one of the newer templates. Contact the project for more information.\n\n### Submit your own template to the template store\n\nThis repository is for templates supported by the project maintainers, if you'd like to submit your own template to the OpenFaaS Template Store then checkout the store:\n\n* [OpenFaaS Store](https://github.com/openfaas/store/)\n\n### Contribute to this repository\n\nSee [contributing guide](https://github.com/openfaas/templates/blob/master/CONTRIBUTING.md).\n\n### License\n\nThis project is part of the OpenFaaS project licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenfaas%2Ftemplates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenfaas%2Ftemplates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenfaas%2Ftemplates/lists"}