{"id":44133194,"url":"https://github.com/4nth0/golem","last_synced_at":"2026-02-08T22:36:27.740Z","repository":{"id":47450668,"uuid":"243600732","full_name":"4nth0/golem","owner":"4nth0","description":"From a single config file Golem start a mock server","archived":false,"fork":false,"pushed_at":"2025-02-06T15:56:48.000Z","size":4283,"stargazers_count":4,"open_issues_count":5,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T16:41:42.712Z","etag":null,"topics":["api","api-server","mock","qa","qatools","rest-api","testing"],"latest_commit_sha":null,"homepage":"","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/4nth0.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-27T19:36:02.000Z","updated_at":"2025-02-06T15:56:52.000Z","dependencies_parsed_at":"2025-02-06T16:34:41.642Z","dependency_job_id":"a443c742-7a53-4100-88ae-e1762508f5f3","html_url":"https://github.com/4nth0/golem","commit_stats":null,"previous_names":["anthonycapirchio/golem"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/4nth0/golem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4nth0%2Fgolem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4nth0%2Fgolem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4nth0%2Fgolem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4nth0%2Fgolem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4nth0","download_url":"https://codeload.github.com/4nth0/golem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4nth0%2Fgolem/sbom","scorecard":{"id":4383,"data":{"date":"2025-08-11","repo":{"name":"github.com/4nth0/golem","commit":"894026ac62a27593b0a47427f9bc2cc544b9e652"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Code-Review","score":2,"reason":"Found 4/19 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":"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":"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/build-test.yml:1","Warn: no topLevel permission defined: .github/workflows/goreleaser.yml:1","Warn: no topLevel permission defined: .github/workflows/lint-test.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":"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":"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":"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":"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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.2.2 not signed: https://api.github.com/repos/4nth0/golem/releases/77292735","Warn: release artifact 0.2.2 does not have provenance: https://api.github.com/repos/4nth0/golem/releases/77292735"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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/build-test.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/4nth0/golem/build-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/4nth0/golem/build-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/4nth0/golem/goreleaser.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/4nth0/golem/goreleaser.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/4nth0/golem/goreleaser.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/4nth0/golem/goreleaser.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint-test.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/4nth0/golem/lint-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint-test.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/4nth0/golem/lint-test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint-test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/4nth0/golem/lint-test.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:11: pin your Docker image by updating alpine:3.12.0 to alpine:3.12.0@sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321","Warn: containerImage not pinned by hash: goreleaser.Dockerfile:1: pin your Docker image by updating alpine:3.12.0 to alpine:3.12.0@sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   3 containerImage 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":"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":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0603 / GHSA-hp87-p4gw-j4gq"],"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":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 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-14T13:14:21.431Z","repository_id":47450668,"created_at":"2025-08-14T13:14:21.431Z","updated_at":"2025-08-14T13:14:21.431Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29248165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T21:42:34.334Z","status":"ssl_error","status_checked_at":"2026-02-08T21:41:38.468Z","response_time":57,"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","api-server","mock","qa","qatools","rest-api","testing"],"created_at":"2026-02-08T22:36:27.663Z","updated_at":"2026-02-08T22:36:27.730Z","avatar_url":"https://github.com/4nth0.png","language":"Go","readme":"## Presentation\n\nGolem is a tool that creates development servers from a config file.\nBasically, you can create a static files server, a JSON database on the fly or routes based web server\n\n\n## Getting started \n\n\u003e Golem is a draft, there no pre-compiled executables yet.\n\u003e To use it you have to build it from sources.\n\nTo start a new Golem server you have to create a config file named golem.yaml\nThis file should contain at least the following entries:\n\n* __port:__ the main port used by the server\n* __services:__ a list of one or more services mounted by Golem\n\nEach service should contain: \n\n* A name\n* A type \n* A configuration\n\nThere is an example of a server that's return a JSON object \n\n```\nport: \"7171\"\nservices: \n  - name: \"Ping Server\"\n    http_config: \n      routes:\n        \"/ping\": \n          body: '{\"message\": \"pong!\"}'\n```\n\nFrom this configuration file, Golem will start a server listening on the port `7171`\n\nYou also use parameters on the route declaration and retrieve them as template variables: \n\n```\nport: \"7171\"\nservices: \n  - name: \"Move\"\n    http_config: \n      routes:\n        \"/ping\": \n          body: '{\"message\": \"pong!\"}'\n        \"/echo/:message\":\n          handler:\n            type: \"template\"\n            template: \"${message}\"\n```\n\nAs you can see, to serve a static response we can simply use the `body` attribute.\nTo use a template as response we have to use the `handler` attribute with two childs: \n\n* __type:__ to specicy the handler type. `template` in this case\n* __template:__ contains the template value\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4nth0%2Fgolem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4nth0%2Fgolem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4nth0%2Fgolem/lists"}